From 78dc249c1fa183ab5fb2d1b1fe1ca4b5ce812da6 Mon Sep 17 00:00:00 2001 From: Sergey Lyalin Date: Mon, 22 Jul 2024 16:12:43 +0000 Subject: [PATCH] Minor: add more comments --- cmake/tpp-mlir.cmake | 1 + scripts/build_mlir.sh | 4 +++- scripts/build_tpp_mlir.sh | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cmake/tpp-mlir.cmake b/cmake/tpp-mlir.cmake index a14ed8d9178888..444ba7b546a84c 100644 --- a/cmake/tpp-mlir.cmake +++ b/cmake/tpp-mlir.cmake @@ -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 diff --git a/scripts/build_mlir.sh b/scripts/build_mlir.sh index 5d5fa4ce1eaeee..4315efd0ca3758 100755 --- a/scripts/build_mlir.sh +++ b/scripts/build_mlir.sh @@ -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" \ diff --git a/scripts/build_tpp_mlir.sh b/scripts/build_tpp_mlir.sh index 0c203f145bdb1f..52e5d6b05d1181 100755 --- a/scripts/build_tpp_mlir.sh +++ b/scripts/build_tpp_mlir.sh @@ -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 \