Updated build instructions on macos

This commit is contained in:
Bartek Kryza
2022-03-07 23:20:19 +01:00
parent b4d691539c
commit 5667e1553d
3 changed files with 7 additions and 1 deletions

View File

@@ -52,6 +52,10 @@ release/clang-uml --help
# To build using a specific installed version of LLVM use:
LLVM_CONFIG_PATH=/usr/bin/llvm-config-13 make release
# To build on macos, it is necessary to provide also path to LLVM cmake directory, e.g.:
export LLVM_PREFIX="/usr/local/Cellar/llvm@12/12.0.1_1"
LLVM_CONFIG_PATH="${LLVM_PREFIX}/bin/llvm-config" CMAKE_PREFIX_PATH="${LLVM_PREFIX}/lib/cmake/llvm/" make test
# Optionally
make install
# or