Manifold to run the swift executable.
[swift-upb.git] / mfold / build.default.sh
index 33e6319..647633c 100644 (file)
@@ -45,4 +45,12 @@ echo building
 CPPPATH=~/include LIBPATH=~/lib scons -j4 || exit 7
 echo testing
 tests/connecttest || exit 8
+
+# TODO: one method
+if [ ! -e bin ]; then mkdir bin; fi
+g++ -I. *.cpp compat/*.cpp ext/seq_picker.cpp -pg -o bin/swift-pg &
+g++ -I. *.cpp compat/*.cpp ext/seq_picker.cpp -g -o bin/swift-dbg &
+g++ -I. *.cpp compat/*.cpp ext/seq_picker.cpp -O3 -o bin/swift-o3 &
+wait
+
 echo done