Skip to content

Commit

Permalink
Try once more
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralanglois committed Jul 13, 2024
1 parent 9ff7751 commit a3d5e86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ elif [ "$PYTHON_VERSION" != "" ] && [ "$PYTHON_VERSION" != "Disable" ] && [ "$PY
pip install swig --prefix ./usr
swig_bin=$(ls ./usr/lib/python3.*/site-packages/swig/data/bin/swig)
swig_path=$(dirname $swig_bin)
swig_dir=$(dirname $swig_path)
export PATH=${swig_path}:$PATH
export SWIG_DIR=${swig_path}/..
export SWIG_DIR=${swig_dir}/share
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 a3d5e86

Please sign in to comment.