cbc-engine:

分支1Tags0
文件最后提交记录最后更新时间
2 个月前
4 个月前
13 天前
2 个月前
2 天前
2 天前
10 天前
3 天前
3 个月前
4 个月前
5 个月前
3 个月前
6 天前
13 天前
13 天前
4 个月前

Hotfix interpreter

TODO There will be some description of the project

How to build interpreter lib

There is ready dev container (<project_dir>/.devcontainer/debian) for easy environment setup and project building.

  1. Clean directory with artifacts if it exists:
python3 build.py clean
  1. Build libcbcengine.so for target platform:
python3 build.py build --target-os=linux --target-arch=<x86_64 or aarch64>

For Android builds, set ANDROID_NDK_HOME first:

export ANDROID_NDK_HOME=/path/to/android-ndk
python3 build.py build --target-os=android --target-arch=aarch64

For iOS device and simulator builds, run the build directly on macOS with Xcode installed:

python3 build.py build --target-os=ios --target-arch=aarch64
python3 build.py build --target-os=ios-sim --target-arch=aarch64

To build the helper library:

  1. [for iOS] Install XCode.
  2. Setup the Cangjie SDK environment (source <CANGJIE_SDK>/envsetup.sh) and run:
python3 build.py build-helper-lib --target-os=ios --target-arch=aarch64
python3 build.py build-helper-lib --target-os=ios-sim --target-arch=aarch64
  1. Library is located in output/<target-os>_<target-arch>/libcbcengine.<so/dylib>. Helper library is located in output/<target-os>_aarch64/libcbcengine-helper.<so/dylib>.

How to run tests

Build project for the native target with additional --run-tests option:

python3 build.py build --run-tests

Cross-target builds with --run-tests are not allowed.