Displaying 20 results from an estimated 31 matches for "llvm_add_library".
2014 Feb 10
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
NAKAMURA Takumi wrote:
> [CMake] Introduce llvm_add_library().
I recommend moving away from wrappers like this. They indicate that either
CMake is not providing the interfaces needed, or not propagating them, or
that they exist but are not used.
Such wrappers don't parse the arguments in the same way as the wrapped
command etc. Wrappers are not go...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...-Juergen
On Feb 10, 2014, at 2:34 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Steve, excuse me to respond you partially.
>
> 2014-02-10 18:54 GMT+09:00 Stephen Kelly <steveire at gmail.com>:
>> NAKAMURA Takumi wrote:
>>
>>> [CMake] Introduce llvm_add_library().
>>
>> I recommend moving away from wrappers like this. They indicate that either
>> CMake is not providing the interfaces needed, or not propagating them, or
>> that they exist but are not used.
>>
>> Such wrappers don't parse the arguments in the same w...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...at 2:34 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>>
>> Steve, excuse me to respond you partially.
>>
>> 2014-02-10 18:54 GMT+09:00 Stephen Kelly <steveire at gmail.com>:
>>
>> NAKAMURA Takumi wrote:
>>
>> [CMake] Introduce llvm_add_library().
>>
>>
>> I recommend moving away from wrappers like this. They indicate that either
>> CMake is not providing the interfaces needed, or not propagating them, or
>> that they exist but are not used.
>>
>> Such wrappers don't parse the arguments in...
2019 Jan 09
4
Problems trying to build LLVM
...ror at cmake/modules/AddLLVM.cmake:570 (target_link_libraries):
Attempt to add link library "clangAST" to target
"clangApplyReplacements"
which is not built in this directory.
Call Stack (most recent call first):
tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
tools/extra/clang-apply-replacements/CMakeLists.txt:5
(add_clang_library)
Getting LLVM installed is proving much more problematic than I was
expecting, based on experience with many other open source projects. Can
someone give me a push in the right direction? I started with this
document:...
2019 May 08
2
How can I fix/exclude some failing tests when building with BUILD_SHARED_LIBS=ON
...so I'd like to either turn if off when
BUILD_SHARED_LIBS=ON, or find a way to fix it. Thought about trying to use
DYLD_LIBRARY_PATH, but don't think that's the correct approach.
There are also a set of clang module tests that fail, as well as a few
tools that build local without using llvm_add_library that I plan to fix,
but I think this one is special due to the copy.
thanks in advance...
don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190508/a1de756b/attachment.html>
2019 Feb 05
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...anged. This is what I get when I build:
>>
>> [tstellar at llvm llvm-build]$ objdump -p lib/libLLVM-7.1.so | grep SONAME
>> SONAME libLLVM-7.1.so
>>
>
> I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON.
> The one defined in llvm_add_library() function:
>
> set_target_properties(${name}
> PROPERTIES
> # Since 4.0.0, the ABI version is indicated by the major version
> SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
> VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
>...
2015 May 28
5
[LLVMdev] Building poolalloc with current LLVM development branch?
...dup.c
Please update
/opt/clang-llvm/llvm/projects/poolalloc/runtime/PreRT/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:263 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:418 (llvm_add_library)
projects/poolalloc/runtime/PreRT/CMakeLists.txt:2 (add_llvm_library)
Thanks,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150528/ad3e49a2/attachment.html>
2019 Feb 06
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...> [tstellar at llvm llvm-build]$ objdump -p lib/libLLVM-7.1.so | grep SONAME
> > > > SONAME libLLVM-7.1.so
> > > >
> > >
> > > I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON.
> > > The one defined in llvm_add_library() function:
> > >
> > > set_target_properties(${name}
> > > PROPERTIES
> > > # Since 4.0.0, the ABI version is indicated by the major version
> > > SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
> > >...
2016 Jan 17
3
Building SVN head with CMake - shared libraries?
...The imported target "LLVMSupport" references the file
>>>>
>>>> "/usr/lib64/libLLVMSupport.a"
>>>
>>> Could you try appending ``-DLLVM_LINK_LLVM_DYLIB=ON`` to your CMake
>>> invocation? It looks like lldb is using the ``llvm_add_library()``
>>> function in the ``cmake/modules/AddLLVM.cmake`` (LLVM source tree)
>>> which uses ``LLVM_LINK_LLVM_DYLIB`` (and a few other variables) to
>>> decide whether to link against LLVM's static component libraries or
>>> the monolithic shared library. I coul...
2019 Feb 07
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...b/libLLVM-7.1.so | grep SONAME
> > > > > > SONAME libLLVM-7.1.so
> > > > > >
> > > > >
> > > > > I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON.
> > > > > The one defined in llvm_add_library() function:
> > > > >
> > > > > set_target_properties(${name}
> > > > > PROPERTIES
> > > > > # Since 4.0.0, the ABI version is indicated by the major version
> > > > > SOVERSION ${LLVM_VERSION_...
2016 Jan 16
3
Building SVN head with CMake - shared libraries?
...VMExports.cmake:1011 (message):
>> The imported target "LLVMSupport" references the file
>>
>> "/usr/lib64/libLLVMSupport.a"
>
> Could you try appending ``-DLLVM_LINK_LLVM_DYLIB=ON`` to your CMake
> invocation? It looks like lldb is using the ``llvm_add_library()``
> function in the ``cmake/modules/AddLLVM.cmake`` (LLVM source tree)
> which uses ``LLVM_LINK_LLVM_DYLIB`` (and a few other variables) to
> decide whether to link against LLVM's static component libraries or
> the monolithic shared library. I could be wrong on this though but it...
2020 May 20
3
10.0.1-rc1 release has been tagged
...rc1/llvm/cmake/modules/AddLLVM.cmake
llvm-project/llvm/cmake/modules/AddLLVM.cmake
--- llvm-project-10.0.1rc1/llvm/cmake/modules/AddLLVM.cmake
2020-05-19 21:16:37.000000000 +0200
+++ llvm-project/llvm/cmake/modules/AddLLVM.cmake 2020-05-20
18:29:09.272548995 +0200
@@ -544,8 +544,8 @@ function(llvm_add_library name)
set_target_properties(${name}
PROPERTIES
# Since 4.0.0, the ABI version is indicated by the major version
- SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
- VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
+ SOVERSION ${LLVM_VERSION_MAJ...
2017 Oct 14
2
What's LLVM{target}CodeGen vs {target}CodeGen?
...L_TARGETS_TO_BUILD=TMS9900
../llvm
... stuff ...
CMake Error at cmake/modules/LLVM-Config.cmake:178 (message):
Target TMS9900 is not in the set of libraries.
Call Stack (most recent call first):
cmake/modules/AddLLVM.cmake:525 (llvm_map_components_to_libnames)
cmake/modules/AddLLVM.cmake:574 (llvm_add_library)
tools/lto/CMakeLists.txt:19 (add_llvm_library)
(Line numbers may be off slightly, since I added some message() lines). So
I tracked this error down to where LLVM-Config.cmake is looking for targets
whose name, given {target}, is either LLVM{target} or LLVM{target}CodeGen.
Of course, I have no...
2015 May 28
0
[LLVMdev] Building poolalloc with current LLVM development branch?
...pt/clang-llvm/llvm/projects/poolalloc/runtime/PreRT/CMakeLists.txt
>
>
> Call Stack (most recent call first):
> cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
> cmake/modules/AddLLVM.cmake:263 (llvm_process_sources)
> cmake/modules/AddLLVM.cmake:418 (llvm_add_library)
> projects/poolalloc/runtime/PreRT/CMakeLists.txt:2 (add_llvm_library)
>
>
>
> Thanks,
> Christian
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://...
2019 Feb 05
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
On 02/05/2019 08:07 AM, Michał Górny wrote:
> On Tue, 2019-02-05 at 07:36 -0800, Tom Stellard via Release-testers
> wrote:
>> Hi,
>>
>> The release_70 branch is ready for the 7.1.0 release. I have updated the
>> version and pushed a fix for https://bugs.llvm.org/show_bug.cgi?id=39427,
>> which is the only bug we will be fixing in this release.
>>
>>
2016 Jan 16
2
Building SVN head with CMake - shared libraries?
Hi again,
On Fri, Jan 15, 2016 at 11:05 AM, Ismail Donmez <ismail at i10z.com> wrote:
> Hi,
>
> On Fri, Jan 15, 2016 at 12:59 AM, Chris Bieneman <beanz at apple.com> wrote:
>> I’m kinda scared that you’re using it. What are you trying to accomplish
>> that you are using it? Generally having LLVM split among that many
>> dynamically loaded libraries results
2020 May 21
5
Understanding the version handling in LLVM/Clang/LLD
...And re-checked every place where especially...
${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
...is used.
So, I fixed it up by pre-checking for... if(LLVM_VERSION_SUFFIX STREQUAL "git")
Example (full patch attached):
[ llvm/cmake/modules/AddLLVM.cmake ]
@@ -541,11 +541,18 @@ function(llvm_add_library name)
# Set SOVERSION on shared libraries that lack explicit SONAME
# specifier, on *nix systems that are not Darwin.
if(UNIX AND NOT APPLE AND NOT ARG_SONAME)
- set_target_properties(${name}
- PROPERTIES
- # Since 4.0.0, the ABI version is indicated by the major v...
2017 May 31
2
Running lit (googletest) tests remotely
...we also
need to copy the program we are going to debug).
As for libraries, I see a couple of solutions:
- declare these configurations unsupported for remote executions
- copy over ALL shared libraries
- have automatic tracking of runtime dependencies - all of this
information should pass through llvm_add_library macro, so it should
be mostly a matter of exporting this information out of cmake.
These can be combined in the sense that we can start in the
"unsupported" state, and then add some support for it once there is a
need for it (we don't need it right now).
> - Can tests include othe...
2020 May 21
2
10.0.1-rc1 release has been tagged
...llvm/cmake/modules/AddLLVM.cmake
> > --- llvm-project-10.0.1rc1/llvm/cmake/modules/AddLLVM.cmake
> > 2020-05-19 21:16:37.000000000 +0200
> > +++ llvm-project/llvm/cmake/modules/AddLLVM.cmake 2020-05-20
> > 18:29:09.272548995 +0200
> > @@ -544,8 +544,8 @@ function(llvm_add_library name)
> > set_target_properties(${name}
> > PROPERTIES
> > # Since 4.0.0, the ABI version is indicated by the major version
> > - SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
> > - VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERS...
2017 Aug 04
2
Cross compiling C++ program
...Error at /usr/local/llvm40/lib/cmake/llvm/LLVM-Config.cmake:203 (message):
Library `BinaryFormat' not found in list of llvm libraries.
Call Stack (most recent call first):
/usr/local/llvm40/lib/cmake/llvm/AddLLVM.cmake:508 (llvm_map_components_to_libnames)
cmake/modules/AddClang.cmake:86 (llvm_add_library)
lib/AST/CMakeLists.txt:6 (add_clang_library)
-- Configuring incomplete, errors occurred!
See also "/usr/home/meka/repos/clang/build/clang/CMakeFiles/CMakeOutput.log".
> A note on linker scripts: support for them in lld is still a bit rough
> around the edges, so you may want...