Skip to content

Commit

Permalink
zlib: Rebuild with optimization
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed Nov 1, 2023
1 parent 93fdbd0 commit 9cfbec6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zlib.be0
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 9cfbec6

Please sign in to comment.