macOS system prerequisites

To build LSST software, macOS systems need:

  1. Xcode, or command line tools.
  2. cmake.

Note

macOS versions 10.9 and earlier have not been tested recently and may not work.

Xcode

You will need to install developer tools, which we recommend you obtain with Apple’s Xcode command line tools package. To do this, run from the command line (e.g. Terminal.app or similar):

xcode-select --install

You can verify where the tools are installed by running:

xcode-select -p

cmake

cmake can be installed through a package manager like Homebrew:

brew install cmake

Alternatively, Anaconda users can install cmake with conda:

conda install cmake