From 54131ecb25fa34041b7e377db515014416127409 Mon Sep 17 00:00:00 2001 From: Yuanhao Ji Date: Tue, 14 May 2024 21:04:44 +0000 Subject: [PATCH] Remove redundant spaces in CMakeLists.txt (#126042) Fixes #126023 ```diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 79db67e735..924721d2e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -281,8 +281,8 @@ if(NOT DEFINED USE_VULKAN) endif() option(USE_SLEEF_FOR_ARM_VEC256 "Use sleef for arm" OFF) -option(USE_SOURCE_DEBUG_ON_MOBILE "Enable " ON) -option(USE_LITE_INTERPRETER_PROFILER "Enable " ON) +option(USE_SOURCE_DEBUG_ON_MOBILE "Enable" ON) +option(USE_LITE_INTERPRETER_PROFILER "Enable" ON) option(USE_VULKAN_FP16_INFERENCE "Vulkan - Use fp16 inference" OFF) option(USE_VULKAN_RELAXED_PRECISION "Vulkan - Use relaxed precision math in the kernels (mediump)" OFF) # option USE_XNNPACK: try to enable xnnpack by default. ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/126042 Approved by: https://github.com/r-barnes --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0944733dda87..f7561d606cbdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -277,8 +277,8 @@ if(NOT DEFINED USE_VULKAN) endif() option(USE_SLEEF_FOR_ARM_VEC256 "Use sleef for arm" OFF) -option(USE_SOURCE_DEBUG_ON_MOBILE "Enable " ON) -option(USE_LITE_INTERPRETER_PROFILER "Enable " ON) +option(USE_SOURCE_DEBUG_ON_MOBILE "Enable" ON) +option(USE_LITE_INTERPRETER_PROFILER "Enable" ON) option(USE_VULKAN_FP16_INFERENCE "Vulkan - Use fp16 inference" OFF) option(USE_VULKAN_RELAXED_PRECISION "Vulkan - Use relaxed precision math in the kernels (mediump)" OFF) # option USE_XNNPACK: try to enable xnnpack by default.