Skip to content

Commit

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

0 comments on commit df71727

Please sign in to comment.