Skip to content

Commit

Permalink
Add support for swig
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralanglois committed Jul 13, 2024
1 parent 0d366f5 commit b1d09c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ elif [ "$PYTHON_VERSION" != "" ] && [ "$PYTHON_VERSION" != "Disable" ] && [ "$PY
python -c "import wheel"
# pip install wheel=0.30.0
fi
pip install swig --prefix ./usr
export PATH=$(pwd)/usr/bin:$PATH
run "Configure $py_ver" cmake $SOURCE_PATH -B${BUILD_PATH} ${CMAKE_EXTRA_FLAGS} -DENABLE_CSHARP=OFF -DENABLE_PYTHON_DYNAMIC_LOAD=ON -DPython_EXECUTABLE=`which python` -DSKIP_PACKAGE_ALL_WHEEL=ON -DPYTHON_WHEEL_PREFIX=${ARTIFACT_PATH}/tmp
run "Build $py_ver" cmake --build $BUILD_PATH -- -j${THREAD_COUNT}
run "Test $py_ver" cmake --build $BUILD_PATH --target check_python -- -j${THREAD_COUNT}
Expand Down

0 comments on commit b1d09c8

Please sign in to comment.