llvm-project/flang/test
Andrzej Warzynski dda366ed37 [flang][cmake] Make CMake copy "omp_lib.h" into the build directory
Any header or module file in the Flang source directory is of no use to
the compiler unless it is copied into the build directory. Indeed, all
compiler search paths are relative to the compiler executable (flang-new
in our case). Hence, "omp_lib.h" should be copied into the build
directory alongside other compiler-provided files that can be "included"
(header files) or "used" (module files).

For now, "omp_lib.h" is copied into "<build-dir>/include/flang/OpenMP".
We may decide to change this in future. For example, Clang copies a
bunch of runtime headers into “<build-dir>/lib/clang/<version-number>”.
We could also consider using a similar header from a different
sub-project.

Flang's driver search path is updated accordingly. A rule for
"installing" the "omp_lib.h" header is _yet to be added_ (we will also
need to determine the suitable location for this).

Differential Revision: https://reviews.llvm.org/D122015
2022-04-05 08:25:26 +00:00
..
Driver [flang][cmake] Make CMake copy "omp_lib.h" into the build directory 2022-04-05 08:25:26 +00:00
Evaluate [flang] prevent undefined behavior in character MAXLOC folding 2022-03-29 09:34:09 +02:00
Examples [flang][Parser] Add a node for individual sections in sections construct 2022-03-18 21:55:35 +05:30
Fir [flang][NFC] Add tests for array-value-copy pass with array with pointers 2022-04-04 10:45:45 +02:00
Frontend [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
Lower [flang] Add one semantic check for allocatable/pointer argument association 2022-04-04 23:16:30 +08:00
NonGtestUnit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
Parser [flang][Parser] Add a node for individual sections in sections construct 2022-03-18 21:55:35 +05:30
Preprocessing [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
Runtime Reland "[flang] GET_COMMAND_ARGUMENT runtime implementation" 2021-09-28 12:34:07 +00:00
Semantics [flang] Add one semantic check for allocatable/pointer argument association 2022-04-04 23:16:30 +08:00
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
CMakeLists.txt [flang][NFC] Add module lowering tests 2022-03-23 17:51:09 +01:00
lit.cfg.py [flang][driver] Add support for -S and implement -c/-emit-obj 2022-03-09 15:48:09 +00:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00