# Compiling from Source¶

It is highly recommended that you not compile Larch from the source code, but instead just use the pre-built packages available through conda.

If you do attempt to compile from source and have some trouble, here are some tips:

## MacOS¶

• You will find it easier to use clang and openmp from conda, but you probably also need the plain XCode installed (get it from the Mac App Store).

xcode-select --install
conda install clangdev llvmdev openmp -c conda-forge

open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg