PiDP-8/I Software

Check-in [fc2a0c1c8f]
Log In

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Simplified the logic in tools/mmake for detecting whether GNU make is called as "gmake" or as just "make".
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fc2a0c1c8f586a0f52255f587674f1fceb3be1f486e6c5e13253d2c545f98034
User & Date: tangent 2019-07-21 10:13:56.021
Context
2019-08-14
23:43
Create new branch named "pi4-gpio-hack" check-in: 9a444fb597 user: tangent tags: pi4-gpio-hack
2019-08-03
23:31
Calling bcm_host_get_peripheral_address() in libbcm_host.so from libraspberrypi-dev instead of the hard-coded version we had before, which was apparently copied from old versions of the Pi developer docs. Now following the current advice: https://www.raspberrypi.org/documentation/hardware/raspberrypi/peripheral_addresses.md Doing this in the hopes that it fixes the compatibility problem with the Pi 4, but if it doesn't, this is probably the correct thing anyway. Tested with a Pi 3B+, so checking it in straight on trunk. check-in: 55cfea5027 user: tangent tags: trunk
2019-07-21
10:13
Simplified the logic in tools/mmake for detecting whether GNU make is called as "gmake" or as just "make". check-in: fc2a0c1c8f user: tangent tags: trunk
2019-05-22
11:03
Removed an obsolete FIXME comment check-in: 0d1ada3484 user: tangent tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to tools/mmake.
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
########################################################################
# mmake - Runs make -jN where N is 1.5x the number of CPU cores
#
# Copyright © 2017-2018 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,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to




|







1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
########################################################################
# mmake - Runs make -jN where N is 1.5x the number of CPU cores
#
# 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,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
if which gmake > /dev/null ; then MAKE=gmake ; fi

BDIR="$(dirname "$0")"
if [ -z $BDIR ] ; then BDIR="$(dirname "$(which "$0")")" ; fi

$MAKE -j$(($("$BDIR"/corecount) * 15 / 10)) "$@"







|





26
27
28
29
30
31
32
33
34
35
36
37
38
# 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 make 2> /dev/null | head -1)

BDIR="$(dirname "$0")"
if [ -z $BDIR ] ; then BDIR="$(dirname "$(which "$0")")" ; fi

$MAKE -j$(($("$BDIR"/corecount) * 15 / 10)) "$@"