Skip to content

sys: refactor jit config - #23

Draft
b8591340 wants to merge 2 commits into
BurntSushi:masterfrom
b8591340:properjit
Draft

sys: refactor jit config#23
b8591340 wants to merge 2 commits into
BurntSushi:masterfrom
b8591340:properjit

Conversation

@b8591340

@b8591340 b8591340 commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

Andrew this can be merged once zherczeg/sljit#105 is merged (final step for stable macOS aarch64 support) and https://github.com/BurntSushi/pcre2-mirror is updated to the next pcre2 release.

We re-enable the JIT for macOS aarch64 and adhere to PCRE2's JIT docs for arch support; i.e. “if --enable-jit is set on an unsupported platform, compilation fails.” Not sure how this squares with is_jit_available (#4). It seems it does fail when the flag is passed on unsupported platforms (e.g. godotengine/godot#10834) and therefore is_jit_available only works for dynamic linking where the library has no other way of knowing how it was compiled.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant