Skip to content

Commit

Permalink
Minor: add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
slyalin committed Jul 22, 2024
1 parent c5394bc commit 78dc249
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions cmake/tpp-mlir.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if (TPP_MLIR_DIR)
message(STATUS "TPP-MLIR at ${TPP_MLIR_DIR}")
add_compile_definitions(TPP_MLIR)
set(TPP_MLIR_LIBS
# Keep the next two libs at the top of the list to avoid undefined references at link time
TPPPipeline
TPPPassBundles
TPPCheckDialect
Expand Down
4 changes: 3 additions & 1 deletion scripts/build_mlir.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# run it from llvm-project/build directory
#!/bin/bash

# Run it in llvm-project/build directory

cmake -G Ninja ../llvm \
-DLLVM_ENABLE_PROJECTS="mlir" \
Expand Down
6 changes: 4 additions & 2 deletions scripts/build_tpp_mlir.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# run it from tpp-mlir/build subdirectory
# set CUSTOM_LLVM_ROOT to llvm-project/build directory
#!/bin/bash

# Run it in tpp-mlir/build subdirectory
# Set CUSTOM_LLVM_ROOT to llvm-project/build directory

cmake -G Ninja .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand Down

0 comments on commit 78dc249

Please sign in to comment.