From: Chuck Atkins Date: Thu, 8 Jun 2017 17:11:32 +0000 (-0400) Subject: configure.ac: Reduce zlib requirement from 1.2.8 to 1.2.3. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad69b037b1ca38390fad440189541e49b3f48f14;p=mesa.git configure.ac: Reduce zlib requirement from 1.2.8 to 1.2.3. Testing with zlib versions 1.2.{3,4,5,6,7,8} showed no difference in functionality, correctness, or zlib API usage and 1.2.3 is the oldest version available in still actively deployed production Linux distributions (RHEL/CentOS 6 and SuSE 11). Build 17.1.1 against the system supplied zlib-devel packages for 1.2.3 in EL6 and 1.2.7 on EL7. I then swapped out the zlib version at runtime via LD_LIBRARY_PATH with ones build from the release tarballs from zlib.net Testwise - I ran the piglit shader profile with --quick addded to the tests since I figured that would exercise the shader cache, which would in turn use zlib. Signed-off-by: Chuck Atkins Cc: 17.1 Cc: Timothy Arceri Reviewed-by: Timothy Arceri [Emil Velikov: add hunk about version/piglit testing] Acked-by: Emil Velikov --- diff --git a/configure.ac b/configure.ac index 82a1bd6cd1d..6c67d27084c 100644 --- a/configure.ac +++ b/configure.ac @@ -97,7 +97,7 @@ XSHMFENCE_REQUIRED=1.1 XVMC_REQUIRED=1.0.6 PYTHON_MAKO_REQUIRED=0.8.0 LIBSENSORS_REQUIRED=4.0.0 -ZLIB_REQUIRED=1.2.8 +ZLIB_REQUIRED=1.2.3 dnl LLVM versions LLVM_REQUIRED_GALLIUM=3.3.0