Skip to content

Commit

Permalink
Attempting to fix hard coded binary and include names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Jul 30, 2024
1 parent 3355f28 commit 8b1da1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions local-vtk-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ do

info "Building wheel for Python $python_version..."
info "Removing temp files..."
conda env remove -n ocp-build-system
# conda env remove -n ocp-build-system
rm -rf ./wheel_build || true
rm -rf ./vtk || true
rm ./VTK-*.tar.gz || true
Expand Down Expand Up @@ -45,8 +45,8 @@ do
-DVTK_WHEEL_BUILD=ON \
-DVTK_WRAP_PYTHON=ON \
-DCMAKE_BUILD_TYPE=Release \
-DPython3_EXECUTABLE=$HOME/mambaforge/envs/ocp-build-system/bin/python \
-DPython3_INCLUDE_DIR=$HOME/mambaforge/envs/ocp-build-system/include/python$python_version \
-DPython3_EXECUTABLE=$HOME/mambaforge/envs/$env_name/bin/python \
-DPython3_INCLUDE_DIR=$HOME/mambaforge/envs/$env_name/include/python$python_version \
../VTK-9.2.6; \
ninja; \
python setup.py bdist_wheel; \
Expand Down

0 comments on commit 8b1da1f

Please sign in to comment.