Skip to content

Commit 9858077

Browse files
committed
Use CMake flag directly...
1 parent 010f1f1 commit 9858077

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ jobs:
235235
python3 -m pip install -U pandas
236236
python3 -m pip install -U dask
237237
python3 -m pip install -U pyarrow
238+
python3 -m pip install hdf5plugin
238239
- name: Build
239240
env: {CC: gcc-12, CXX: g++-12, CXXFLAGS: -Werror}
240241
run: |
@@ -244,15 +245,16 @@ jobs:
244245
./.github/workflows/dependencies/install_hdf5_blosc2
245246
# the HDF5 Blosc2 plugin exports no configuration files
246247
# for build systems, so we will need to link it manually
247-
export LDFLAGS="-lblosc2_filter $LDFLAGS"
248248
249249
share/openPMD/download_samples.sh build
250250
cmake -S . -B build \
251251
-DopenPMD_USE_PYTHON=ON \
252252
-DopenPMD_USE_MPI=ON \
253253
-DopenPMD_USE_HDF5=ON \
254254
-DopenPMD_USE_ADIOS2=ON \
255-
-DopenPMD_USE_INVASIVE_TESTS=ON
255+
-DopenPMD_USE_INVASIVE_TESTS=ON \
256+
-DCMAKE_EXE_LINKER_FLAGS="-lblosc2_filter" \
257+
-DCMAKE_VERBOSE_MAKEFILE=ON
256258
cmake --build build --parallel 4
257259
ctest --test-dir build --output-on-failure
258260

0 commit comments

Comments
 (0)