You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
press c to configure, then g to generate, then exit ccmake.
make clean; make
Expected:
-> successful build
Actual:
-> build fails, with error:
In file included from /Users/siegel/git/pcre2/src/sljit/sljitLir.c:275:
/Users/siegel/git/pcre2/src/sljit/sljitExecAllocator.c:156:2: error: "Must target Big Sur or newer"
It would appear that even when JIT is turned off, the sljit internals are getting compiled anyway. (I can't currently require macOS 11.0, which means that I can't currently enable JIT for all architectures. I suspect that the current state of affairs is related to bug #2769 in the old tracker which appears to have never been resolved.)
The text was updated successfully, but these errors were encountered:
While building for macOS older than 11 in Apple Silicon makes no
sense, some build systems lack the flexibility to set a target per
architecture while aiming to support multi architecture binaries.
Allow an option in those cases by using the slower runtime checks
if the toolchain allows it.
Fixes: PCRE2Project/pcre2#109
Steps:
ccmake .
CMAKE_OSX_DEPLOYMENT_TARGET
to10.15
.PCRE2GREP_SUPPORT_JIT
toOFF
.c
to configure, theng
to generate, then exitccmake
.make clean; make
Expected:
-> successful build
Actual:
-> build fails, with error:
It would appear that even when JIT is turned off, the sljit internals are getting compiled anyway. (I can't currently require macOS 11.0, which means that I can't currently enable JIT for all architectures. I suspect that the current state of affairs is related to bug #2769 in the old tracker which appears to have never been resolved.)
The text was updated successfully, but these errors were encountered: