1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[flang][docs] Initial documentation for the Fortran LLVM Test Suite.

Describes how to run the Fortran LLVM Test Suite, specifically the external SPEC CPU 2017 Fortran tests.

Reviewed By: rovka

Differential Revision: https://reviews.llvm.org/D102877
This commit is contained in:
naromero77 2021-05-26 15:54:16 -05:00
parent df086a1bfa
commit 863822a0e1

View File

@ -158,6 +158,11 @@ benchmarks. CMake can print a list of them:
automatically use `path/to/clang++` as the C++ compiler. See
[https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER.html](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER.html)
- `CMAKE_Fortran_COMPILER`
Select the Fortran compiler executable to be used. Not set by default and not
required unless running the Fortran Test Suite.
- `CMAKE_BUILD_TYPE`
Select a build type like `OPTIMIZE` or `DEBUG` selecting a set of predefined
@ -165,6 +170,11 @@ benchmarks. CMake can print a list of them:
option and may be changed by modifying `CMAKE_C_FLAGS_OPTIMIZE` etc. See
[https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html)
- `TEST_SUITE_FORTRAN`
Activate that Fortran tests. This is a work in progress. More information can be
found in the [Flang documentation](https://flang.llvm.org/docs/html/FortranLLVMTestSuite.html)
- `TEST_SUITE_RUN_UNDER`
Prefix test invocations with the given tool. This is typically used to run