File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,13 @@ include(GetClangResourceDir)
557
557
get_clang_resource_dir (HEADER_BINARY_DIR PREFIX ${LLVM_LIBRARY_OUTPUT_INTDIR} /.. SUBDIR include )
558
558
configure_file (
559
559
${FLANG_SOURCE_DIR} /include/flang/ISO_Fortran_binding.h
560
- ${HEADER_BINARY_DIR} /ISO_Fortran_binding.h )
560
+ ${HEADER_BINARY_DIR} /ISO_Fortran_binding.h COPYONLY )
561
+
562
+ # llvm-test-suite explicitly searches for this header file
563
+ # (`ISO_FORTRAN_C_HEADER`), cannot hide it in Clang's resource dir.
564
+ configure_file (
565
+ ${FLANG_SOURCE_DIR} /include/flang/ISO_Fortran_binding.h
566
+ ${LLVM_RUNTIME_OUTPUT_INTDIR} /../include/flang/ISO_Fortran_binding.h COPYONLY )
561
567
562
568
# And also install it into the install area
563
569
get_clang_resource_dir (HEADER_INSTALL_DIR SUBDIR include )
You can’t perform that action at this time.
0 commit comments