Skip to content

Commit 6b46210

Browse files
committed
Specifically refer to flang_rt.runtime in comments
1 parent 6f2d9c9 commit 6b46210

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

flang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ set(FLANG_DEFAULT_LINKER "" CACHE STRING
301301
"Default linker to use (linker name or absolute path, empty for platform default)")
302302

303303
set(FLANG_DEFAULT_RTLIB "" CACHE STRING
304-
"Default Fortran runtime library to use (\"libflang_rt\"), leave empty for platform default.")
304+
"Default Fortran runtime library to use (\"libflang_rt.runtime\"), leave empty for platform default.")
305305

306306
if (NOT(FLANG_DEFAULT_RTLIB STREQUAL ""))
307307
message(WARNING "Resetting Flang's default runtime library to use platform default.")

flang/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ enable_omp_offload_compilation("${supported_files}")
247247
if (NOT TARGET flang_rt.quadmath)
248248
# If flang_rt.quadmath is not defined, then we are not building
249249
# standalone flang_rt.quadmath library. Instead, include
250-
# the relevant sources into flang_rt itself.
250+
# the relevant sources into flang_rt.runtime itself.
251251
# The information is provided via FortranFloat128MathILib
252252
# interface library.
253253
get_target_property(f128_sources

flang/tools/f18/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(LLVM_LINK_COMPONENTS
55
)
66

77
# Define the list of Fortran module files that need to be compiled
8-
# to produce an object file for inclusion into the flang_rt
8+
# to produce an object file for inclusion into the flang_rt.runtime
99
# library.
1010
set(MODULES_WITH_IMPLEMENTATION
1111
"iso_fortran_env_impl"
@@ -105,7 +105,7 @@ if (NOT CMAKE_CROSSCOMPILING)
105105
endif()
106106

107107
# Some modules have an implementation part that needs to be added to the
108-
# flang_rt library.
108+
# flang_rt.runtime library.
109109
set(compile_with "-fsyntax-only")
110110
set(object_output "")
111111
set(include_in_link FALSE)
@@ -127,14 +127,14 @@ if (NOT CMAKE_CROSSCOMPILING)
127127
install(FILES ${base}.mod DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/flang")
128128

129129
# If a module has been compiled into an object file, add the file to
130-
# the link line for the flang_rt library.
130+
# the link line for the flang_rt.runtime library.
131131
if(include_in_link)
132132
list(APPEND module_objects ${object_output})
133133
endif()
134134
endforeach()
135135

136136
# Set a CACHE variable that is visible to the CMakeLists.txt in runtime/, so that
137-
# the compiled Fortran modules can be added to the link line of the flang_rt
137+
# the compiled Fortran modules can be added to the link line of the flang_rt.runtime
138138
# library.
139139
set(FORTRAN_MODULE_OBJECTS ${module_objects} CACHE INTERNAL "" FORCE)
140140

flang/unittests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include(AddFlangOffloadRuntime)
22

33
if (FLANG_EXPERIMENTAL_CUDA_RUNTIME)
44
# If Fortran runtime is built as CUDA library, the linking
5-
# of targets that link flang_rt must be done
5+
# of targets that link flang_rt.runtime must be done
66
# with CUDA_RESOLVE_DEVICE_SYMBOLS.
77
# CUDA language must be enabled for CUDA_RESOLVE_DEVICE_SYMBOLS
88
# to take effect.

0 commit comments

Comments
 (0)