search for: add_llvm_tool_subdirectory

Displaying 6 results from an estimated 6 matches for "add_llvm_tool_subdirectory".

2015 Jun 19
4
[LLVMdev] Long-Term Support for LLVM Projects Extension to Build System?
...s, but we might want to restore some of that functionality for the purpose of supporting out-of-tree projects. What I mean specifically, is that, for example, we could have a normally-empty directory tools/extensions, and tools/CMakeLists.txt could glob for directories in tools/extensions and call add_llvm_tool_subdirectory on all of them. It is true that you'd need to re-run cmake whenever you added something there (we could have a README in that directory to remind people of that), but that seems like a much smaller price than having to maintain a patched version of the upstream sources. -Hal > > -eric...
2015 Jun 19
3
[LLVMdev] Long-Term Support for LLVM Projects Extension to Build System?
...; > I actually think these are completely separate. See below. > > > What I mean specifically, is that, for example, we could have a > normally-empty directory tools/extensions, and > tools/CMakeLists.txt could glob for directories in > tools/extensions and call add_llvm_tool_subdirectory on all of > them. It is true that you'd need to re-run cmake whenever you > added something there (we could have a README in that directory to > remind people of that), but that seems like a much smaller price > than having to maintain a patched version of the upstre...
2013 Sep 30
1
[LLVMdev] RFC: llvm-shlib-test (Was: [llvm] r191029 - llvm-c: Make LLVMGetFirstTarget a proper prototype)
Attached is what I got thus far. What I'm struggling with is proper integration in build system. What is in there is just wild guesses from my side, both on autoconf and cmake variants. It would be great if someone with proper knowledge of the buildsystems could have a look. Also I'm not sure how to properly handle compilation on msvc - clearly "-std=c11 -Wstrict-prototypes" is
2015 Jun 19
2
[LLVMdev] Long-Term Support for LLVM Projects Extension to Build System?
...actually think these are completely separate. See below. > > >> >> What I mean specifically, is that, for example, we could have a >> normally-empty directory tools/extensions, and tools/CMakeLists.txt could >> glob for directories in tools/extensions and call >> add_llvm_tool_subdirectory on all of them. It is true that you'd need to >> re-run cmake whenever you added something there (we could have a README in >> that directory to remind people of that), but that seems like a much >> smaller price than having to maintain a patched version of the upstream >&g...
2014 Jun 13
2
[LLVMdev] LLVMgold.so in windows LLVM builds
I am trying to build LLVMgold.so on windows. I came across this piece of code which includes “gold” source directory in tools/CMakeLists.txt if( LLVM_ENABLE_PIC ) # TODO: support other systems: if( (CMAKE_SYSTEM_NAME STREQUAL "Linux") OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ) add_llvm_tool_subdirectory(gold) else() ignore_llvm_tool_subdirectory(gold) endif() else() ignore_llvm_tool_subdirectory(gold) endif() This basically says, I cannot build LLVMgold.so on windows. Any specific reasons for why this is the case? --Sumanth G
2015 Jun 19
3
[LLVMdev] Long-Term Support for LLVM Projects Extension to Build System?
On 6/18/15 6:49 PM, Eric Christopher wrote: > Hi John, > > Long term we don't want to keep the burden of two build systems in > tree. CMake is turning out to be the build system we want because of > its multi-platform support, etc and as soon as the CMake system can do > everything we can do with the autoconf/makefile build I plan on > turning down the support for that