Build PCRE2 with JIT mode enabled on mac#232
Build PCRE2 with JIT mode enabled on mac#232straight-shoota merged 1 commit intocrystal-lang:masterfrom
Conversation
Drop support for OSX < 11.0
|
@Blacksmoke16 Have you tested the artifacts from the CI workflow to ensure JIT compilation is working? |
|
Seems like it is: jit_enabled = uninitialized UInt32
LibPCRE2.config LibPCRE2::CONFIG_JIT, pointerof(jit_enabled)
pp jit_enabled$ ./crystal-ci-update-distribution-scripts-pcre2-jit-dev-1/bin/crystal run -Duse_pcre2 test.cr
1While before from https://app.circleci.com/pipelines/github/crystal-lang/crystal/11516/workflows/1be479c4-9fa7-4c5c-bed0-6cc779c784c6/jobs/75135, it is: $ ./crystal-1.8.0-dev-1/bin/crystal run test.cr
0Also I can't remember if its expected or not, but none of the |
|
Thanks, then we can merge this.
Yes, that's expected. You need to install it explicitly. |
But the catch is I do have |
|
|
Updates `distribution-scripts` dependency to crystal-lang/distribution-scripts@5ced0bc This includes the following changes: * crystal-lang/distribution-scripts#235 * crystal-lang/distribution-scripts#232 * crystal-lang/distribution-scripts#231 * crystal-lang/distribution-scripts#230 * crystal-lang/distribution-scripts#227 * crystal-lang/distribution-scripts#225
omnibus/vendorto.gitignoreOmnibus successfully built PCRE2 on my mac with this change:
But the build ultimately failed, for I'd assume due to an unrelated/known issue:
Resolves #228