Skip to content

Commit 6bf3a00

Browse files
Meinersburfrederik-h
authored andcommitted
[Flang-RT][NFC] Fix comment
The cases of LLVM_ENABLE_PER_TARGET_RUNTIME_DIR were swapped. Noticed by @DanielCChen in llvm#130875. Thanks!
1 parent 2007d0a commit 6bf3a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang-rt/cmake/modules/GetToolchainDirs.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#
1515
# Compiler-RT has two mechanisms for the path (simplified):
1616
#
17-
# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=1: lib/${oslibname}/libclang_rt.builtins-${arch}.a
18-
# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=0: lib/${triple}/libclang_rt.builtins.a
17+
# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=0: lib/${oslibname}/libclang_rt.builtins-${arch}.a
18+
# * LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=1: lib/${triple}/libclang_rt.builtins.a
1919
#
2020
# LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON is the newer scheme, but the old one is
2121
# currently still used for some platforms such as Windows. Clang looks for which

0 commit comments

Comments
 (0)