From 3a9028427ca104607e2c1a581f3437460d80f58c Mon Sep 17 00:00:00 2001 From: Stephen McDowell Date: Fri, 10 Sep 2021 12:11:26 -0700 Subject: [docs] document official gfortran macOS precompiled binaries (#25818) * document official gfortran macOS precompiled binaries * compile without -vvv ;) {squash this} --- lib/spack/docs/getting_started.rst | 8 +++++--- 1 file 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 + `_. #. 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 -- cgit v1.2.3-60-g2f50