From 52a823fbe64afb1c63dd48db0c895e10ede8299e Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Tue, 15 Apr 2025 20:28:52 +0200 Subject: [PATCH] Revert "build: tweak jemalloc build" This reverts commit 6322d5f9e6e9d002dc6a899bde4787b49faef7fa. --- .docker/install-static-libs.sh | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.docker/install-static-libs.sh b/.docker/install-static-libs.sh index 9405abe8..c0f5a89d 100644 --- a/.docker/install-static-libs.sh +++ b/.docker/install-static-libs.sh @@ -10,8 +10,6 @@ GCC="${1:-gcc}" CLANG="${2:-clang}" PKGS="${3:-:none}" -ARCH="$(uname -m)" - FILE_VERSION=5.46 FILE_SHA512=a6cb7325c49fd4af159b7555bdd38149e48a5097207acbe5e36deb5b7493ad6ea94d703da6e0edece5bb32959581741f4213707e5cb0528cd46d75a97a5242dc BZIP2_VERSION=1.0.8 @@ -245,17 +243,7 @@ for COMPILER in $COMPILERS; do curl https://gitlab.alpinelinux.org/alpine/aports/-/raw/abc0b4170e42e2a7d835e4490ecbae49e6f3d137/main/jemalloc/musl-exception-specification-errors.patch | patch -p1 curl https://gitlab.alpinelinux.org/alpine/aports/-/raw/abc0b4170e42e2a7d835e4490ecbae49e6f3d137/main/jemalloc/pkgconf.patch | patch -p1 ./autogen.sh - case "$ARCH" in - x86_64) - _pgs=12 - ;; - aarch64) - _pgs=16 - ;; - esac - ./configure --prefix="$INSTALL_DIR" --localstatedir=/var --sysconfdir=/etc --without-export \ - --with-lg-page="$_pgs" --with-lg-hugepage=21 --enable-static --disable-shared \ - --disable-stats --disable-doc --disable-prof --disable-log --disable-debug --disable-fill + ./configure --prefix="$INSTALL_DIR" --localstatedir=/var --sysconfdir=/etc --with-lg-hugepage=21 --disable-stats --disable-prof --enable-static --disable-shared --disable-log --disable-debug make -j$(nproc) make install fi