@@ -17,21 +17,23 @@ exit /b 0
1717
1818:build_adios2
1919 if exist adios2-stamp exit /b 0
20- :: curl -sLo adios2-2.9.1.zip ^
21- :: https://github.com/ornladios/ADIOS2/archive/v2.9.1.zip
22- curl -sLo adios2-2.9.1.zip ^
23- https://github.com/ax3l/ADIOS2/archive/refs/heads/release-2.9.1-bp-wheels.zip
24- powershell Expand-Archive adios2-2.9.1.zip -DestinationPath dep-adios2
20+ curl -sLo adios2-2.10.1.zip ^
21+ https://github.com/ornladios/ADIOS2/archive/v2.10.1.zip
22+ powershell Expand-Archive adios2-2.10.1.zip -DestinationPath dep-adios2
2523
26- cmake -S dep-adios2/ADIOS2-release-2.9.1-bp-wheels -B build-adios2 ^
24+ cmake --version
25+
26+ cmake -S dep-adios2/ADIOS2-2.10.1 -B build-adios2 ^
2727 -DCMAKE_BUILD_TYPE=Release ^
28+ -DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE ^
2829 -DBUILD_SHARED_LIBS=OFF ^
2930 -DBUILD_TESTING=OFF ^
3031 -DADIOS2_USE_MPI=OFF ^
3132 -DADIOS2_BUILD_EXAMPLES=OFF ^
3233 -DADIOS2_Blosc2_PREFER_SHARED=OFF ^
3334 -DADIOS2_USE_Blosc2=ON ^
3435 -DADIOS2_USE_BZip2=OFF ^
36+ -DADIOS2_USE_Campaign=OFF ^
3537 -DADIOS2_USE_Fortran=OFF ^
3638 -DADIOS2_USE_HDF5=OFF ^
3739 -DADIOS2_USE_MHS=OFF ^
@@ -45,12 +47,17 @@ exit /b 0
4547:: TODO: Could NOT find HDF5 (missing: HDF5_LIBRARIES C)
4648:: -DADIOS2_USE_HDF5=ON
4749
48- cmake --build build-adios2 --parallel %CPU_COUNT%
50+ cmake --build build-adios2 --config Release -- parallel %CPU_COUNT%
4951 if errorlevel 1 exit 1
5052
5153 cmake --build build-adios2 --target install --config Release
5254 if errorlevel 1 exit 1
5355
56+ :: CMake Config package of C-Blosc 2.10.1+ only
57+ :: https://github.com/ornladios/ADIOS2/issues/3903
58+ :: rmdir /s /q "%BUILD_PREFIX%/ADIOS2/lib/cmake/adios2/FindBlosc2.cmake"
59+ :: if errorlevel 1 exit 1
60+
5461 rmdir /s /q build-adios2
5562 if errorlevel 1 exit 1
5663
@@ -61,19 +68,16 @@ exit /b 0
6168:build_blosc2
6269 if exist blosc2-stamp exit /b 0
6370
64- curl -sLo blosc2-2.10.2 .zip ^
65- https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.10.2 .zip
66- powershell Expand-Archive blosc2-2.10.2 .zip -DestinationPath dep-blosc2
71+ curl -sLo blosc2-2.11.1 .zip ^
72+ https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.11.1 .zip
73+ powershell Expand-Archive blosc2-2.11.1 .zip -DestinationPath dep-blosc2
6774
68- :: Fix Threads search in Blosc2Config.cmake
69- :: https://github.com/Blosc/c-blosc2/pull/549
70- curl -sLo blosc2-threads.patch ^
71- https://github.com/Blosc/c-blosc2/pull/549.patch
72- python -m patch -p 1 -d dep-blosc2/c-blosc2-2.10.2 blosc2-threads.patch
73- if errorlevel 1 exit 1
75+ cmake --version
7476
75- cmake -S dep-blosc2/c-blosc2-2.10.2 -B build-blosc2 ^
77+ cmake -S dep-blosc2/c-blosc2-2.11.1 -B build-blosc2 ^
7678 -DCMAKE_BUILD_TYPE=Release ^
79+ -DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX% /blosc2 ^
80+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON ^
7781 -DBUILD_SHARED=OFF ^
7882 -DBUILD_STATIC=ON ^
7983 -DBUILD_BENCHMARKS=OFF ^
@@ -88,7 +92,7 @@ exit /b 0
8892:: -DZLIB_USE_STATIC_LIBS=ON
8993 if errorlevel 1 exit 1
9094
91- cmake --build build-blosc2 --parallel %CPU_COUNT%
95+ cmake --build build-blosc2 --config Release -- parallel %CPU_COUNT%
9296 if errorlevel 1 exit 1
9397
9498 cmake --build build-blosc2 --target install --config Release
@@ -126,7 +130,7 @@ exit /b 0
126130 -DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX% /HDF5
127131 if errorlevel 1 exit 1
128132
129- cmake --build build-hdf5 --parallel %CPU_COUNT%
133+ cmake --build build-hdf5 --config Release -- parallel %CPU_COUNT%
130134 if errorlevel 1 exit 1
131135
132136 cmake --build build-hdf5 --target install --config Release
@@ -156,7 +160,7 @@ exit /b 0
156160
157161 if errorlevel 1 exit 1
158162
159- cmake --build build-zfp --parallel %CPU_COUNT%
163+ cmake --build build-zfp --config Release -- parallel %CPU_COUNT%
160164 if errorlevel 1 exit 1
161165
162166 cmake --build build-zfp --target install --config Release
@@ -183,7 +187,7 @@ exit /b 0
183187:: Manually-specified variables were not used by the project:
184188:: CMAKE_BUILD_TYPE
185189
186- cmake --build build-zlib --parallel %CPU_COUNT%
190+ cmake --build build-zlib --config Release -- parallel %CPU_COUNT%
187191 if errorlevel 1 exit 1
188192
189193 cmake --build build-zlib --target install --config Release
0 commit comments