Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
bcb40e0
fixed plugin
edhartnett Sep 12, 2025
d20e2dd
fixes
edhartnett Sep 12, 2025
f913000
fixes
edhartnett Sep 12, 2025
89a9312
fixes
edhartnett Sep 12, 2025
dfdfbe0
restored static
edhartnett Sep 12, 2025
399d1a7
fixing jpeg
edhartnett Sep 13, 2025
bfd7b85
fixes
edhartnett Sep 13, 2025
b2017e0
switched to HDF5_PLUGIN_PATH
captainkirk99 Sep 13, 2025
4ea15c3
fixing JPEG
captainkirk99 Sep 13, 2025
70efd27
fixing JPEG
captainkirk99 Sep 14, 2025
fe0e578
more path
captainkirk99 Sep 14, 2025
6c74e92
more fixes
edhartnett Sep 14, 2025
53ac2b9
Merge branch 'e1' of github.com:captainkirk99/hdf5_plugins into e1
edhartnett Sep 14, 2025
3b8d0ae
fix
edhartnett Sep 14, 2025
1befb59
fix
edhartnett Sep 14, 2025
53b879b
fix
edhartnett Sep 14, 2025
b38051c
adding lzf to the mix
edhartnett Sep 14, 2025
a44e398
fixing LZ4 filter
edhartnett Sep 15, 2025
d56a438
more path fixes
edhartnett Sep 15, 2025
23b4274
more fixes
edhartnett Sep 16, 2025
e829f73
adding run_tests.sh
edhartnett Sep 17, 2025
c5daa91
more fixes
edhartnett Sep 17, 2025
a485e85
Remove HDF copyright from community maintained file
ajelenak Dec 2, 2025
8ebba1f
Restore back LZ4 filter plugin code
ajelenak Dec 2, 2025
b9af703
Committing clang-format changes
github-actions[bot] Dec 8, 2025
9f226d5
Switch from %ld to %zu for size_t vars in JPEG/example/h5ex_d_jpeg.c
ajelenak Dec 9, 2025
dd94d82
Fixed typos
ajelenak Dec 9, 2025
3720671
Remove duplicate jpeg_std_error() call
ajelenak Dec 9, 2025
da1fab3
Update example JPEG expected output test files
ajelenak Dec 23, 2025
01f6a58
Merge master branch
ajelenak Jan 24, 2026
1fe7b8e
Merge branch 'master' into autotools-fixes
ajelenak Apr 13, 2026
fb21521
Update h5ex_d_jpeg.ddl in all places
ajelenak Apr 17, 2026
67ee62a
Address PR #210 review comments
brtnfld Apr 22, 2026
815efe0
Pin BLOSC and BLOSC2 git fetch to versioned tag
brtnfld Apr 22, 2026
12d41e9
Revert BLOSC v1 git branch back to main
brtnfld Apr 22, 2026
71c5a9d
Force static transitive deps when building BLOSC2 via FetchContent
brtnfld Apr 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BLOSC2/config/CacheURLs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

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" FORCE)
set (BLOSC2_GIT_BRANCH "main" CACHE STRING "" FORCE)
set (BLOSC2_GIT_BRANCH "v${HDF5_BLOSC2_VERSION}" CACHE STRING "" FORCE)

