[llvm] [Fortran] Use INTERFACE targets for options and dependencies (PR #193469)
Tarun Prabhu via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 08:59:20 PDT 2026
================
@@ -154,11 +161,20 @@ if (CMAKE_Fortran_COMPILER)
enable_language(Fortran)
include(CheckFortranSourceCompiles)
+ if (CMAKE_Fortran_COMPILER_ID MATCHES "LLVM")
+ target_compile_options(fortran-compile-options INTERFACE
+ # Flang bug workaround: Reformating of cooked token buffer causes
+ # identifier to be split between lines
----------------
tarunprabhu wrote:
Do you know if this bug is being tracked? Just curious.
https://github.com/llvm/llvm-project/pull/193469
More information about the llvm-commits
mailing list