
Following the conclusion of the [RFC](https://discourse.llvm.org/t/rfc-names-for-flang-rt-libraries/84321), rename Flang's runtime libraries as follows: * libFortranRuntime.(a|so) to libflang_rt.runtime.(a|so) * libFortranFloat128Math.a to libflang_rt.quadmath.a * libCufRuntime_cuda_${CUDAToolkit_VERSION_MAJOR}.(a|so) to libflang_rt.cuda_${CUDAToolkit_VERSION_MAJOR}.(a|so) This follows the same naming scheme as Compiler-RT libraries (`libclang_rt.${component}.(a|so)`). It provides some consistency between Flang's runtime libraries for current and potential future library components.
42 lines
747 B
CMake
42 lines
747 B
CMake
add_flang_unittest(FlangRuntimeTests
|
|
AccessTest.cpp
|
|
Allocatable.cpp
|
|
ArrayConstructor.cpp
|
|
BufferTest.cpp
|
|
CharacterTest.cpp
|
|
CommandTest.cpp
|
|
Complex.cpp
|
|
CrashHandlerFixture.cpp
|
|
Derived.cpp
|
|
ExternalIOTest.cpp
|
|
Format.cpp
|
|
Inquiry.cpp
|
|
ListInputTest.cpp
|
|
LogicalFormatTest.cpp
|
|
Matmul.cpp
|
|
MatmulTranspose.cpp
|
|
MiscIntrinsic.cpp
|
|
Namelist.cpp
|
|
Numeric.cpp
|
|
NumericalFormatTest.cpp
|
|
Pointer.cpp
|
|
Ragged.cpp
|
|
Random.cpp
|
|
Reduction.cpp
|
|
RuntimeCrashTest.cpp
|
|
Stop.cpp
|
|
Support.cpp
|
|
Time.cpp
|
|
TemporaryStack.cpp
|
|
Transformational.cpp
|
|
)
|
|
|
|
target_link_libraries(FlangRuntimeTests
|
|
PRIVATE
|
|
flang_rt.runtime
|
|
)
|
|
|
|
target_compile_definitions(FlangRuntimeTests PRIVATE NOT_EXE="$<TARGET_FILE:not>")
|
|
|
|
add_subdirectory(CUDA)
|