[all-commits] [llvm/llvm-project] ed2bfd: [Flang] Add -fintrinsic-modules-path= alias (#149417)

Michael Kruse via All-commits all-commits at lists.llvm.org
Mon Jul 21 08:18:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed2bfd132509da679320a1d691af4a91192297d0
      https://github.com/llvm/llvm-project/commit/ed2bfd132509da679320a1d691af4a91192297d0
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/test/Driver/intrinsic-module-path.f90

  Log Message:
  -----------
  [Flang] Add -fintrinsic-modules-path= alias (#149417)

Add the syntax `-fintrinsic-modules-path=<dir>` as an alias to the
existing option `-fintrinsic-modules-path <dir>`. gfortran also supports
both alternatives.

This is particularly useful with CMake which de-duplicates command-line
options. For instance,
`-fintrinsic-modules-path /path/A -fintrinsic-modules-path /path/B`
is de-duplicated to
`-fintrinsic-modules-path /path/A /path/B`
since it conisiders the second `-fintrinsic-modules-path`
"redundant". This can be avoided using the syntax
`-fintrinsic-modules-path=/path/A -fintrinsic-modules-path=/path/B`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list