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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description of issue
I am struggling to fix this PR: Homebrew/homebrew-core#166490
In particular,
ENV.runtime_cpu_detectionis necessary. Otherwise the./configurewill generate headers containing blocks like:which will not compile, as without the flag, we remove arguments like
-march=skylakeBut 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