Pin BLOSC2 git fetch to versioned tag (#6380)

BLOSC2_GIT_BRANCH was "main" causing the inline plugin build to fetch
unreleased c-blosc2 that breaks test output comparisons. Pin to the
tagged release matching HDF5_BLOSC2_VERSION so the git and tgz paths
are consistent.
This commit is contained in:
Scot Breitenfeld
2026-04-26 04:06:26 -04:00
committed by GitHub
parent d7f7e81567
commit c478c6e35f
+1 -1
View File
@@ -168,7 +168,7 @@ mark_as_advanced (BLOSC_ZLIB_PACKAGE_NAME)
set (HDF5_BLOSC2_VERSION "2.17.1" CACHE INTERNAL "Version of Blosc2 to use when building from external source")
set (BLOSC2_GIT_URL "https://github.com/Blosc/c-blosc2.git" CACHE STRING "Use BLOSC2 from Github repository")
set (BLOSC2_GIT_BRANCH "main" CACHE STRING "")
set (BLOSC2_GIT_BRANCH "v${HDF5_BLOSC2_VERSION}" CACHE STRING "")
mark_as_advanced (BLOSC2_GIT_URL)
mark_as_advanced (BLOSC2_GIT_BRANCH)