Bug#1023821: Compile with -DZFP_BIT_STREAM_WORD_SIZE=8 ?

Enrico Zini enrico at debian.org
Thu Nov 10 14:28:24 GMT 2022


Source: zfp
Version: 1.0.0-2
Severity: normal

Hello, and thanks for packaging zfp!

I've been trying to build hdf5-zfp[1] in Debian, and it requires[2] zfp
to be built with BIT_STREAM_WORD_SIZE=8. Indeed, while CMakeLists.txt
defaults it to 64, the FAQ recommends setting it to 8 to have portable
files[3].

I did verify that after adding -DZFP_BIT_STREAM_WORD_SIZE=8 to
dh_auto_configure in zfp's debian/rules and rebuilding the package,
tests for hdf5-zfp pass.

Would it make sense to change the default to 8?


Enrico

[1] https://github.com/LLNL/H5Z-ZFP
[2] https://github.com/LLNL/H5Z-ZFP/blob/master/src/H5Zzfp.c#L155
[3] https://github.com/LLNL/zfp/blob/develop/docs/source/faq.rst?plain=1#L391

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list