mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
11 lines
217 B
Bash
11 lines
217 B
Bash
set -e
|
|
|
|
python prebuild.py
|
|
|
|
SRC=$(find src/ -name "*.c")
|
|
|
|
gcc -pg -Og -std=c11 -Wfatal-errors -o main $SRC src2/main.c -Iinclude -lm -DNDEBUG -flto
|
|
./main benchmarks/fib.py
|
|
gprof main gmon.out > gprof.txt
|
|
rm gmon.out
|