Getting a formula (isl) to use current version of GCC, and building gcc on High Sierra from now on #3513
-
With
Naturally I tried to assign a C++17-compatible compiler at this formula. However, this update coincided with
I now report what I have tried. My version is migrated to
All in all, the simplest way to solve this - adding a dependency block - doesn't seem to work, nor does the un-versioned --cc=gcc option. I don't like the working way left, so I'm asking for help.
For all the unfortunate souls stuck on High Sierra, who don't have any version of Homebrew's
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
One other possibility is to |
Beta Was this translation helpful? Give feedback.
-
Hmm, these parts should be optional. C++17 is only used for tests. We should probably look into ways around that. |
Beta Was this translation helpful? Give feedback.
-
Tried a Will open a PR. |
Beta Was this translation helpful? Give feedback.
-
How do I need to edit the formula (i e I followed the directions on this Stackoverflow thread and have a functioning LLVM 13 installation with C++17 support. |
Beta Was this translation helpful? Give feedback.
-
If still not work, you need to set the environment variable |
Beta Was this translation helpful? Give feedback.
One other possibility is to
brew install llvm
and then pass--cc=llvm_clang
when building ISL and/or GCC.