mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
...
This commit is contained in:
parent
e94cfaf42e
commit
c4f761d7c2
@ -1,10 +1,10 @@
|
||||
set -e
|
||||
|
||||
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")
|
||||
|
||||
g++ -pg -Og -std=c++17 -frtti -Wfatal-errors -o main $SRC src2/main.cpp -Iinclude
|
||||
gcc -pg -Og -std=c11 -Wfatal-errors -o main $SRC src2/main.c -Iinclude
|
||||
./main benchmarks/fib.py
|
||||
gprof main gmon.out > gprof.txt
|
||||
rm gmon.out
|
||||
|
@ -1,10 +1,10 @@
|
||||
set -e
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user