Skip to content

Commit 8f9d2ca

Browse files
committed
Fix all the mvm scripts
1 parent 06697ff commit 8f9d2ca

File tree

98 files changed

+551
-460
lines changed
  • building
    • linux32ARMv6
      • squeak.cog.spur
      • squeak.cog.v3
      • squeak.stack.spur
      • squeak.stack.v3
      • third-party
    • linux32x86
      • squeak.cog.spur
        • build.assert.itimerheartbeat
        • build.assert
        • build.debug.itimerheartbeat
        • build.debug
        • build.itimerheartbeat
        • build
      • squeak.cog.v3
        • build.assert.itimerheartbeat
        • build.assert
        • build.debug.itimerheartbeat
        • build.debug
        • build.itimerheartbeat
        • build
      • squeak.sista.spur
        • build.assert.itimerheartbeat
        • build.assert
        • build.debug.itimerheartbeat
        • build.debug
        • build.itimerheartbeat
        • build
      • squeak.stack.spur
      • squeak.stack.v3
      • third-party
    • linux32/squeak.stack.spur/build
    • linux64ARMv8
      • squeak.cog.spur
      • squeak.cogmt.spur
      • squeak.stack.spur
      • third-party
    • linux64riscv/squeak.stack.spur
    • linux64x64
      • squeak.cog.spur
        • build.assert.itimerheartbeat
        • build.assert
        • build.debug.itimerheartbeat
        • build.debug
        • build.itimerheartbeat
        • build
      • squeak.sista.spur
      • squeak.stack.spur
      • third-party
    • linux64/squeak.stack.spur/build
    • macos32x86
      • squeak.cog.spur
      • squeak.cog.v3
      • squeak.sista.spur
      • squeak.stack.spur
      • squeak.stack.v3
    • macos64ARMv8
      • squeak.cog.spur
      • squeak.sista.spur
      • squeak.stack.spur
    • macos64x64
      • squeak.cog.spur
      • squeak.sista.spur
      • squeak.stack.spur
    • minheadless.cmake
      • x64
        • squeak.cog.spur+sdl2
        • squeak.cog.spur
      • x86
        • squeak.cog.spur+sdl2
        • squeak.cog.spur
        • squeak.stack.spur
    • sunos32x86
      • squeak.cog.spur/build
      • squeak.stack.spur/build
    • sunos64x64
      • squeak.cog.spur/build
      • squeak.stack.spur/build
    • win32x86
      • squeak.cog.spur.lowcode
      • squeak.cog.spur
      • squeak.cog.v3
      • squeak.sista.spur
      • squeak.stack.spur
      • squeak.stack.v3
    • win64ARMv8
      • squeak.cog.spur
      • squeak.sista.spur
      • squeak.stack.spur
    • win64x64
      • squeak.cog.spur
      • squeak.sista.spur
      • squeak.stack.spur

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+551
-460
lines changed

building/linux32/squeak.stack.spur/build/mvm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# Stack Spur VM with VM profiler and threaded heartbeat
45
INSTALLDIR=sqstkspurlinuxht
56

@@ -8,8 +9,8 @@ if [ $# -ge 1 ]; then
89
fi
910
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1011
echo -n "clean? "
11-
read a
12-
case $a in
12+
read -r a
13+
case "$a" in
1314
n|no|N|NO) echo "ok but this isn't safe!!";;
1415
*) rm -f config.h; test -f Makefile && make reallyclean
1516
esac
@@ -21,7 +22,7 @@ test -f config.h || ../../../../platforms/unix/config/configure \
2122
VM_WORD_SIZE="32" \
2223
VM_CFLAGS="-DNDEBUG -DDEBUGVM=0"
2324
rm -f vm/sqUnixMain.o # nuke version info
24-
rm -rf ../../../../products/$INSTALLDIR
25+
rm -rf "../../../../products/$INSTALLDIR"
2526
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2627
# but older linux readlinks lack the -f flag
27-
make install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
28+
make install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.spur/build.assert/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# assert VM with VM profiler and threaded heartbeat
45
INSTALLDIR=assert/sqcogspur32linuxhtRPi
56
OPT="-g3 -O1 -DDEBUGVM=0"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.spur/build.debug/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# debug Spur VM with VM profiler and threaded heartbeat
45
INSTALLDIR=debug/sqcogspur32linuxhtRPi
56
OPT="-g3 -O0 -DDEBUGVM=1"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.spur/build/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# Spur VM with VM profiler and threaded heartbeat
45
INSTALLDIR=sqcogspur32linuxhtRPi
56
OPT="-g -O2 -DNDEBUG -DDEBUGVM=0"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.v3/build.assert/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# assert VM with VM profiler and threaded heartbeat
45
INSTALLDIR=assert/sqcogv3linuxhtRPi
56
OPT="-g3 -O1 -DDEBUGVM=0"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.v3/build.debug/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# debug V3 VM with VM profiler and threaded heartbeat
45
INSTALLDIR=debug/sqcogv3linuxhtRPi
56
OPT="-g3 -O0 -DDEBUGVM=1"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.cog.v3/build/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# V3 VM with VM profiler and threaded heartbeat
45
INSTALLDIR=sqcogv3linuxhtRPi
56
OPT="-g -O2 -DNDEBUG -DDEBUGVM=0"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure --without-npsque
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT -DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.stack.spur/build.assert/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# assert Stack Spur VM with VM profiler and threaded heartbeat
45
INSTALLDIR=assert/sqstkspur32linuxhtRPi
56
OPT="-g3 -O1 -DDEBUGVM=0"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) rm -f config.h; test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure \
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.stack.spur/build.debug/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# debug Stack Spur VM with VM profiler and threaded heartbeat
45
INSTALLDIR=debug/sqstkspur32linuxhtRPi
56
OPT="-g3 -O0 -DDEBUGVM=1"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) rm -f config.h; test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure \
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

building/linux32ARMv6/squeak.stack.spur/build/mvm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
set -o pipefail
34
# Stack Spur VM and threaded heartbeat
45
INSTALLDIR=sqstkspur32linuxhtRPi
56
OPT="-g -O3 -DNDEBUG -DDEBUGVM=0 -DNO_VM_PROFILE=1"
@@ -10,7 +11,7 @@ fi
1011

1112
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
1213
echo -n "clean? "
13-
read a
14+
read -r a
1415
case $a in
1516
n|no|N|NO) echo "ok but this isn't safe!!";;
1617
*) rm -f config.h; test -f Makefile && make reallyclean
@@ -23,7 +24,7 @@ test -f config.h || ../../../../platforms/unix/config/configure \
2324
TARGET_ARCH="-march=armv6 -mfpu=vfp -mfloat-abi=hard" \
2425
CFLAGS="$OPT"
2526
rm -f vm/sqUnixMain.o # nuke version info
26-
rm -rf ../../../../products/$INSTALLDIR
27+
rm -rf "../../../../products/$INSTALLDIR"
2728
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
2829
# but older linux readlinks lack the -f flag and Raspbian lacks `readlinks`
29-
make -j4 install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
30+
make -j4 install-squeak install-plugins prefix="$(cd ../../../../;pwd)/products/$INSTALLDIR" 2>&1 | tee LOG

0 commit comments

Comments
 (0)