[PATCH] D137144: [llvm-config] Remove --src-root option
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 2 10:46:01 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc061892fcdbd: [llvm-config] Remove --src-root option (authored by mgorny).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137144/new/
https://reviews.llvm.org/D137144
Files:
llvm/docs/CommandGuide/llvm-config.rst
llvm/tools/llvm-config/llvm-config.cpp
Index: llvm/tools/llvm-config/llvm-config.cpp
===================================================================
--- llvm/tools/llvm-config/llvm-config.cpp
+++ llvm/tools/llvm-config/llvm-config.cpp
@@ -234,7 +234,6 @@
--obj-root Print the object root used to build LLVM.\n\
--prefix Print the installation prefix.\n\
--shared-mode Print how the provided components can be collectively linked (`shared` or `static`).\n\
- --src-root Print the source root LLVM was built from.\n\
--system-libs System Libraries needed to link against LLVM components.\n\
--targets-built List of all targets currently built.\n\
--version Print LLVM version.\n\
@@ -592,8 +591,6 @@
PrintSharedMode = true;
} else if (Arg == "--obj-root") {
OS << ActivePrefix << '\n';
- } else if (Arg == "--src-root") {
- OS << LLVM_SRC_ROOT << '\n';
} else if (Arg == "--ignore-libllvm") {
LinkDyLib = false;
LinkMode = BuiltSharedLibs ? LinkModeShared : LinkModeAuto;
Index: llvm/docs/CommandGuide/llvm-config.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-config.rst
+++ llvm/docs/CommandGuide/llvm-config.rst
@@ -130,10 +130,6 @@
Print how the provided components can be collectively linked (`shared` or `static`).
-**--src-root**
-
- Print the source root from which LLVM was built.
-
**--system-libs**
Print all the system libraries needed to link against the specified LLVM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137144.472687.patch
Type: text/x-patch
Size: 1536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221102/07123e73/attachment.bin>
More information about the llvm-commits
mailing list