[all-commits] [llvm/llvm-project] 9edcf7: [flang][driver] Add support for -isysroot in the f...

Leandro Lupori via All-commits all-commits at lists.llvm.org
Thu Jan 11 05:38:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9edcf7a28eee1e3b2d22bd3aed9e405e17beacce
      https://github.com/llvm/llvm-project/commit/9edcf7a28eee1e3b2d22bd3aed9e405e17beacce
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M clang/docs/InternalsManual.rst
    M clang/include/clang/Driver/Options.td
    M flang/docs/FlangDriver.md
    M flang/test/Driver/compiler-options.f90
    M flang/test/Driver/ctofortran.f90
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    A flang/test/Driver/exec.f90
    M flang/test/Driver/falias-analysis.f90
    M flang/test/Driver/input-from-stdin/input-from-stdin.f90
    A flang/test/Driver/isysroot.f90
    M flang/test/Preprocessing/preprocessed-dirs.F90
    M flang/test/Semantics/OpenMP/use_device_addr.f90
    M flang/test/Semantics/OpenMP/use_device_ptr.f90
    M flang/test/lit.cfg.py

  Log Message:
  -----------
  [flang][driver] Add support for -isysroot in the frontend (#77365)

If DEFAULT_SYSROOT is not specfied when building flang, then the
-isysroot flag is needed to link binaries against system libraries
on Darwin. It's also needed when linking against a non-default
sysroot.




More information about the All-commits mailing list