mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
11 lines
260 B
Bash
11 lines
260 B
Bash
python prebuild.py
|
|
|
|
SRC_C=$(find src/ -name "*.c")
|
|
SRC_CPP=$(find src/ -name "*.cpp")
|
|
SRC="$SRC_C $SRC_CPP"
|
|
|
|
g++ -pg -Og -std=c++17 -frtti -Wfatal-errors -o main $SRC src2/main.cpp -Iinclude
|
|
./main benchmarks/fib.py
|
|
gprof main gmon.out > gprof.txt
|
|
rm gmon.out
|