search for: addllvm

Displaying 20 results from an estimated 66 matches for "addllvm".

2018 Mar 17
0
Building issue at configure step on ARM host (AddLLVM.cmake)
...T_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF And I got the following error : -- Performing Test CXX_SUPPORTS_NO_MACRO_REDEFINED - Success -- Symbols (liblldb): exporting all symbols from the lldb namespace -- Configuring done CMake Error at cmake/modules/AddLLVM.cmake:1198 (add_dependencies): The dependency target "profile" of target "check-all" does not exist. Call Stack (most recent call first): CMakeLists.txt:925 (add_lit_target) CMake Error at cmake/modules/AddLLVM.cmake:1198 (add_dependencies): The dependency target "profil...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans, I have posted a complete patch for solving the linkage issues with LLVM_LINK_LLVM_DYLIB on Phabricator at http://reviews.llvm.org/D16945. The bulk of the fix the simple changes of... Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 259743) +++ cmake/modules/AddLLVM.cmake (working copy) @@ -475,13 +475,15 @@ # property has been set to an empty value. get_property(lib_deps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_...
2010 Aug 02
6
[LLVMdev] CMake broken?
...at cmake/modules/LLVMConfig.cmake:90 (message): Library LLVMARMAsmParser not found in list of llvm libraries. Call Stack (most recent call first): cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries) cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config) cmake/modules/AddLLVM.cmake:61 (llvm_config) cmake/modules/AddLLVM.cmake:78 (add_llvm_executable) tools/llvm-mc/CMakeLists.txt:3 (add_llvm_tool) Tom
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...ouching the the llvm-build python scripts. Basically, the new fix for avoiding the Support library dependency set from the 'required_libraries = Support' in llvm/utils/unittest/LLVMBuild.txt is not read it for LLVM_LINK_LLVM_DYLIB. The new patch modifies llvm_add_library() in cmake/modules/AddLLVM.cmake to manually set the LLVMBUILD_LIB_DEPS_gtest property to LLVM when LLVM_LINK_LLVM_DYLIB is set and the library name is gtest rather than read from the tools/llvm-config/LibraryDependencies.inc generated by llvm-build. Jack ps As soon as this patch lands, I'll look at...
2017 Mar 09
2
Use of host/target compiler when building compiler-rt
...not great idea at the moment. > > > That said, I tried putting compiler-rt in runtimes instead of projects and > I got a bunch of cmake errors starting with: > > CMake Error at > /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/lib/cmake/llvm/AddLLVM.cmake:1174 > (add_dependencies): > The dependency target "GotsanRuntimeCheck" of target "check-runtimes" > does > not exist. > Call Stack (most recent call first): > CMakeLists.txt:110 (add_lit_target) > > Any ideas? > > > I have never enco...
2015 May 28
5
[LLVMdev] Building poolalloc with current LLVM development branch?
...nown source file /opt/clang-llvm/llvm/projects/poolalloc/runtime/PreRT/strdup.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-...
2010 Aug 02
0
[LLVMdev] CMake broken?
...cmake/modules/LLVMConfig.cmake:90 (message): Library LLVMAlphaAsmPrinter not found in list of llvm libraries. Call Stack (most recent call first): cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries) cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config) cmake/modules/AddLLVM.cmake:61 (llvm_config) cmake/modules/AddLLVM.cmake:78 (add_llvm_executable) tools/llvm-mc/CMakeLists.txt:3 (add_llvm_tool) On Aug 2, 2010, at 11:12 AM, Tom Care wrote: > Hi all, > > CMake seems to have broken in the last few days - or is it just me? > > tcare:llvm-release tc...
2010 Jun 18
1
[LLVMdev] export of CMake project
...plify this CMake supports an export feature that can export an LLVM.cmake file that lists all libraries of LLVM. With this I could simplify the use of LLVM in my own CMake project. For this the following cmake files of LLVM have to be extended (patches are provided at the end of this message). In AddLLVM.cmake one line has to be added: macro(add_llvm_library name) ... install(TARGETS ${name} EXPORT LLVM LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) ... At the end of the main CMakeLists.txt we need to install the LLVM export file: #...
2018 Jan 25
1
[RFC] Handling cmake policies
..._DIR)`, at the top of the CMakeLists.txt project file. This will prevent unnecessary calls `cmake_minimum_required()` for in-tree builds, and allow all sub-projects to use the same policies set by llvm. * Move all `cmake_policy()` commands out of llvm/CMakeLists.txt and into a separate file, e.g., AddLLVM.cmake, which is always included in each project. This will guarantee all projects use the same set of policies even when built as a standalone or external project, e.g., runtimes. Sub-projects can still override policies as needed by setting them after including AddLLVM.cmake, or by using `cmake_...
2020 May 20
3
10.0.1-rc1 release has been tagged
...[0-9]+)?" "\\1" LLD_VERSION_MINOR - ${LLD_VERSION}) - # Determine LLD revision and repository. # TODO: Figure out a way to get the revision and the repository on windows. if ( NOT CMAKE_SYSTEM_NAME MATCHES "Windows" ) diff -uprN llvm-project-10.0.1rc1/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)...
2017 Oct 14
2
What's LLVM{target}CodeGen vs {target}CodeGen?
...ried to run cmake: $ cd build $ cmake -G "Unix Makefiles" -DLLVM_EXPERIMENTAL_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 w...
2015 May 28
0
[LLVMdev] Building poolalloc with current LLVM development branch?
...rojects/poolalloc/runtime/PreRT/strdup.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 > > > > > _______________________________________________ > LLVM Develo...
2020 May 21
2
10.0.1-rc1 release has been tagged
...${LLD_VERSION}) > > - > > # Determine LLD revision and repository. > > # TODO: Figure out a way to get the revision and the repository on windows. > > if ( NOT CMAKE_SYSTEM_NAME MATCHES "Windows" ) > > diff -uprN llvm-project-10.0.1rc1/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 > >...
2008 Nov 14
3
[LLVMdev] bugs in CMake build
...ttle endian -- Target triplet: i686-pc-linux-gnu llvm-config: unknown component name: powerpc CMake Error at cmake/modules/LLVMConfig.cmake:41 (message): llvm-config failed for executable llc Call Stack (most recent call first): cmake/modules/LLVMConfig.cmake:5 (nix_llvm_config) cmake/modules/AddLLVM.cmake:16 (llvm_config) cmake/modules/AddLLVM.cmake:36 (add_llvm_executable) tools/llc/CMakeLists.txt:3 (add_llvm_tool) I'll see if I can find the cause of the problem myself, or does anyone have a suggestion about this? Thanks, Kevin André -------------- next part -------------- A non-...
2017 Mar 11
2
Use of host/target compiler when building compiler-rt
...not great idea at the moment. > > > That said, I tried putting compiler-rt in runtimes instead of projects and > I got a bunch of cmake errors starting with: > > CMake Error at > /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/lib/cmake/llvm/AddLLVM.cmake:1174 > (add_dependencies): > The dependency target "GotsanRuntimeCheck" of target "check-runtimes" > does > not exist. > Call Stack (most recent call first): > CMakeLists.txt:110 (add_lit_target) > > Any ideas? > > > I have never enco...
2012 Oct 05
4
[LLVMdev] problem with my LLVM pass
...nk is still updated? http://www.llvm.org/docs/CMake.html#developing-llvm-pass-out-of-source i follow the instruction from the link, and create in my ~/test/ directory the CMakeLists.txt with following content: $cat test/CMakeLists.txt find_package(LLVM) # Define add_llvm_* macro's. include(AddLLVM) add_definitions(${LLVM_DEFINITIONS}) include_directories(${LLVM_INCLUDE_DIRS}) link_directories(${LLVM_LIBRARY_DIRS}) add_subdirectory(Hello) ====== inside test/, i put Hello/ directory, copied from llvm-3.1.src/lib/Transforms/Hello. then inside test/, i tried to compile: test$ cmake . -- The...
2015 May 30
0
[LLVMdev] Building poolalloc with current LLVM development branch?
.../projects/poolalloc/runtime/PreRT/strdup.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 > > > > > > _______________________________________________ > LLVM D...
2017 Mar 09
2
Use of host/target compiler when building compiler-rt
...not great idea at the moment. > > > That said, I tried putting compiler-rt in runtimes instead of projects and > I got a bunch of cmake errors starting with: > > CMake Error at > /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/lib/cmake/llvm/AddLLVM.cmake:1174 > (add_dependencies): > The dependency target "GotsanRuntimeCheck" of target "check-runtimes" > does > not exist. > Call Stack (most recent call first): > CMakeLists.txt:110 (add_lit_target) > > Any ideas? > > > I have never enco...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...lookup") endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-parameter") # While just setting LLVM_DIR will make find_package work, you need to # add it to CMAKE_MODULE_PATH if you want to include AddLLVM, e.g., if # you want to use add_llvm_loadable_module. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "$ENV{LLVM_DIR}") find_package(LLVM REQUIRED CONFIG) include(AddLLVM) add_definitions(${LLVM_DEFINITIONS}) include_directories(${LLVM_INCLUDE_DIRS}) link_directories(${LLVM_LIBRARY_DIRS}) O...
2018 Feb 17
2
Configuring LLVM v6.0 RC2 on Windows
Hi LLVM-Devs, When I try to configure LLVM v6.0 RC2 (SVN Rev #324869) on Windows (I haven't yet had a chance to try on Linux), I get a series of errors such as this: CMake Error at cmake/modules/AddLLVM.cmake:1333 (add_dependencies): The dependency target "(" of target "check-all" does not exist. Call Stack (most recent call first): CMakeLists.txt:937 (add_lit_target) Any ideas on what might be causing this? My invocation of CMake is as follows: cmake -...