-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
openblas failed to build on 10.13.6 #5502
Comments
Thanks for reporting this issue. The problem is that
|
- High Sierra and Sierra support Penryn CPUs. - `-march` implies the relevant `-msse*` flags.
@fxcoudert @claui @sjackman Any idea what the closest GCC-supported equivalent is? Could either set this to that just for GCC, set to the same for both or remove the Penryn flag entirely and go back to Core 2. |
@MikeMcQuaid We should be able to use |
Here's the relevant GCC docs:
|
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew install
(orupgrade
,reinstall
) a single, official formula (not cask)? If it's a generalbrew
problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
What you were trying to do (and why)
Updating openblas from 0.3.4 -> 0.3.5 as part of upgrading R from 3.5.2 -> 3.5.2_1
What happened (include command output)
Compilation errors:
cc1: error: bad value ('penryn') for '-march=' switch cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server bonnell atom silvermont slm knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2 native cc1: error: bad value ('penryn') for '-march=' switch cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server bonnell atom silvermont slm knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 btver1 btver2 native make: *** [getarch] Error 1 Makefile.system:201: Makefile.conf: No such file or directory Makefile.system:1069: Makefile.: No such file or directory make: *** No rule to make target
Makefile.'. Stop.`
What you expected to happen
Successful installation.
Step-by-step reproduction instructions (by running
brew install
commands)brew upgrade openblas
The failure.
See gist here
The text was updated successfully, but these errors were encountered: