Skip to content

Commit 469b9e9

Browse files
Merge pull request #725 from LinqLover/linux64x64/squeak.sista.spur
Add build files for linux64x64/squeak.sista.spur
2 parents 03bce24 + 767386b commit 469b9e9

File tree

7 files changed

+175
-0
lines changed

7 files changed

+175
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
platforms/unix/config/autom4te.cache/
2727

2828
# Don't track build directory contents (with exceptions)
29+
# NB: This logic is flawed (but compact). When adding new building scripts, commit them via `git add -f` or change the .gitignore temporarily.
2930
/building/**/**/*
3031
# except do track these files
3132
!/building/**/common*/*

building/linux64x64/squeak.sista.spur/NotYetImplemented

Whitespace-only changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
# assert Sista Spur VM with VM profiler and threaded heartbeat
4+
INSTALLDIR=assert/sqsisspur64linuxht
5+
OPT="-g3 -O1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DDEBUGVM=0"
6+
7+
# Prefer clang over gcc, but use gcc if clang isn't available...
8+
CC=gcc
9+
if [ -x /usr/bin/clang ]; then CC=clang; fi
10+
11+
if [ $# -ge 1 ]; then
12+
INSTALLDIR="$1"; shift
13+
fi
14+
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
15+
echo -n "clean? "
16+
read a
17+
case $a in
18+
n|no|N|NO) echo "ok but this isn't safe!!";;
19+
*) test -f Makefile && make reallyclean
20+
esac
21+
../../../../scripts/copylinuxpluginspecfiles
22+
test -f config.h || ../../../../platforms/unix/config/configure \
23+
--with-vmversion=5.0 \
24+
--with-src=src/spur64.sista \
25+
--with-scriptname=spur64 \
26+
TARGET_ARCH="-m64" \
27+
CC=$CC \
28+
CFLAGS="$OPT -msse2 -DCOGMTVM=0"
29+
rm -f vm/sqUnixMain.o # nuke version info
30+
rm -rf ../../../../products/$INSTALLDIR
31+
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
32+
# but older linux readlinks lack the -f flag
33+
make install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
# debug Sista Spur VM with VM profiler and threaded heartbeat
4+
INSTALLDIR=debug/sqsisspur64linuxht
5+
OPT="-g3 -O0 -DDEBUGVM=1"
6+
7+
# Prefer clang over gcc, but use gcc if clang isn't available...
8+
CC=gcc
9+
if [ -x /usr/bin/clang ]; then CC=clang; fi
10+
11+
if [ $# -ge 1 ]; then
12+
INSTALLDIR="$1"; shift
13+
fi
14+
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
15+
echo -n "clean? "
16+
read a
17+
case $a in
18+
n|no|N|NO) echo "ok but this isn't safe!!";;
19+
*) test -f Makefile && make reallyclean
20+
esac
21+
../../../../scripts/copylinuxpluginspecfiles
22+
test -f config.h || ../../../../platforms/unix/config/configure \
23+
--with-vmversion=5.0 \
24+
--with-src=src/spur64.sista \
25+
--with-scriptname=spur64 \
26+
TARGET_ARCH="-m64" \
27+
CC=$CC \
28+
CFLAGS="$OPT -msse2 -DCOGMTVM=0"
29+
rm -f vm/sqUnixMain.o # nuke version info
30+
rm -rf ../../../../products/$INSTALLDIR
31+
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
32+
# but older linux readlinks lack the -f flag
33+
make install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
# Sista Spur VM with VM profiler and threaded heartbeat
4+
INSTALLDIR=sqsisspur64linuxht
5+
OPT="-g -O1 -DNDEBUG -DDEBUGVM=0"
6+
7+
CFLAGS="$OPT -msse2 -DCOGMTVM=0"
8+
LIBS=""
9+
LDFLAGS=""
10+
case $(uname -s) in
11+
OpenBSD)
12+
CFLAGS="$CFLAGS -I/usr/local/include"
13+
LIBS="$LIBS -lexecinfo"
14+
LDFLAGS="$LDFLAGS -L/usr/local/lib"
15+
;;
16+
esac
17+
18+
# Prefer clang over gcc, but use gcc if clang isn't available...
19+
CC=gcc
20+
if [ -x /usr/bin/clang ]; then CC=clang; fi
21+
22+
if [ $# -ge 1 ]; then
23+
INSTALLDIR="$1"; shift
24+
fi
25+
if ../../../../scripts/checkSCCSversion ; then exit 1; fi
26+
echo -n "clean? "
27+
read a
28+
case $a in
29+
n|no|N|NO) echo "ok but this isn't safe!!";;
30+
*) test -f Makefile && make reallyclean
31+
esac
32+
../../../../scripts/copylinuxpluginspecfiles
33+
test -f config.h || ../../../../platforms/unix/config/configure \
34+
--with-vmversion=5.0 \
35+
--with-src=src/spur64.sista \
36+
--with-scriptname=spur64 \
37+
TARGET_ARCH="-m64" \
38+
CC=$CC \
39+
CFLAGS="$CFLAGS" \
40+
LIBS="$LIBS" \
41+
LDFLAGS="$LDFLAGS"
42+
rm -f vm/sqUnixMain.o # nuke version info
43+
rm -rf ../../../../products/$INSTALLDIR
44+
# prefer make install prefix=`readlink -f \`pwd\`/../../../../products/$INSTALLDIR`
45+
# but older linux readlinks lack the -f flag
46+
make install-squeak install-plugins prefix=`(cd ../../../../;pwd)`/products/$INSTALLDIR 2>&1 | tee LOG ; test ${PIPESTATUS[0]} -eq 0
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copied, perhaps edited, from ../../../src/examplePlugins.ext
2+
EXTERNAL_PLUGINS = \
3+
MIDIPlugin \
4+
B3DAcceleratorPlugin \
5+
ClipboardExtendedPlugin \
6+
BochsIA32Plugin \
7+
BochsX64Plugin \
8+
GdbARMPlugin \
9+
GdbARMv8Plugin \
10+
FileAttributesPlugin \
11+
Squeak3D \
12+
SqueakFFIPrims \
13+
SqueakSSL \
14+
LocalePlugin \
15+
UnicodePlugin \
16+
UnixOSProcessPlugin \
17+
UUIDPlugin \
18+
ImmX11Plugin \
19+
XDisplayControlPlugin \
20+
DESPlugin \
21+
MD5Plugin \
22+
SHA2Plugin \
23+
VectorEnginePlugin
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copied, perhaps edited, from ../../../src/examplePlugins.int
2+
INTERNAL_PLUGINS = \
3+
ADPCMCodecPlugin \
4+
AioPlugin \
5+
AsynchFilePlugin \
6+
B2DPlugin \
7+
BitBltPlugin \
8+
BMPReadWriterPlugin \
9+
CroquetPlugin \
10+
HostWindowPlugin \
11+
ZipPlugin \
12+
DropPlugin \
13+
DSAPrims \
14+
FFTPlugin \
15+
FileCopyPlugin \
16+
FilePlugin \
17+
FileDialogPlugin \
18+
Float64ArrayPlugin \
19+
FloatArrayPlugin \
20+
FloatMathPlugin \
21+
IA32ABI \
22+
JoystickTabletPlugin \
23+
JPEGReaderPlugin \
24+
JPEGReadWriter2Plugin \
25+
Klatt \
26+
LargeIntegers \
27+
Matrix2x3Plugin \
28+
MiscPrimitivePlugin \
29+
Mpeg3Plugin \
30+
RePlugin \
31+
SecurityPlugin \
32+
SerialPlugin \
33+
SocketPlugin \
34+
SoundCodecPrims \
35+
SoundGenerationPlugin \
36+
SoundPlugin \
37+
StarSqueakPlugin \
38+
SurfacePlugin \
39+
VMProfileLinuxSupportPlugin

0 commit comments

Comments
 (0)