[flang-commits] [flang] 0b3c48d - [cmake] Correct option to LLVM_FORCE_USE_OLD_TOOLCHAIN

Jonas Hahnfeld via flang-commits flang-commits at lists.llvm.org
Wed May 17 01:36:13 PDT 2023


Author: Jonas Hahnfeld
Date: 2023-05-17T10:35:49+02:00
New Revision: 0b3c48d5722a30e8b052b8d08f6de5afcf2edeb1

URL: https://github.com/llvm/llvm-project/commit/0b3c48d5722a30e8b052b8d08f6de5afcf2edeb1
DIFF: https://github.com/llvm/llvm-project/commit/0b3c48d5722a30e8b052b8d08f6de5afcf2edeb1.diff

LOG: [cmake] Correct option to LLVM_FORCE_USE_OLD_TOOLCHAIN

This option was renamed a long time ago in commit 388cefa78d.

Added: 
    

Modified: 
    clang/CMakeLists.txt
    flang/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index bd2ac69c1455..8220a9dbfd4d 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -54,7 +54,7 @@ if(CLANG_BUILT_STANDALONE)
   option(LLVM_INSTALL_TOOLCHAIN_ONLY
     "Only include toolchain files in the 'install' target." OFF)
 
-  option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+  option(LLVM_FORCE_USE_OLD_TOOLCHAIN
     "Set to ON to force using an old, unsupported host toolchain." OFF)
   option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)

diff  --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt
index 66a09703c87d..4c0b9a84cc5b 100644
--- a/flang/CMakeLists.txt
+++ b/flang/CMakeLists.txt
@@ -125,7 +125,7 @@ if (FLANG_STANDALONE_BUILD)
 
   option(LLVM_INSTALL_TOOLCHAIN_ONLY
     "Only include toolchain files in the 'install' target." OFF)
-  option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+  option(LLVM_FORCE_USE_OLD_TOOLCHAIN
     "Set to ON to force using an old, unsupported host toolchain." OFF)
 
 


        


More information about the flang-commits mailing list