Skip to content

Commit

Permalink
call pip directly
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Oct 26, 2023
1 parent 505fa9b commit e2356f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ pyproject_file="${package_dir}/pyproject.toml"
sed -i "s/^version = .*/version = \"${version_override}\"/g" ${pyproject_file}
sed -i "s/name = \"${package_name}\"/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" ${pyproject_file}

python -m pip install --upgrade pip
pip install --upgrade pip

#CMake version in the container is too old, install a new version in the python venv
python -m pip install "cmake>=3.26.4" ninja
pip install "cmake>=3.26.4" ninja

echo `which cmake`

# apply patch to omit building tests and benchmark binaries so libopenslide isn't required
git apply ci/cmake-omit-benchmarks-examples-tests.patch


# First build the C++ lib using CMake via the run script
./run build_local libcucim release

Expand Down

0 comments on commit e2356f8

Please sign in to comment.