Skip to content

Commit d77d55f

Browse files
committed
Fix zfpy build, no cd
1 parent 73fc8ea commit d77d55f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci-i386.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,11 @@ jobs:
5151
PYTHON_INCLUDE=$(uv run python -c 'from sysconfig import get_paths; print(get_paths()["include"])');
5252
PYTHON_LIB=$(uv run python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))');
5353
git clone https://github.com/LLNL/zfp
54-
cd zfp
55-
mkdir build;
56-
cd build;
57-
uv run cmake .. -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE;
58-
uv run make;
59-
cd ..;
60-
cp build/lib*/libzfp* /usr/local/lib;
61-
cd ..
54+
mkdir zfp/build;;
55+
uv run cmake zfp -B zfp/build -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE;
56+
uv run make -C zfp/build;
57+
cp zfp/build/lib*/libzfp* /usr/local/lib;
58+
cp zfp/build/lib*/libzfp* /usr/local/lib64;
6259
uv add "zfpy @ ./zfp"
6360
shell: alpine.sh {0}
6461

0 commit comments

Comments
 (0)