note on command line tools and XCode 10
authorDenis Davydov <davydden@gmail.com>
Wed, 30 Jan 2019 09:56:13 +0000 (10:56 +0100)
committerDenis Davydov <davydden@gmail.com>
Wed, 30 Jan 2019 09:56:13 +0000 (10:56 +0100)
deal.II-in-Spack.md

index 279b505..4304203 100644 (file)
@@ -279,7 +279,9 @@ spack install dealii%gcc
 
 If you are on the mac, read the following instructions on [Mixed Toolchains](http://spack.readthedocs.io/en/latest/getting_started.html#mixed-toolchains).
 
-On following these instructions, you will be able to install deal.II with clang+gfortran
+Note that XCode 10 does **NOT** install command line tools (`$xcode-select --install`) in `/usr/include` (see [this discussion](https://forums.developer.apple.com/thread/104296)). Therefore prior to installing `gcc` package via Spack, please install `/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg`.
+
+Once you have `gcc` installed and edit `~/.spack/compilers.yaml` to use it with Apple's clang, you will be able to install deal.II
 ```
 spack install dealii%clang
 ```

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.