[all-commits] [llvm/llvm-project] c06189: [llvm-config] Remove --src-root option

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Nov 2 10:45:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c061892fcdbdfe46884c54a7a7bfe6df54d1df12
      https://github.com/llvm/llvm-project/commit/c061892fcdbdfe46884c54a7a7bfe6df54d1df12
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-config.rst
    M llvm/tools/llvm-config/llvm-config.cpp

  Log Message:
  -----------
  [llvm-config] Remove --src-root option

Remove the `--src-root` option from the deprecated llvm-config tool.
None of the llvm-project projects use this option anymore. The value
was only meaningful for in-tree use and usually became no longer correct
once LLVM was installed -- either because it was built in a temporary
directory, or installed from a binary package and built on a different
system entirely.  Therefore, third-party tools could not have been
relying on it anyway.

The LLVM_SRC_ROOT #define is left intact, as it is used to compute
includedir when llvm-config is used in-source.

Differential Revision: https://reviews.llvm.org/D137144




More information about the All-commits mailing list