From 9cfbec64fdf2cba21487c0e93a128c741c08ce23 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 1 Nov 2023 10:02:49 +0100 Subject: [PATCH] zlib: Rebuild with optimization zlib has switched to cmake. Currently, bee doesn't set a CMAKE_BUILD_TYPE by default, so the cmake packages are compiled with CMAKE_BUILD_TYPE=Debug which means, without optimization. For zlib this is catastrophic, as some operations run 50% slower. Rebuild zlib with CMAKE_BUILD_TYPE=Release. --- zlib.be0 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zlib.be0 b/zlib.be0 index 7607d0dde..92c01b946 100755 --- a/zlib.be0 +++ b/zlib.be0 @@ -1,6 +1,10 @@ #!/bin/env beesh -# BEE_VERSION zlib-1.3-0 +# BEE_VERSION zlib-1.3-1 #SRCURL="https://www.zlib.net/zlib-${PKGVERSION}.tar.xz" SRCURL[0]="https://beehive.molgen.mpg.de/b49e70aacafacfceb1107943497f5545/zlib-1.3.tar.xz" + +mee_configure() { + bee_configure -DCMAKE_BUILD_TYPE=Release +}