New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build PCRE without JIT if needed #24628
Comments
This comment has been minimized.
This comment has been minimized.
Author: Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
comment:3
I believe PCRE is used in Polymake, and in Sage's polymake interface. I guess without JIT they (as well as R, as R is using it too) might get slower... |
Commit: |
comment:5
Replying to @dimpase:
Slower but functional should be acceptable. Note that my patch still uses JIT on systems where it is supported. New commits:
|
comment:7
|
Reviewer: Dima Pasechnik |
comment:8
looks good to me |
Changed branch from u/jdemeyer/build_pcre_without_jit_if_needed to |
Changed commit from |
comment:10
Wish someone had CC'd me on this (I don't read every ticket that gets opened). The test suite for PCRE has always failed on Cygwin (with or without JIT) so this broke the build on Cygwin. |
comment:11
IMHO on Cygwin, and, in fact on any system that provides PCRE, |
comment:12
Replying to @dimpase:
Agreed. Working on that :) |
comment:13
Replying to @embray:
This is a general need : unless we have specific needs not solvable in an interface, we should use whatever is installed systemwide. A mechanism to do that in the toplevel configuration file would be useful. IIRC, Erik has undertaken to refactor parts of this cofiguraion system (that's why I haven't yet progresed much on OpenSSL, BTW : I'm waiting for the dust to settle a bit...), this might be one of his objectives. However, I can think of difficulties to extende such a mechanism to library interfaces... |
comment:14
I already have a prototype for this that I'm pretty happy with, but I've been waiting, as you say, for the dust to settle on #21524 before moving forward on it. That ticket is ready for review BTW. |
The JIT feature of PCRE is buggy on some systems: it already required a fix for Cygwin and it gives a "bus error" on Solaris.
To work around this, I propose to always run the PCRE testsuite. This takes only a few seconds anyway. If the testsuite fails, recompile PCRE without
--enable-jit
.(Skip this, at the very least, on Cygwin since the testsuite fails there anyways, albeit for unrelated reasons; see #24756).
CC: @mkoeppe @dimpase @EmmanuelCharpentier
Component: packages: standard
Author: Jeroen Demeyer
Branch:
db16bc9
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/24628
The text was updated successfully, but these errors were encountered: