Skip to content

Commit 3fb361f

Browse files
committed
Windows: More Blosc2 Updates
1 parent 4d4c455 commit 3fb361f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
# for the openPMD-api build, CMake shall search for
115115
# static dependencies of HDF5 and ADIOS1 (see setup.py)
116116
CIBW_ENVIRONMENT: HDF5_USE_STATIC_LIBRARIES='ON' ZLIB_USE_STATIC_LIBS='ON' ADIOS_USE_STATIC_LIBS='ON' openPMD_CMAKE_openPMD_USE_HDF5='ON' openPMD_CMAKE_openPMD_USE_ADIOS2='ON'
117-
CIBW_ENVIRONMENT_WINDOWS: HDF5_USE_STATIC_LIBRARIES='ON' ZLIB_USE_STATIC_LIBS='ON' openPMD_CMAKE_openPMD_USE_HDF5='ON' openPMD_CMAKE_openPMD_USE_ADIOS2='ON' CMAKE_PREFIX_PATH='C:/Program Files (x86)/ADIOS2;C:/Program Files (x86)/blosc;C:/Program Files (x86)/blosc2;C:/Program Files (x86)/HDF5;C:/Program Files (x86)/ZFP;C:/Program Files (x86)/zlib'
117+
CIBW_ENVIRONMENT_WINDOWS: HDF5_USE_STATIC_LIBRARIES='ON' ZLIB_USE_STATIC_LIBS='ON' openPMD_CMAKE_openPMD_USE_HDF5='ON' openPMD_CMAKE_openPMD_USE_ADIOS2='ON' CMAKE_PREFIX_PATH='C:/Program Files (x86)/ADIOS2;C:/Program Files (x86)/blosc2;C:/Program Files (x86)/HDF5;C:/Program Files (x86)/ZFP;C:/Program Files (x86)/zlib'
118118
# C++17 support in macOS 10.13+ (partial) and 10.14+ (std::visit) and 10.15+ (std::filesystem::path)
119119
# https://cibuildwheel.readthedocs.io/en/stable/cpp_standards/#macos-and-deployment-target-versions
120120
# arm64/aarch64 (M1/M2) requires 11.0+

library_builders.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ exit /b 0
7070

7171
cmake -S dep-blosc2/c-blosc2-2.11.1 -B build-blosc2 ^
7272
-DCMAKE_BUILD_TYPE=Release ^
73+
-DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX%/blosc2 ^
74+
-DCMAKE_POSITION_INDEPENDENT_CODE=ON ^
7375
-DBUILD_SHARED=OFF ^
7476
-DBUILD_STATIC=ON ^
7577
-DBUILD_BENCHMARKS=OFF ^

0 commit comments

Comments
 (0)