Skip to content

Commit

Permalink
ci: add blosc2 to windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Mar 15, 2024
1 parent eab8b94 commit 2db4b4f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/cmake/ci-win2019-vs2019-ninja.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=OFF
")
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/cmake/ci-win2019-vs2019-ompi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=ON
")
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/cmake/ci-win2019-vs2019-serial.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_Python:BOOL=OFF
ADIOS2_USE_MPI:BOOL=OFF
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/cmake/ci-win2022-vs2022-ompi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=ON
ADIOS2_USE_HDF5:STRING=ON
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/cmake/ci-win2022-vs2022-serial.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(dashboard_cache "
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=OFF
ADIOS2_USE_HDF5:STRING=ON
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci/cmake/ci-win2022-vs2022-static-serial.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ADIOS2_USE_EXTERNAL_GTEST=OFF
BUILD_TESTING:BOOL=ON
ADIOS2_BUILD_EXAMPLES:BOOL=ON
ADIOS2_USE_Blosc2:BOOL=ON
ADIOS2_USE_BZip2:BOOL=OFF
ADIOS2_USE_Fortran:BOOL=OFF
ADIOS2_USE_MPI:BOOL=OFF
ADIOS2_USE_HDF5:STRING=OFF
Expand Down
10 changes: 10 additions & 0 deletions scripts/ci/gh-actions/windows-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ Write-Host "::group::Installing NumPy"
pip install "numpy>=1.19"
Write-Host "::endgroup::"

$Env:Path += ";$Env:CONDA\condabin"
Write-Host "$Env:Path"
Write-Host "::group::Installing c-blosc2"
conda.bat init powershell
conda.bat init bash
conda.bat activate base
conda.bat install -y conda-forge::lz4-c
conda.bat install -y conda-forge::c-blosc2
Write-Host "::endgroup::"

if($Env:GH_YML_MATRIX_PARALLEL -eq "ompi")
{
# This is taken from the MSMPI VCPKG
Expand Down
7 changes: 7 additions & 0 deletions scripts/ci/setup-run/ci-Windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
C:/Miniconda/condabin/conda.bat activate base

# This is needed for findLZ4.cmake (called from Blosc2) to find LZ4 libraries
# (non-cmake).
export CMAKE_INCLUDE_PATH=C:/Miniconda/Library/include
export CMAKE_LIBRARY_PATH=C:/Miniconda/Library/lib

0 comments on commit 2db4b4f

Please sign in to comment.