mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
11088f6b4b
generate only one -api file
28 lines
585 B
Bash
28 lines
585 B
Bash
ROOT=$PWD
|
|
|
|
cp config/pika_config_default.h config/pika_config.h
|
|
|
|
# git submodule init
|
|
# git submodule update
|
|
git config --unset-all core.filemode
|
|
git config --add core.filemode false
|
|
chmod +x *.sh
|
|
sh update-compiler.sh
|
|
chmod +x package/pikascript/rust-msc-latest-linux
|
|
cd package/pikascript/pikascript-core
|
|
# git checkout master
|
|
cd $ROOT
|
|
rm build -rf
|
|
mkdir build
|
|
sh api-make.sh
|
|
cd build
|
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DPIKA_CONFIG_ENABLE=ON ..
|
|
|
|
cd $ROOT
|
|
rm Release -rf
|
|
mkdir Release
|
|
cd Release
|
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DPIKA_CONFIG_ENABLE=ON ..
|
|
|
|
cd $ROOT
|