Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/Cog' into FapSessionId
- Loading branch information
Showing
5 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
# assert Stack Spur VM with VM profiler and threaded heartbeat | ||
INSTALLDIR=assert/sqstkspur64linuxhtRPi | ||
OPT="-g3 -O1 -fwrapv -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0" | ||
|
||
if [ $# -ge 1 ]; then | ||
INSTALLDIR="$1"; shift | ||
fi | ||
echo -n "clean? " | ||
read a | ||
case $a in | ||
n|no|N|NO) echo "ok but this isn't safe!!";; | ||
*) rm -f config.h; test -f Makefile && make reallyclean | ||
esac | ||
test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) | ||
test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) | ||
test -f config.h || ../../../platforms/unix/config/configure \ | ||
--with-vmversion=5.0 \ | ||
--with-src=spurstack64src --disable-cogit \ | ||
--without-vm-display-fbdev --without-npsqueak \ | ||
TARGET_ARCH="-march=armv8-a" \ | ||
CFLAGS="$OPT -D__ARM_ARCH_8A__ -D__arm__ -D__arm64__" | ||
rm -f vm/sqUnixMain.o # nuke version info | ||
rm -rf ../../../products/$INSTALLDIR | ||
# prefer make install prefix=`readlink -f \`pwd\`/../../../products/$INSTALLDIR` | ||
# but older linux readlinks lack the -f flag | ||
make install-squeak install-plugins prefix=`(cd ../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
# debug Stack Spur VM with VM profiler and threaded heartbeat | ||
INSTALLDIR=sqstkspur64linuxhtRPi | ||
OPT="-g3 -O0 -fwrapv -DDEBUGVM=1" | ||
|
||
if [ $# -ge 1 ]; then | ||
INSTALLDIR="$1"; shift | ||
fi | ||
echo -n "clean? " | ||
read a | ||
case $a in | ||
n|no|N|NO) echo "ok but this isn't safe!!";; | ||
*) rm -f config.h; test -f Makefile && make reallyclean | ||
esac | ||
test -f plugins.int || (test -f ../plugins.int && cp -p ../plugins.int . || cp -p ../../plugins.int .) | ||
test -f plugins.ext || (test -f ../plugins.ext && cp -p ../plugins.ext . || cp -p ../../plugins.ext .) | ||
test -f config.h || ../../../platforms/unix/config/configure \ | ||
--with-vmversion=5.0 \ | ||
--with-src=spurstack64src --disable-cogit \ | ||
--without-vm-display-fbdev --without-npsqueak \ | ||
TARGET_ARCH="-march=armv8-a" \ | ||
CFLAGS="$OPT -D__ARM_ARCH_8A__ -D__arm__ -D__arm64__" | ||
rm -f vm/sqUnixMain.o # nuke version info | ||
rm -rf ../../../products/$INSTALLDIR | ||
# prefer make install prefix=`readlink -f \`pwd\`/../../../products/$INSTALLDIR` | ||
# but older linux readlinks lack the -f flag | ||
make install-squeak install-plugins prefix=`(cd ../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters