Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Added "bsdmake" to the list of "make" flavors checked for by tools/mmake. The PiDP-8/I build system won't build with BSD make, but these scripts may be used in other projects, and BSD make does understand the -j option. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
eec38b61e1f57d58aa9807557cd1dd0f |
User & Date: | tangent 2019-09-22 08:48:01.628 |
Context
2019-10-05
| ||
11:17 | Merged usb-floppy down to trunk check-in: 348a62931c user: tangent tags: trunk | |
2019-10-04
| ||
18:12 | Added option to allow the pidp8i screen session to be managed by tmux(1) instead of screen(1). This introduces a new optional sourcable runtime configuration script, pidp8i.rc. check-in: 3df1c859f7 user: ryan tags: pidp8i-tmux | |
16:38 | Added udev rules to allow mounting media from disks on USB floppy drives. Closed-Leaf check-in: b33153775e user: ryan tags: usb-floppy | |
2019-09-22
| ||
08:48 | Added "bsdmake" to the list of "make" flavors checked for by tools/mmake. The PiDP-8/I build system won't build with BSD make, but these scripts may be used in other projects, and BSD make does understand the -j option. check-in: eec38b61e1 user: tangent tags: trunk | |
08:46 | Quoted an argument to "test -z": if the arg is empty, it must be quoted to give an empty argument rather than just disappear in the shell processing. check-in: 8eab979d44 user: tangent tags: trunk | |
Changes
Changes to tools/mmake.
1 2 | #!/bin/bash ######################################################################## | | > | 1 2 3 4 5 6 7 8 9 10 11 | #!/bin/bash ######################################################################## # mmake - Runs make -jN where N is 1.5x the number of CPU cores. Use # with GNU or BSD make. # # Copyright © 2017-2019 Warren Young # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, |
︙ | ︙ | |||
26 27 28 29 30 31 32 | # Except as contained in this notice, the names of the authors above # shall not be used in advertising or otherwise to promote the sale, # use or other dealings in this Software without prior written # authorization from those authors. ######################################################################## MAKE=make | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 | # Except as contained in this notice, the names of the authors above # shall not be used in advertising or otherwise to promote the sale, # use or other dealings in this Software without prior written # authorization from those authors. ######################################################################## MAKE=make MAKE=$(which gmake bsdmake make 2> /dev/null | head -1) BDIR="$(dirname "$0")" if [ -z "$BDIR" ] ; then BDIR="$(dirname "$(which "$0")")" ; fi $MAKE -j$(($("$BDIR"/corecount) * 15 / 10)) "$@" |