Update quickinstall instructions for macOS (#3130)

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Soha 2024-10-11 23:11:27 -05:00 committed by GitHub
parent fc3de1cbef
commit 8263f05e7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,12 +137,11 @@ packages should be installed, for example in Homebrew via:
The compiler provided by the above LLVM package should be used in place of the
one provisioned by XCode, which does not support the multithreading library used
by OpenMC. Consequently, the C++ compiler should explicitly be set before
proceeding:
.. code-block:: sh
export CXX=/opt/homebrew/opt/llvm/bin/clang++
by OpenMC. To ensure CMake picks up the correct compiler, make sure that either
the :envvar:`CXX` environment variable is set to the brew-installed ``clang++``
or that the directory containing it is on your :envvar:`PATH` environment
variable. Common locations for the brew-installed compiler are
``/opt/homebrew/opt/llvm/bin`` and ``/usr/local/opt/llvm/bin``.
After the packages have been installed, follow the instructions to build from
source below.