Skip to content

Commit 8b1da1f

Browse files
committed
Attempting to fix hard coded binary and include names
1 parent 3355f28 commit 8b1da1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

local-vtk-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ do
1313

1414
info "Building wheel for Python $python_version..."
1515
info "Removing temp files..."
16-
conda env remove -n ocp-build-system
16+
# conda env remove -n ocp-build-system
1717
rm -rf ./wheel_build || true
1818
rm -rf ./vtk || true
1919
rm ./VTK-*.tar.gz || true
@@ -45,8 +45,8 @@ do
4545
-DVTK_WHEEL_BUILD=ON \
4646
-DVTK_WRAP_PYTHON=ON \
4747
-DCMAKE_BUILD_TYPE=Release \
48-
-DPython3_EXECUTABLE=$HOME/mambaforge/envs/ocp-build-system/bin/python \
49-
-DPython3_INCLUDE_DIR=$HOME/mambaforge/envs/ocp-build-system/include/python$python_version \
48+
-DPython3_EXECUTABLE=$HOME/mambaforge/envs/$env_name/bin/python \
49+
-DPython3_INCLUDE_DIR=$HOME/mambaforge/envs/$env_name/include/python$python_version \
5050
../VTK-9.2.6; \
5151
ninja; \
5252
python setup.py bdist_wheel; \

0 commit comments

Comments
 (0)