================
@@ -540,6 +554,20 @@ ifeq ($(CC_TYPE), clang)
        CXXFLAGS += --driver-mode=g++
 endif
 
+#----------------------------------------------------------------------
+# Check if we have any Fortran source files
+#----------------------------------------------------------------------
+ifneq "$(strip $(F_SOURCES))" ""
+       ifeq "$(FC)" ""
+    $(error "No Fortran compiler found for fortran tests")
+  endif
+  OBJECTS +=$(strip $(F_SOURCES:.f90=.o))
+       # Override the linker with the Fortran compiler, LDC is not needed 
+       # currently so it is set to any
----------------
DavidSpickett wrote:

Comments are sentences - https://llvm.org/docs/CodingStandards.html#commenting, 
so full stop on the end here.

https://github.com/llvm/llvm-project/pull/208298
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to