Skip to content

Commit 10b1150

Browse files
committed
Patch distutils out
1 parent cc54bd4 commit 10b1150

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci-i386.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ jobs:
4444
cargo
4545
cmake
4646
cython
47+
sed
4748
4849
- name: Install zfp
4950
run: |
5051
uv venv
5152
PYTHON_INCLUDE=$(uv run python -c 'from sysconfig import get_paths; print(get_paths()["include"])');
5253
PYTHON_LIB=$(uv run python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))');
5354
git clone https://github.com/LLNL/zfp
55+
sed -i "s/distutils.sysconfig/sysconfig/g" zfp/python/scikit-build-cmake/FindPythonExtensions.cmake
5456
mkdir zfp/build;
5557
uv run cmake zfp -B zfp/build -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE
5658
uv run make -C zfp/build

0 commit comments

Comments
 (0)