Skip to content

Commit

Permalink
re2: Fix ftbfs and uncomment pkgconf test
Browse files Browse the repository at this point in the history
Fixes: #38660

Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
  • Loading branch information
dannf committed Jan 24, 2025
1 parent e61eac6 commit 867caf1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions re2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: re2
version: "2024.02.01" # Please enable the pkgconf test on update
epoch: 2
version: "2024.02.01" # On update, please check if -fdelete-null-pointer-checks is still required
epoch: 3
description: Efficient, principled regular expression library
copyright:
- license: BSD-3-Clause
Expand All @@ -22,6 +22,9 @@ environment:
- busybox
- ca-certificates-bundle
- icu-dev
environment:
# https://github.com/wolfi-dev/os/issues/34075
CMAKE_CXX_FLAGS: -fdelete-null-pointer-checks

pipeline:
- uses: fetch
Expand All @@ -33,6 +36,7 @@ pipeline:
with:
opts: |
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
-DRE2_USE_ICU=ON \
-DRE2_BUILD_TESTING="OFF"
Expand All @@ -43,9 +47,6 @@ pipeline:
- uses: strip

subpackages:
# test:
# pipeline:
# - uses: test/pkgconf:
- name: re2-dev
pipeline:
- uses: split/dev
Expand All @@ -54,6 +55,9 @@ subpackages:
runtime:
- abseil-cpp-dev
- icu-dev
test:
pipeline:
- uses: test/pkgconf

update:
enabled: true
Expand Down

0 comments on commit 867caf1

Please sign in to comment.