From 6380f5a160fc32d72896773cb7d6c5ceec01a5e2 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 22 May 2024 16:06:19 -0700 Subject: [PATCH] NJS: msan job fixes --- .github/workflows/njs-buildbot.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/njs-buildbot.yml b/.github/workflows/njs-buildbot.yml index b41bcdb..834dbc9 100644 --- a/.github/workflows/njs-buildbot.yml +++ b/.github/workflows/njs-buildbot.yml @@ -332,14 +332,14 @@ jobs: - name: Build pcre2 run: | - apt-get source libpcre2-8-0 + apt-get update && apt-get source pcre2 cd pcre2-10.* autoreconf -f -i ./configure --prefix=${{ github.workspace }}/pcre2/ - make all + make -j$(nproc) all make install env: - LDFLAGS: "-fsanitize-memory" + LDFLAGS: "-fsanitize=memory" - name: Configure and make njs (pcre2) run: | @@ -357,15 +357,15 @@ jobs: - name: Build pcre run: | - apt-get source libpcre3 - cd pcre-8.* + apt-get update && apt-get source pcre3 + cd pcre3-8.* autoreconf -f -i ./configure --disable-cpp --enable-utf8 --prefix=${{ github.workspace }}/pcre/ - make all + make -j$(nproc) all make install sed -i 's/\$libS\$libR \(-lpcre$\)/$libS$libR -Wl,-Bstatic \1 -Wl,-Bdynamic/' ${{ github.workspace }}/pcre/bin/pcre-config env: - LDFLAGS: "-fsanitize-memory" + LDFLAGS: "-fsanitize=memory" - name: Configure and make njs (pcre) run: |