Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Changelog

version 1.0.1-dev
-----------------
+ Update included zlib-ng distribution to 2.3.3.
+ Fix ``gzip_ng_threaded`` writers that waited forever when writing to the
underlying file failed, for example, because the disk was full. A later call
to ``write()``, ``flush()``, or ``close()`` raises the error. After an error,
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,12 @@ def build_zlib_ng():
subprocess.run([os.path.join(build_dir, "configure")], **run_args)
make_program = "gmake" if shutil.which("gmake") else "make"
subprocess.run([make_program, "libz-ng.a"], **run_args)
elif sys.platform == "linux":
subprocess.run([os.path.join(build_dir, "configure")], **run_args)
subprocess.run(["make", "libz-ng.a", "-j", str(cpu_count)], **run_args)
else:
subprocess.run(["cmake", build_dir], **run_args)
# Do not create test suite and do not perform tests to shorten build times.
# There is no need when stable releases of zlib-ng are used.
subprocess.run(["cmake", "--build", build_dir, "--config", "Release",
"--target", "zlibstatic",
"--target", "zlib-ng-static",
"-j", str(cpu_count)], **run_args)
if BUILD_CACHE:
BUILD_CACHE_FILE.write_text(build_dir)
Expand Down
2 changes: 1 addition & 1 deletion src/zlib_ng/zlib-ng
Submodule zlib-ng updated 154 files
Loading