search for: _archive_

Displaying 3 results from an estimated 3 matches for "_archive_".

2015 Jul 16
5
[LLVMdev] Using thin archives when building llvm
I have just committed support to llvm-ar for creating thin archives. The idea of thin archives is that they contain just the symbol table and the path to find the original .o files. By locally making thin archives the default I was able to build llvm+lld+clang with them. The total size of the .a files goes from 181,658,164 to 7,116,900 bytes. Is there any way to do that with cmake without having
2015 Jul 17
2
[LLVMdev] Using thin archives when building llvm
...cmake to run >> >> .../llvm-ar cqT foo.a .... >> >> instead of >> >> .../llvm-ar cq foo.a .... > > CMake has undocumented variables set by the Modules/Platform/* > files to specify the rules for creating archives. These are: > > CMAKE_<LANG>_ARCHIVE_{CREATE,APPEND,FINISH} I went with this one on my run-cmake script, thanks. Cheers, Rafael
2015 Jul 17
2
[LLVMdev] Using thin archives when building llvm
> CMake has undocumented variables set by the Modules/Platform/* > files to specify the rules for creating archives. These are: > > CMAKE_<LANG>_ARCHIVE_{CREATE,APPEND,FINISH} > > for creating, appending to, and finishing an archive. For > tools/platforms that do not support separate steps we also > have: > > CMAKE_<LANG>_CREATE_STATIC_LIBRARY Setting CMAKE_CXX_CREATE_STATIC_LIBRARY works on OS X and linux, but on windows...