mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
add test for precompiled
This commit is contained in:
parent
88d1d4e0a2
commit
d47dcd8cd8
@ -45,7 +45,10 @@
|
|||||||
#define PK_DEBUG_NO_MEMORY_POOL 0
|
#define PK_DEBUG_NO_MEMORY_POOL 0
|
||||||
#define PK_DEBUG_NO_AUTO_GC 0
|
#define PK_DEBUG_NO_AUTO_GC 0
|
||||||
#define PK_DEBUG_GC_STATS 0
|
#define PK_DEBUG_GC_STATS 0
|
||||||
|
|
||||||
|
#ifndef PK_DEBUG_PRECOMPILED_EXEC
|
||||||
#define PK_DEBUG_PRECOMPILED_EXEC 0
|
#define PK_DEBUG_PRECOMPILED_EXEC 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/*************** internal settings ***************/
|
/*************** internal settings ***************/
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
python prebuild.py
|
python prebuild.py
|
||||||
SRC=$(find src/ -name "*.cpp")
|
SRC=$(find src/ -name "*.cpp")
|
||||||
clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -frtti -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -DPK_ENABLE_OS=1
|
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
|
||||||
|
|
||||||
python scripts/run_tests.py
|
python scripts/run_tests.py
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user