Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Sep 1, 2024
1 parent 44898a1 commit 90a0236
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions L/LLVM/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ fi
if [[ "${LLVM_MAJ_VER}" -gt "14" ]]; then
ninja -j${nproc} clang-tidy-confusable-chars-gen clang-pseudo-gen mlir-pdll
fi
if [[ "${LLVM_MAJ_VER}" -ge "19" ]]; then
ninja -j${nproc} mlir-src-sharder
fi
popd
# Let's do the actual build within the `build` subdirectory
Expand Down Expand Up @@ -272,6 +275,10 @@ if [[ "${LLVM_MAJ_VER}" -gt "14" ]]; then
CMAKE_FLAGS+=(-DCLANG_PSEUDO_GEN=${WORKSPACE}/bootstrap/bin/clang-pseudo-gen)
CMAKE_FLAGS+=(-DMLIR_PDLL_TABLEGEN=${WORKSPACE}/bootstrap/bin/mlir-pdll)
fi
if [[ "${LLVM_MAJ_VER}" -ge "19" ]]; then
# CMAKE_FLAGS+=(-DMLIR_SRC_SHARDER_TABLEGEN=${WORKSPACE}/bootstrap/bin/mlir-src-sharder) # Doesn't seem to work,
CMAKE_FLAGS+=(-DLLVM_NATIVE_TOOL_DIR=${WORKSPACE}/bootstrap/bin)
fi
# Explicitly use our cmake toolchain file
# Windows runs out of symbols so use clang which can do some fancy things
Expand Down

0 comments on commit 90a0236

Please sign in to comment.