From 45b1d9d3f2ece96650a5506f8b4dbab99465738e Mon Sep 17 00:00:00 2001 From: Chen Tong Date: Wed, 15 Jan 2025 14:03:31 -0500 Subject: [PATCH] clean makefile Signed-off-by: Chen Tong --- CMakeLists.txt | 5 ----- MLIR.cmake | 1 - 2 files changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3350cfe5b..54e72b2d53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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() diff --git a/MLIR.cmake b/MLIR.cmake index 43ad3244e3..bc51ad937f 100644 --- a/MLIR.cmake +++ b/MLIR.cmake @@ -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()