init.sh 726 B

1234567891011121314151617181920212223242526272829
  1. ROOT=$PWD
  2. reset
  3. cp config/pika_config_default.h config/pika_config.h
  4. git submodule init
  5. git submodule update --progress
  6. git config --unset-all core.filemode
  7. git config --add core.filemode false
  8. chmod +x *.sh
  9. sh update-compiler.sh
  10. chmod +x package/pikascript/rust-msc-latest-linux
  11. cp package/pikascript/rust-msc-latest-linux /bin
  12. cd package/pikascript/pikascript-core
  13. # git checkout master
  14. cd $ROOT
  15. rm build -rf
  16. mkdir build
  17. ./package/pikascript/rust-msc-latest-linux -c package/pikascript/cjson_test.py
  18. sh api-make.sh
  19. cd build
  20. cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DPIKA_CONFIG_ENABLE=ON ..
  21. cd $ROOT
  22. rm Release -rf
  23. mkdir Release
  24. cd Release
  25. cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DPIKA_CONFIG_ENABLE=ON ..
  26. cd $ROOT