Closed keef-cognitiv closed 3 months ago
Sorry, the build is only launched for Access Request users. You can request access writing in this issue.
Note: Conan v2 builds are now mandatory. Please read our discussion about it.
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians
on the PR and we will help you.
Sorry, the build is only launched for Access Request users. You can request access writing in this issue.
All green in build 2 (e80aa35f3a1100e2e8d6077c8a7b01e98f7f274f
):
pcre2/10.42: All packages built successfully! (All logs)
pcre2/10.43: All packages built successfully! (All logs)
pcre2/10.32: All packages built successfully! (All logs)
pcre2/10.39: All packages built successfully! (All logs)
pcre2/10.33: All packages built successfully! (All logs)
pcre2/10.40: All packages built successfully! (All logs)
pcre2/10.35: All packages built successfully! (All logs)
pcre2/10.37: All packages built successfully! (All logs)
pcre2/10.44: All packages built successfully! (All logs)
pcre2/10.36: All packages built successfully! (All logs)
Note: Conan v2 builds are now mandatory. Please read our discussion about it.
All green in build 2 (e80aa35f3a1100e2e8d6077c8a7b01e98f7f274f
):
pcre2/10.44: All packages built successfully! (All logs)
pcre2/10.42: All packages built successfully! (All logs)
pcre2/10.43: All packages built successfully! (All logs)
pcre2/10.39: All packages built successfully! (All logs)
pcre2/10.40: All packages built successfully! (All logs)
pcre2/10.35: All packages built successfully! (All logs)
pcre2/10.37: All packages built successfully! (All logs)
pcre2/10.36: All packages built successfully! (All logs)
pcre2/10.33: All packages built successfully! (All logs)
pcre2/10.32: All packages built successfully! (All logs)
Summary
Changes to recipe: pcre2/10.XX
Motivation
Add support for passing a configurable PCRE2_LINK_SIZE.
This directly translates to LINK_SIZE here https://github.com/PCRE2Project/pcre2/blob/9a51f31da1c2d45e1f31d6a0d6b2f62975fed373/src/config.h.generic#L167.
In short, the default size of 2 creates a hard limit of 65535 bytes to be used by the compiled regular expression. This creates a hard upper limit for the size of regular expressions that can be compiled. Using a link size of 4 expands this to 4GB. For most use cases, 64KB is more than enough. But in some edge cases, it's not:
https://github.com/PCRE2Project/pcre2/issues/271
https://github.com/PCRE2Project/pcre2/issues/406
This adds support for the flag in the conan package to support the users in those edge cases.
Details
This just adds an option (
link_size
to the package that gets passed through asPCRE2_LINK_SIZE
to cmake which passesLINK_SIZE
to the compiler.I am not well versed on the CI system that conan-center-index uses to know whether I'm missing a step to add this to all of the test builds of the package, and where to add it.