|
@@ -1,10 +1,10 @@
|
|
|
|
|
+set -e
|
|
|
|
|
+
|
|
|
python prebuild.py
|
|
python prebuild.py
|
|
|
|
|
|
|
|
-SRC_C=$(find src/ -name "*.c")
|
|
|
|
|
-SRC_CPP=$(find src/ -name "*.cpp")
|
|
|
|
|
-SRC="$SRC_C $SRC_CPP"
|
|
|
|
|
|
|
+SRC=$(find src/ -name "*.c")
|
|
|
|
|
|
|
|
-clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -frtti -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1 -DPK_DEBUG_PRECOMPILED_EXEC=1 -DPK_ENABLE_PROFILER=1
|
|
|
|
|
|
|
+clang -std=c11 --coverage -O1 -Wfatal-errors -o main src2/main.c $SRC -Iinclude -DPK_ENABLE_OS=1 -DPK_DEBUG_PRECOMPILED_EXEC=1 -DPK_ENABLE_PROFILER=1
|
|
|
|
|
|
|
|
python scripts/run_tests.py
|
|
python scripts/run_tests.py
|
|
|
|
|
|