diff options
| author | Jack Nagel | 2014-08-28 15:25:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-28 15:27:19 -0500 |
| commit | 1a05ddc52d9cd63d1550ed62d60ebc9bd8931a74 (patch) | |
| tree | a9f56858a7842a312317a6db20c1a9e3926bbadd /Library/Formula | |
| parent | 0fc3ab60d7a00c817ee7820ea4a88ef7756be4b3 (diff) | |
| download | homebrew-1a05ddc52d9cd63d1550ed62d60ebc9bd8931a74.tar.bz2 | |
gcc: add caveats about broken openmp multilib
Closes #29670.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gcc.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/gcc.rb b/Library/Formula/gcc.rb index 7bb827261..d2568d0ac 100644 --- a/Library/Formula/gcc.rb +++ b/Library/Formula/gcc.rb @@ -181,6 +181,16 @@ class Gcc < Formula File.rename file, "#{dir}/#{base}-#{suffix}#{ext}" end + def caveats + if build.with?("multilib") then <<-EOS.undent + GCC has been built with multilib support. Notably, OpenMP may not work: + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670 + If you need OpenMP support you may want to + brew reinstall gcc --without-multilib + EOS + end + end + test do if build.with?("fortran") || build.with?("all-languages") fixture = <<-EOS.undent |
