init.sh 748 B

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