FLINT and ENV.runtime_cpu_detection #5292
Unanswered
edgarcosta
asked this question in
Writing Formulae/Casks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of issue
I am struggling to fix this PR: Homebrew/homebrew-core#166490
In particular,
ENV.runtime_cpu_detection
is necessary. Otherwise the./configure
will generate headers containing blocks like:which will not compile, as without the flag, we remove arguments like
-march=skylake
But the Linux runner complains:
despite FLINT using CPUID at the configure time to generate the appropriate
CFLAGS
: https://github.com/flintlib/flint/blob/main/config/config.guess#L797Beta Was this translation helpful? Give feedback.
All reactions