From 3277d6e00b3a88d481568ece53d409c0a191fcde Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 20 Dec 2024 09:36:36 +0100 Subject: [PATCH] chore(ci): enable jemalloc in musl build. Signed-off-by: Federico Di Pierro --- .github/workflows/reusable_build_packages.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reusable_build_packages.yaml b/.github/workflows/reusable_build_packages.yaml index d039943a96f..200afbd52d1 100644 --- a/.github/workflows/reusable_build_packages.yaml +++ b/.github/workflows/reusable_build_packages.yaml @@ -75,7 +75,6 @@ jobs: uses: falcosecurity/libs/.github/actions/install-zig@master - name: Prepare project - # Jemalloc and ASAN don't play very well together. run: | cmake -B build -S . \ -DCMAKE_BUILD_TYPE=Release \ @@ -188,6 +187,7 @@ jobs: path: /tmp - name: Prepare project + # Jemalloc and ASAN don't play very well together. run: | cmake -B build -S . \ -DCMAKE_BUILD_TYPE=Debug \ @@ -241,7 +241,11 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ -DCPACK_GENERATOR=TGZ \ -DBUILD_BPF=Off -DBUILD_DRIVER=Off \ - -DUSE_BUNDLED_DEPS=On -DBUILD_LIBSCAP_MODERN_BPF=ON -DMUSL_OPTIMIZED_BUILD=On -DFALCO_ETC_DIR=/etc/falco -DFALCO_VERSION=${{ inputs.version }} + -DUSE_JEMALLOC=On \ + -DUSE_BUNDLED_DEPS=On \ + -DMUSL_OPTIMIZED_BUILD=On \ + -DFALCO_ETC_DIR=/etc/falco \ + -DFALCO_VERSION=${{ inputs.version }} - name: Build project run: | @@ -286,9 +290,6 @@ jobs: - name: Prepare project run: | emcmake cmake -B build -S . \ - -DBUILD_BPF=Off \ - -DBUILD_DRIVER=Off \ - -DBUILD_FALCO_MODERN_BPF=Off \ -DCMAKE_BUILD_TYPE=Release \ -DUSE_BUNDLED_DEPS=On \ -DFALCO_ETC_DIR=/etc/falco \