forked from OSchip/llvm-project
Revert "llvm-config-2: Switch to using real library dependency table." while I
investigate build failure. llvm-svn: 143888
This commit is contained in:
parent
f233dac67c
commit
490aa6fd87
|
@ -43,7 +43,15 @@ using namespace llvm;
|
||||||
//
|
//
|
||||||
// Not all components define a library, we also use "library groups" as a way to
|
// Not all components define a library, we also use "library groups" as a way to
|
||||||
// create entries for pseudo groups like x86 or all-targets.
|
// create entries for pseudo groups like x86 or all-targets.
|
||||||
#include "LibraryDependencies.inc"
|
//
|
||||||
|
// FIXME: Include real component table.
|
||||||
|
struct AvailableComponent {
|
||||||
|
const char *Name;
|
||||||
|
const char *Library;
|
||||||
|
const char *RequiredLibraries[1];
|
||||||
|
} AvailableComponents[1] = {
|
||||||
|
{ "all", 0, { } }
|
||||||
|
};
|
||||||
|
|
||||||
/// \brief Traverse a single component adding to the topological ordering in
|
/// \brief Traverse a single component adding to the topological ordering in
|
||||||
/// \arg RequiredLibs.
|
/// \arg RequiredLibs.
|
||||||
|
@ -256,6 +264,7 @@ int main(int argc, char **argv) {
|
||||||
} else if (Arg == "--libfiles") {
|
} else if (Arg == "--libfiles") {
|
||||||
PrintLibFiles = true;
|
PrintLibFiles = true;
|
||||||
} else if (Arg == "--components") {
|
} else if (Arg == "--components") {
|
||||||
|
OS << "all";
|
||||||
for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) {
|
for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) {
|
||||||
OS << ' ';
|
OS << ' ';
|
||||||
OS << AvailableComponents[j].Name;
|
OS << AvailableComponents[j].Name;
|
||||||
|
|
Loading…
Reference in New Issue