[Mlir-commits] [mlir] 587408c - [MLIR] Drop old cmake var names

Uday Bondhugula llvmlistbot at llvm.org
Mon May 24 03:01:08 PDT 2021


Author: Uday Bondhugula
Date: 2021-05-24T15:30:01+05:30
New Revision: 587408c199e8125bb454a44b7a7b20e015f4d317

URL: https://github.com/llvm/llvm-project/commit/587408c199e8125bb454a44b7a7b20e015f4d317
DIFF: https://github.com/llvm/llvm-project/commit/587408c199e8125bb454a44b7a7b20e015f4d317.diff

LOG: [MLIR] Drop old cmake var names

Drop old cmake variable names that were kept around so that zorg
buildbot could be migrated, which has now happened (D102977). D102976
had fixed the inconsistent names.

Differential Revision: https://reviews.llvm.org/D102997

Added: 
    

Modified: 
    mlir/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt
index 93b6d00b45bb..54ea572ae5f3 100644
--- a/mlir/CMakeLists.txt
+++ b/mlir/CMakeLists.txt
@@ -72,14 +72,7 @@ else()
 endif()
 add_definitions(-DMLIR_ROCM_CONVERSIONS_ENABLED=${MLIR_ENABLE_ROCM_CONVERSIONS})
 
-# Until the buildbot configuration is updated, preserve old names.
-if (${MLIR_CUDA_RUNNER_ENABLED})
-  set(MLIR_ENABLE_CUDA_RUNNER_DEFAULT ${MLIR_CUDA_RUNNER_ENABLED})
-else()
-  set(MLIR_ENABLE_CUDA_RUNNER_DEFAULT 0)
-endif()
-
-set(MLIR_ENABLE_CUDA_RUNNER ${MLIR_ENABLE_CUDA_RUNNER_DEFAULT} CACHE BOOL "Enable building the mlir CUDA runner")
+set(MLIR_ENABLE_CUDA_RUNNER 0 CACHE BOOL "Enable building the mlir CUDA runner")
 set(MLIR_ENABLE_ROCM_RUNNER 0 CACHE BOOL "Enable building the mlir ROCm runner")
 set(MLIR_ENABLE_SPIRV_CPU_RUNNER 0 CACHE BOOL "Enable building the mlir SPIR-V cpu runner")
 set(MLIR_ENABLE_VULKAN_RUNNER 0 CACHE BOOL "Enable building the mlir Vulkan runner")
@@ -106,14 +99,7 @@ option(MLIR_INCLUDE_INTEGRATION_TESTS
 # setting -DMLIR_BINDINGS_PYTHON_LOCK_VERSION=OFF
 #-------------------------------------------------------------------------------
 
-# Until the buildbot configuration is updated, support old name.
-if (${MLIR_BINDINGS_PYTHON_ENABLED})
-  set(MLIR_ENABLE_BINDINGS_PYTHON_DEFAULT ${MLIR_BINDINGS_PYTHON_ENABLED})
-else()
-  set(MLIR_ENABLE_BINDINGS_PYTHON_DEFAULT 0)
-endif()
-
-set(MLIR_ENABLE_BINDINGS_PYTHON ${MLIR_ENABLE_BINDINGS_PYTHON_DEFAULT} CACHE BOOL
+set(MLIR_ENABLE_BINDINGS_PYTHON 0 CACHE BOOL
        "Enables building of Python bindings.")
 set(MLIR_BINDINGS_PYTHON_LOCK_VERSION 1 CACHE BOOL
        "Links to specific python libraries, resolving all symbols.")


        


More information about the Mlir-commits mailing list