[all-commits] [llvm/llvm-project] de38c4: [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (#...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Mon Jun 2 03:37:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de38c4eaf52717f152b41f285403e6006783f39c
      https://github.com/llvm/llvm-project/commit/de38c4eaf52717f152b41f285403e6006783f39c
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/lib/Driver/Driver.cpp
    M clang/tools/driver/driver.cpp
    M flang/docs/FlangDriver.md
    A flang/test/Driver/Inputs/config-7.cfg
    A flang/test/Driver/fcc_override.f90
    M flang/tools/flang-driver/driver.cpp

  Log Message:
  -----------
  [flang][driver] Introduce FCC_OVERRIDE_OPTIONS. (#140556)

This PR add functionality to change `flang` command line using
environment variable `FCC_OVERRIDE_OPTIONS`. It is quite similar to what
`CCC_OVERRIDE_OPTIONS` does for clang.

The `FCC_OVERRIDE_OPTIONS` seemed like the most obvious name to me but I
am open to other ideas. The `applyOverrideOptions` now takes an extra
argument that is the name of the environment variable. Previously
`CCC_OVERRIDE_OPTIONS` was hardcoded.



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