Skip to content

Commit b02e9ad

Browse files
committed
Suggest both options to build Flang-RT
1 parent 4643eaf commit b02e9ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,13 @@ if (FLANG_INCLUDE_RUNTIME)
247247
message(WARNING "Building Flang-RT using LLVM_ENABLE_RUNTIMES. FLANG_INCLUDE_RUNTIME=${FLANG_INCLUDE_RUNTIME} ignored.")
248248
set(FLANG_INCLUDE_RUNTIME OFF)
249249
else ()
250-
message(STATUS "Building flang_rt in-tree")
250+
message(STATUS "Building Flang-RT in-tree")
251251
endif ()
252252
else ()
253253
if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES)
254-
message(STATUS "Building Flang-RT using LLVM_ENABLE_RUNTIMES.")
254+
message(STATUS "Building Flang-RT using LLVM_ENABLE_RUNTIMES")
255255
else ()
256-
message(STATUS "Not building Flang-RT. For a usable Fortran toolchain, compile a standalone Flang-RT")
256+
message(STATUS "Not building Flang-RT. For a usable Fortran toolchain, either add LLVM_ENABLE_RUNTIMES=flang-rt, or compile a standalone Flang-RT.")
257257
endif ()
258258
endif ()
259259

0 commit comments

Comments
 (0)