Skip to content

[builtins] download instead of bundle PCRE and bump from PCRE_8.43 to PCRE2_10.47#21857

Open
ferdymercury wants to merge 8 commits intoroot-project:masterfrom
ferdymercury:patch-17
Open

[builtins] download instead of bundle PCRE and bump from PCRE_8.43 to PCRE2_10.47#21857
ferdymercury wants to merge 8 commits intoroot-project:masterfrom
ferdymercury:patch-17

Conversation

@ferdymercury
Copy link
Copy Markdown
Collaborator

and lift CMAKE 3.5 policy version

… PCRE2_10.47

and lift CMAKE 3.5 policy version
URL ${CMAKE_CURRENT_SOURCE_DIR}/pcre-${PCRE_VERSION}.tar.bz2
URL_HASH SHA256=f1026a7f455b8ba726d6fff94d5f989e55ad55f7b4eb946938803ac2aa41743c
ExternalProject_Add(PCRE2
URL https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE2_VERSION}/pcre2-${PCRE2_VERSION}.tar.gz
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TO-DO change with LCG

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Test Results

    18 files      18 suites   2d 12h 38m 36s ⏱️
 3 831 tests  3 831 ✅ 0 💤 0 ❌
61 788 runs  61 788 ✅ 0 💤 0 ❌

Results for commit b96a7bc.

♻️ This comment has been updated with latest results.

Co-authored-by: Bertrand Bellenot <bellenot@users.noreply.github.com>
@ferdymercury ferdymercury requested a review from bellenot April 10, 2026 07:04
@bellenot
Copy link
Copy Markdown
Member

bellenot commented Apr 10, 2026

Maybe @couet can check why it fails on MacOS with

make[2]: *** No rule to make target `builtins/pcre/PCRE2-prefix/src/PCRE2-build/./libpcre2.a', needed by `lib/libCore.so'.  Stop.

@bellenot bellenot requested a review from couet April 10, 2026 07:20
@dpiparo
Copy link
Copy Markdown
Member

dpiparo commented Apr 10, 2026

It would be also useful to test the bultin on linux, using the build https://github.com/root-project/root/blob/master/.github/workflows/root-ci-config/buildconfig/alma10-clang_ninja.txt

@dpiparo
Copy link
Copy Markdown
Member

dpiparo commented Apr 10, 2026

Maybe @couet can check why it fails on MacOS with

make[2]: *** No rule to make target `builtins/pcre/PCRE2-prefix/src/PCRE2-build/./libpcre2.a', needed by `lib/libCore.so'.  Stop.

the library is indeed called libpcre2-8.a....

to check no conflicts with system library
as suggested by dpiparo
@ferdymercury ferdymercury marked this pull request as ready for review April 10, 2026 08:01
@ferdymercury ferdymercury requested a review from dpiparo as a code owner April 10, 2026 08:01
@ferdymercury
Copy link
Copy Markdown
Collaborator Author

the library is indeed called libpcre2-8.a....

Thanks a lot! Mac failures seem now solved :)

If you put the package in LCG I can amend the URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants