Skip to content

Commit

Permalink
Win: Activate ADIOS2, too
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 30, 2023
1 parent 5bc62b9 commit 7523314
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
# for the openPMD-api build, CMake shall search for
# static dependencies of HDF5 and ADIOS1 (see setup.py)
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'
CIBW_ENVIRONMENT_WINDOWS: HDF5_USE_STATIC_LIBRARIES='ON' ZLIB_USE_STATIC_LIBS='ON' openPMD_CMAKE_openPMD_USE_HDF5='ON' openPMD_CMAKE_openPMD_USE_ADIOS2='OFF' CMAKE_PREFIX_PATH='C:/Program Files (x86)/ADIOS2;C:/Program Files (x86)/blosc;C:/Program Files (x86)/HDF5;C:/Program Files (x86)/ZFP;C:/Program Files (x86)/zlib'
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)/HDF5;C:/Program Files (x86)/ZFP;C:/Program Files (x86)/zlib'
# C++17 support in macOS 10.13+ (partial) and 10.14+ (std::visit) and 10.15+ (std::filesystem::path)
# https://cibuildwheel.readthedocs.io/en/stable/cpp_standards/#macos-and-deployment-target-versions
# arm64 Python interpreters are built with 11.0
Expand Down
7 changes: 3 additions & 4 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ exit /b 0
-DBUILD_SHARED=OFF ^
-DBUILD_STATIC=ON ^
-DBUILD_TESTS=OFF ^
-DPREFER_EXTERNAL_ZLIB=ON ^
-DZLIB_USE_STATIC_LIBS=ON ^
-DDEACTIVATE_SNAPPY=ON
if errorlevel 1 exit 1
Expand Down Expand Up @@ -194,7 +193,7 @@ call :install_buildessentials
call :build_zlib
:: build_bzip2
:: build_szip
::call :build_blosc
::call :build_zfp
call :build_blosc
call :build_zfp
call :build_hdf5
::call :build_adios2
call :build_adios2
1 change: 0 additions & 1 deletion library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ function build_blosc {
-DBUILD_BENCHMARKS=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} \
-DPREFER_EXTERNAL_ZLIB=ON \
-DZLIB_USE_STATIC_LIBS=ON \
../c-blosc-*
make -j${CPU_COUNT}
Expand Down

0 comments on commit 7523314

Please sign in to comment.