diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-12-19 14:04:35 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-12-20 13:07:35 +0100 |
commit | a80e1a578f36206dc21be09ab93a93830f7a122b (patch) | |
tree | 10cb117db0616ac1aa42def7e4b48a3e2623e2d2 | |
parent | d108b859c19a82f741fc01e161b406e607556649 (diff) | |
download | qpdf-a80e1a578f36206dc21be09ab93a93830f7a122b.tar.zst |
Add notes about zlib-ng
-rw-r--r-- | TODO.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -18,6 +18,27 @@ Contents - [HISTORICAL NOTES](#historical-notes) +zlib-ng +======= + +* Write ZLIB COMPATIBILITY section of README-maintainer.md. +* Note: deterministic IDs are affected by choice of zlib + +``` +cd /tmp +git clone https://github.com/zlib-ng/zlib-ng +cd zlib-ng +cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/inst -DZLIB_COMPAT=ON +cmake --build build -j $(nproc) +(cd build; ctest --verbose) +cmake --install build +``` + +Then run qpdf's test suite with +``` +LD_PRELOAD=/tmp/inst/lib/libz.so.1 ctest --verbose +``` + Always ====== |