Skip to content

Commit

Permalink
Update quickinstall instructions for macOS (#3130)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Romano <[email protected]>
  • Loading branch information
sohhae and paulromano authored Oct 12, 2024
1 parent fc3de1c commit 8263f05
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/source/quickinstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8263f05

Please sign in to comment.