forked from devitocodes/devito
-
Notifications
You must be signed in to change notification settings - Fork 2
Devito‐xDSL fork LLMV MLIR build
George Bisbas edited this page Nov 14, 2023
·
2 revisions
Clone llvm project with
commit 04fc02e583b06b846315904a55af9c273c8b20b9
cd llvm-project
mkdir build; cd build;
mkdir llvm-project/build
cd llvm-project/build
cmake -G Ninja ../llvm \
-DLLVM_ENABLE_PROJECTS="mlir;clang;openmp;lld"\
-DLLVM_TARGETS_TO_BUILD="Native" \
-DLLVM_ENABLE_LLD=ON \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_BINUTILS_INCDIR=/usr/include