Displaying 2 results from an estimated 2 matches for "computelibsforcomponents".
2011 Dec 12
0
[LLVMdev] [PATCH] llvm-config: Use "all" components by default.
...cpp
@@ -301,6 +301,8 @@ int main(int argc, char **argv) {
if (PrintLibs || PrintLibNames || PrintLibFiles) {
// Construct the list of all the required libraries.
+ if (Components.empty())
+ Components.push_back("all");
std::vector<StringRef> RequiredLibs;
ComputeLibsForComponents(Components, RequiredLibs);
--
1.7.7
2011 Nov 16
1
[LLVMdev] LLVM: Cannot build LLVM 3.0 (from SVN) in Cygwin (GCC 3.4.4)
...this function)
llvm-config.cpp:60: error: request for member `lookup' in `ComponentMap',
which is of non-class type `const int'
llvm-config.cpp:64: error: request for member `insert' in
`VisitedComponents', which is of non-class type `int'
llvm-config.cpp: In function `void ComputeLibsForComponents(const
std::vector<llvm::StringRef, std::allocator<llvm::StringRe
f> >&, std::vector<llvm::StringRef, std::allocator<llvm::StringRef> >&)':
llvm-config.cpp:89: error: `AvailableComponent' undeclared (first use this
function)
llvm-config.cpp:89: error: template...