-
Tobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
Tobias Frisch authoredSigned-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
BUILD_MACOS.md 630 B
How to build on macOS
How to build with Clang on macOS
- Install Homebrew
- Install required tools to compile:
brew install cmake llvm libomp
- Download and install latest vulkansdk-macos-*.dmg to ~/VulkanSDK
- Clone the repository and run the following commands:
mkdir debug
cd debug
export LDFLAGS="-L/usr/local/opt/llvm/lib"
export CPPFLAGS="-I/usr/local/opt/llvm/include"
cmake -DCMAKE_C_COMPILER="/usr/local/opt/llvm/bin/clang" -DCMAKE_CXX_COMPILER="/usr/local/opt/llvm/bin/clang++" -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .