We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6be91db + 55a2f6d commit e84a565Copy full SHA for e84a565
flang/CMakeLists.txt
@@ -530,7 +530,13 @@ include(GetClangResourceDir)
530
get_clang_resource_dir(HEADER_BINARY_DIR PREFIX ${LLVM_LIBRARY_OUTPUT_INTDIR}/.. SUBDIR include)
531
configure_file(
532
${FLANG_SOURCE_DIR}/include/flang/ISO_Fortran_binding.h
533
- ${HEADER_BINARY_DIR}/ISO_Fortran_binding.h)
+ ${HEADER_BINARY_DIR}/ISO_Fortran_binding.h COPYONLY)
534
+
535
+# llvm-test-suite explicitly searches for this header file
536
+# (`ISO_FORTRAN_C_HEADER`), cannot hide it in Clang's resource dir.
537
+configure_file(
538
+ ${FLANG_SOURCE_DIR}/include/flang/ISO_Fortran_binding.h
539
+ ${LLVM_RUNTIME_OUTPUT_INTDIR}/../include/flang/ISO_Fortran_binding.h COPYONLY)
540
541
# And also install it into the install area
542
get_clang_resource_dir(HEADER_INSTALL_DIR SUBDIR include)
0 commit comments