diff options
author | Stephen McDowell <svenevs@users.noreply.github.com> | 2021-09-10 12:11:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 14:11:26 -0500 |
commit | 3a9028427ca104607e2c1a581f3437460d80f58c (patch) | |
tree | f04cf99b68783b3a6565a077e8ea7b8c5d02530e /lib | |
parent | 729726d157a458471741cfd4980ccb17cffc8de5 (diff) | |
download | spack-3a9028427ca104607e2c1a581f3437460d80f58c.tar.gz spack-3a9028427ca104607e2c1a581f3437460d80f58c.tar.bz2 spack-3a9028427ca104607e2c1a581f3437460d80f58c.tar.xz spack-3a9028427ca104607e2c1a581f3437460d80f58c.zip |
[docs] document official gfortran macOS precompiled binaries (#25818)
* document official gfortran macOS precompiled binaries
* compile without -vvv ;) {squash this}
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/getting_started.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 419e1293bb..b033a4f5ef 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -642,8 +642,9 @@ Fortran. #. Run ``spack compiler find`` to locate Clang. #. There are different ways to get ``gfortran`` on macOS. For example, you can - install GCC with Spack (``spack install gcc``) or with Homebrew - (``brew install gcc``). + install GCC with Spack (``spack install gcc``), with Homebrew (``brew install + gcc``), or from a `DMG installer + <https://github.com/fxcoudert/gfortran-for-macOS/releases>`_. #. The only thing left to do is to edit ``~/.spack/darwin/compilers.yaml`` to provide the path to ``gfortran``: @@ -664,7 +665,8 @@ Fortran. If you used Spack to install GCC, you can get the installation prefix by ``spack location -i gcc`` (this will only work if you have a single version of GCC installed). Whereas for Homebrew, GCC is installed in - ``/usr/local/Cellar/gcc/x.y.z``. + ``/usr/local/Cellar/gcc/x.y.z``. With the DMG installer, the correct path + will be ``/usr/local/gfortran``. ^^^^^^^^^^^^^^^^^^^^^ Compiler Verification |