mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Update quickinstall instructions for macOS (#3130)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
fc3de1cbef
commit
8263f05e7e
1 changed files with 5 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue