From 13261e856aa54e6c86b500c6d0bb329f08ad5eb7 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Thu, 13 Mar 2025 11:41:10 +0100 Subject: [PATCH] [Flang-RT][NFC] Fix comment The cases of LLVM_ENABLE_PER_TARGET_RUNTIME_DIR were swapped. Noticed by @DanielCChen in #130875. Thanks! --- flang-rt/cmake/modules/GetToolchainDirs.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flang-rt/cmake/modules/GetToolchainDirs.cmake b/flang-rt/cmake/modules/GetToolchainDirs.cmake index 426a5e8e801f..3906f69a152f 100644 --- a/flang-rt/cmake/modules/GetToolchainDirs.cmake +++ b/flang-rt/cmake/modules/GetToolchainDirs.cmake @@ -14,8 +14,8 @@ # # Compiler-RT has two mechanisms for the path (simplified): # -# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=1: lib/${oslibname}/libclang_rt.builtins-${arch}.a -# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=0: lib/${triple}/libclang_rt.builtins.a +# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=0: lib/${oslibname}/libclang_rt.builtins-${arch}.a +# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=1: lib/${triple}/libclang_rt.builtins.a # # LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON is the newer scheme, but the old one is # currently still used for some platforms such as Windows. Clang looks for which