mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-11-04 02:30:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			222 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			222 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 -ldl -DNDEBUG -flto
 | 
						|
./main benchmarks/fib.py
 | 
						|
gprof main gmon.out > gprof.txt
 | 
						|
rm gmon.out
 |