Skip to content

Commit

Permalink
clean makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Tong <[email protected]>
  • Loading branch information
chentong319 committed Jan 15, 2025
1 parent 49034b5 commit 45b1d9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ option(ONNX_MLIR_ENABLE_WERROR "Enable warnings as errors." OFF)
option(ONNX_MLIR_SUPPRESS_THIRD_PARTY_WARNINGS "Suppress warning in third_party code." ON)
option(ONNX_MLIR_ENABLE_JAVA "Set to ON for building the Java runtime, tools, and tests" ON)
option(ONNX_MLIR_ENABLE_PYRUNTIME_LIT "Set to ON for building Python driver of running the compiled model without llvm-project." OFF)
#unset(ONNX_MLIR_ENABLE_PYRUNTIME_LIT CACHE)

set(CMAKE_CXX_STANDARD 17)

Expand Down Expand Up @@ -213,10 +212,6 @@ if (ONNX_MLIR_SUPPRESS_THIRD_PARTY_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSUPPRESS_THIRD_PARTY_WARNINGS")
endif()

if (ONNX_MLIR_ENABLE_STABLEHLO)
add_compile_definitions(ONNX_MLIR_ENABLE_STABLEHLO)
endif()

if (ONNX_MLIR_ENABLE_PYRUNTIME_LIT)
add_subdirectory(src)
else()
Expand Down
1 change: 0 additions & 1 deletion MLIR.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

message(STATUS "ONNX_MLIR_ENABLE_PYRUNTIME_LIT: ${ONNX_MLIR_ENABLE_PYRUNTIE_LIT}")
if (ONNX_MLIR_ENABLE_PYRUNTIME_LIT)
function(llvm_update_compile_flags name)
endfunction()
Expand Down

0 comments on commit 45b1d9d

Please sign in to comment.