set (BLOSC2_TGZ_ORIGPATH "https://github.com/Blosc/c-blosc2/archive/refs/tags" CACHE STRING "Use PLUGINS from original location" FORCE)
set (BLOSC2_TGZ_NAME "c-blosc2-${HDF5_BLOSC2_VERSION}.tar.gz" CACHE STRING "Use BLOSC2 from compressed file" FORCE)
Expand Down
5 changes: 5 additions & 0 deletions BLOSC2/config/cmake/H5BLOSC2Macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@ macro (EXTERNAL_BLOSC2_LIBRARY compress_type)
set (BUILD_PLUGINS OFF CACHE BOOL "" FORCE)
set (BLOSC_IS_SUBPROJECT ON CACHE BOOL "" FORCE)
set (BLOSC_INSTALL OFF CACHE BOOL "" FORCE)
# Prevent blosc2's transitive deps (zlib-ng, lz4) from building as shared DLLs.
set (SAVED_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
set (BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)

FetchContent_MakeAvailable(BLOSC2)

set (BUILD_SHARED_LIBS ${SAVED_BUILD_SHARED_LIBS} CACHE BOOL "" FORCE)
if (WIN32 AND CMAKE_C_COMPILER_ID MATCHES "IntelLLVM")
target_compile_options(blosc2_static PRIVATE -Wno-implicit-function-declaration)
endif ()
Expand Down
26 changes: 12 additions & 14 deletions BZIP2/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# Allen Byrne, Ed Hartnett 1/14/19

# Initialize autoconf.
AC_PREREQ(2.59)
AC_INIT(H5BZ2, 1.0, help@hdfgroup.org)
AC_CONFIG_HEADER([bzip_config.h])
AC_PREREQ([2.71])
AC_INIT([H5BZ2],[1.0],[help@hdfgroup.org])
AC_CONFIG_HEADERS([bzip_config.h])
AC_CONFIG_MACRO_DIR([m4])

# Initialize automake.
Expand All @@ -23,17 +23,17 @@ AC_PROG_INSTALL
# Initialize libtool, checking for dlopen.
LT_INIT(dlopen)

# If the env. variable HDF5_PLUGIN_DIR is set, or if
# --with-hdf5-plugin-dir=<directory>, use it as a place for the large
# If the env. variable HDF5_PLUGIN_PATH is set, or if
# --with-hdf5-plugin-path=<directory>, use it as a place for the large
# (i.e. > 2 GiB) files created during the large file testing.
AC_MSG_CHECKING([where to put HDF5 plugins])
HDF5_PLUGIN_DIR=${HDF5_PLUGIN_DIR-'/usr/local/hdf5/lib/plugin'}
AC_ARG_WITH([hdf5-plugin-dir],
[AS_HELP_STRING([--with-hdf5-plugin-dir=<directory>],
[specify HDF5 plugin directory (defaults to /usr/local/hdf5/lib/plugin, or value of HDF5_PLUGIN_DIR, if set)])],
[HDF5_PLUGIN_DIR=$with_hdf5_plugin_dir])
AC_MSG_RESULT($HDF5_PLUGIN_DIR)
AC_SUBST([HDF5_PLUGIN_DIR])
HDF5_PLUGIN_PATH=${HDF5_PLUGIN_PATH-'/usr/local/hdf5/lib/plugin'}
AC_ARG_WITH([hdf5-plugin-path],
[AS_HELP_STRING([--with-hdf5-plugin-path=<directory>],
[specify HDF5 plugin directory (defaults to /usr/local/hdf5/lib/plugin, or value of HDF5_PLUGIN_PATH, if set)])],
[HDF5_PLUGIN_PATH=$with_hdf5_plugin_path])
AC_MSG_RESULT($HDF5_PLUGIN_PATH)
AC_SUBST([HDF5_PLUGIN_PATH])

# Is the bzip2 library and header present?
AC_CHECK_HEADERS([bzlib.h], [], [AC_MSG_ERROR([bzlib.h is required, set CPPFLAGS.])])
Expand All @@ -46,8 +46,6 @@ AC_CHECK_LIB([m], [floor], [], [AC_MSG_ERROR([Math library is required.])])
AC_CHECK_HEADERS([hdf5.h], [], [AC_MSG_ERROR([hdf5.h is required, set CPPFLAGS.])])
AC_SEARCH_LIBS([H5Fflush], [hdf5dll hdf5], [], [AC_MSG_ERROR([libhdf5 is required, set LDFLAGS.])])

# Check for other header files we need.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
Expand Down
11 changes: 9 additions & 2 deletions BZIP2/example/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
# Link to our filter library.
LDADD = ${top_builddir}/src/libh5bz2.la

# Build example program.
noinst_PROGRAMS = h5ex_d_bzip2
# Build example program and run it as a test.
check_PROGRAMS = h5ex_d_bzip2
TESTS = run_tests.sh

# Clean up HDF5 file created by example.
CLEANFILES = *.h5

EXTRA_DIST = run_tests.sh


8 changes: 8 additions & 0 deletions BZIP2/example/run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
# This script runs the BZIP2 examples in the hdf5_plugins project.

# Set the plugin path to find plugin.
export HDF5_PLUGIN_PATH=../src/.libs

# Run the example.
./h5ex_d_bzip2
Loading
Loading