Skip to content

Commit b854eef

Browse files
yaoyuannnnchristopherbate
authored andcommitted
[cmake][Executor] Fix standalone mlir-executor build
This ensures `mlir-executor` can be built standalone by properly depending on the `MLIRTensorRTCommon` package, which in turn requires top-level CMake utilities. GitOrigin-RevId: e204d59c9a95112803440565bc0810a492a1872b
1 parent c4417e6 commit b854eef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mlir-tensorrt/build_tools/cmake/Targets.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include(build_tools/cmake/CompilationOptions.cmake)
21
include(CMakeParseArguments)
32

43
# --------------------------------------------------------------

mlir-tensorrt/common/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.25)
22
project(mlir-tensorrt-common LANGUAGES CXX)
33

4+
include(${CMAKE_CURRENT_SOURCE_DIR}/../build_tools/cmake/Targets.cmake)
5+
46
# Depdendencies
57
find_package(LLVM REQUIRED CONFIG)
68
find_package(MLIR REQUIRED CONFIG)

0 commit comments

Comments
 (0)