Add ECL build script for debug config
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 8 Sep 2015 06:55:21 +0000 (02:55 -0400)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 8 Sep 2015 06:55:21 +0000 (02:55 -0400)
ecl-gc-bug/build.sh [new file with mode: 0755]

diff --git a/ecl-gc-bug/build.sh b/ecl-gc-bug/build.sh
new file mode 100755 (executable)
index 0000000..22b5472
--- /dev/null
@@ -0,0 +1,16 @@
+# AMD64
+export CFLAGS="-O2 -g"
+export LDFLAGS='-g'
+
+# i686
+#export CFLAGS="-march=i686 -O2 -g
+#export LDFLAGS='-g'
+
+make distclean >/tmp/ecl-clean.txt 2>&1
+
+./configure --prefix=/usr/local/gitlab-ecl --enable-unicode --enable-threads --with-__thread=no --enable-rpath --with-system-gmp --with-gmp-prefix=/usr/pkg --enable-boehm=included --with-dffi=system >/tmp/ecl-config.txt 2>&1
+
+# Note: parallel build seems broken with ECL, don't use -j for now
+nice make >/tmp/ecl-build.txt 2>&1
+
+alert