[all-commits] [llvm/llvm-project] 8e1203: [flang] Fix finding system install of LLVM/Clang/M...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Jan 9 10:37:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e12037d38e2a9a1cfc6402be2b33283e3220bcc
      https://github.com/llvm/llvm-project/commit/8e12037d38e2a9a1cfc6402be2b33283e3220bcc
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix finding system install of LLVM/Clang/MLIR in standalone builds (#120914)

The changes in #87822 introduced a regression where Flang could no
longer be built standalone without explicitly specifying all of
LLVM_DIR, CLANG_DIR and MLIR_DIR. Restore the earlier logic that used
these paths as hints, and supported finding system-wide LLVM install via
default paths. Instead, make paths absolute after locating the packages,
using the paths CMake determined.

-----

@vzakhari, could you confirm that this doesn't break your use case?



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