Skip to content

Commit

Permalink
fixup! compress: Address blosc2 compress warnings in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Mar 18, 2024
1 parent be4a8c3 commit 49f7d86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions scripts/ci/gh-actions/windows-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ Write-Host "::group::Installing NumPy"
pip install "numpy>=1.19"
Write-Host "::endgroup::"

Write-Host "::group::Installing c-blosc2"
$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::"

Expand Down
8 changes: 4 additions & 4 deletions scripts/ci/setup-run/ci-Windows.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set +u
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
# We do not use conda cmake, thus we have to hint cmake where is
# conda root dir.
export CMAKE_PREFIX_PATH="C:/Miniconda/Library;$CMAKE_PREFIX_PATH"

0 comments on commit 49f7d86

Please sign in to comment.