aboutsummaryrefslogtreecommitdiff
path: root/mlir/CMakeLists.txt
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2021-05-24 08:50:17 +0530
committerUday Bondhugula <uday@polymagelabs.com>2021-05-24 15:30:01 +0530
commit587408c199e8125bb454a44b7a7b20e015f4d317 (patch)
treec8c92c418d3069d185ee03f57363b74ddfcb9f12 /mlir/CMakeLists.txt
parent7a211ed110a72ad453305aba250da50c965c2f8e (diff)
downloadllvm-587408c199e8125bb454a44b7a7b20e015f4d317.zip
llvm-587408c199e8125bb454a44b7a7b20e015f4d317.tar.gz
llvm-587408c199e8125bb454a44b7a7b20e015f4d317.tar.bz2
[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
Diffstat (limited to 'mlir/CMakeLists.txt')
-rw-r--r--mlir/CMakeLists.txt18
1 files changed, 2 insertions, 16 deletions
diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt
index 93b6d00..54ea572 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.")