Skip to content

Commit

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

Please sign in to comment.