search for: llvm_main_src_dir

Displaying 14 results from an estimated 14 matches for "llvm_main_src_dir".

2008 Nov 14
3
[LLVMdev] bugs in CMake build
...LLVM has a CMake build system of its own, so when upgrading my LLVM version I decided to move to the 'official' one. It's not an easy transition, the build fails. I already found one bug: in some files the variable CMAKE_SOURCE_DIR is used for the LLVM top-level source directory, while LLVM_MAIN_SRC_DIR should be used instead. A small patch is attached for this. Now I get a failure for llvm-config: Scanning dependencies of target llvm-config.target [ 93%] Regenerating /home/kevin/Documents/ProgProj/hyper-llvm-new/build/compiler/llvm-2.4/tools/llvm-config/LibDeps.txt.tmp [ 93%] Generating LibDep...
2008 Nov 14
0
[LLVMdev] bugs in CMake build
[I'm cc-ing the mailing list because there are some topics here of general interest] HyperQuantum <hyperquantum at gmail.com> writes: >> CMAKE_SOURCE_DIR should be the same as LLVM_MAIN_SRC_DIR. If you know an >> scenario where this is not true, please describe it. > > In my case it's not true. I have put LLVM in a subdirectory of my > project (./compiler/llvm-2.4/), so the top-level CMakeLists.txt of > LLVM isn't the actual top-level CMake file in this case. Go...
2016 Aug 19
6
OT: Cloning llvm repo over low speed connection != fun
...thub.. I did however want to show an example of how big repo on non-corporate infrastructure can be a challenge. I'd hate for some ambitious community dev to run into the same thing and turn away as a result */ ------------ CMake Error at CMakeLists.txt:53 (message): llvm-config not found and LLVM_MAIN_SRC_DIR not defined. Reconfigure with -DLLVM_CONFIG=path/to/llvm-config or -DLLVM_PATH=path/to/llvm-source-root. -- Configuring incomplete, errors occurred! See also "/usr/local/src/libcxxabi/build/CMakeFiles/CMakeOutput.log". asura at asura-X3:/usr/local/src/libcxxabi/build$ cd ../.. asura...
2016 Feb 10
4
Guidance on cross compiling LLVM with mingw-w64 and cmake
I need to build libLLVM (individual static libraries are fine at the moment) using mingw-w64 cross compilers, i686-w64-mingw32-gcc and (separately) x86_64-w64-mingw32-gcc. I'd like this to work from both Linux and Cygwin build environments. With autotools, this worked fine: ../configure --host=i686-w64-mingw32 and that's it (with mingw32-gcc-c++ installed on Fedora 23, also works fine on
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...BLE_PROJECTS "" CACHE STRING "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) endif() if( LLVM_INCLUDE_TESTS ) - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) - include(LLVMExternalProjectUtils) - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite - USE_TOOLCHAIN - EXCLUDE_FROM_ALL - NO_INSTALL - ALWAYS_CLEAN) + if(TARGET clang) + if(EXISTS ${LLVM_MAIN_SRC_DIR}...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...n-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") >> if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) >> @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) >> endif() >> >> if( LLVM_INCLUDE_TESTS ) >> - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) >> - include(LLVMExternalProjectUtils) >> - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >> - USE_TOOLCHAIN >> - EXCLUDE_FROM_ALL >> - NO_INSTALL >> - ALWAYS_CLEAN) &...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...NG > "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") > if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) > @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) > endif() > > if( LLVM_INCLUDE_TESTS ) > - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) > - include(LLVMExternalProjectUtils) > - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > - USE_TOOLCHAIN > - EXCLUDE_FROM_ALL > - NO_INSTALL > - ALWAYS_CLEAN) > + if(TARGET clang)...
2012 Oct 21
0
[LLVMdev] dragonegg polly support broken?
...set(POLLY_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..") > set(POLLY_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..") > -set(LLVM_SHLIBEXT "${CMAKE_SHARED_LIBRARY_SUFFIX}") > +set(LLVM_SHLIBEXT "${CMAKE_SHARED_MODULE_SUFFIX}") > > if (NOT DEFINED LLVM_MAIN_SRC_DIR) > # We are building polly out of tree, adjust the settings. > -- > 1.7.9.5 >
2016 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...@@ > > add_subdirectory(tools) > > endif() > > > > +add_subdirectory(runtimes) > > + > > if( LLVM_INCLUDE_EXAMPLES ) > > add_subdirectory(examples) > > endif() > > @@ -730,7 +732,8 @@ > > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > > USE_TOOLCHAIN > > EXCLUDE_FROM_ALL > > - NO_INSTALL) > > + NO_INSTALL > > + ALWAYS_CLEAN) > > endif() > > add_subdirectory(test) > > add_subdirectory(unittests) > > > > ______...
2012 Oct 21
2
[LLVMdev] dragonegg polly support broken?
On 10/21/2012 11:46 AM, Jack Howarth wrote: > On Sun, Oct 21, 2012 at 02:35:49PM -0400, Jack Howarth wrote: >> On Sun, Oct 21, 2012 at 11:01:37AM -0700, Tobias Grosser wrote: >>> On 10/21/2012 10:57 AM, Jack Howarth wrote: >>>> On Sun, Oct 21, 2012 at 10:38:48AM -0700, Tobias Grosser wrote: >>>>> On 10/21/2012 09:13 AM, Jack Howarth wrote:
2016 Aug 19
2
OT: Cloning llvm repo over low speed connection != fun
...of how big repo on non-corporate infrastructure can be >> a challenge. I'd hate for some ambitious community dev to run into the >> same thing and turn away as a result */ >> ------------ >> CMake Error at CMakeLists.txt:53 (message): >> llvm-config not found and LLVM_MAIN_SRC_DIR not defined. Reconfigure >> with >> -DLLVM_CONFIG=path/to/llvm-config or >> -DLLVM_PATH=path/to/llvm-source-root. >> >> >> -- Configuring incomplete, errors occurred! >> See also "/usr/local/src/libcxxabi/build/CMakeFiles/CMakeOutput.log". >...
2017 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
I sorta enjoy debugging stuff like this, so if you don't mind, I'll dig into it once I get a chance -- traveling so, my access is a bit sketchy right now. I'll see if I can grab the logs and let you know if I find anything interesting. On Tue, Nov 21, 2017 at 7:04 PM, Zachary Turner <zturner at google.com> wrote: > That change was added specifically to workaround a failure
2016 Jun 09
2
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...gt;> > >>> > +add_subdirectory(runtimes) >>> > + >>> > if( LLVM_INCLUDE_EXAMPLES ) >>> > add_subdirectory(examples) >>> > endif() >>> > @@ -730,7 +732,8 @@ >>> > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >>> > USE_TOOLCHAIN >>> > EXCLUDE_FROM_ALL >>> > - NO_INSTALL) >>> > + NO_INSTALL >>> > + ALWAYS_CLEAN) >>> > endif() >>> > add_subdirectory(test) >>>...
2016 Jun 10
4
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...(runtimes) >>>>> > + >>>>> > if( LLVM_INCLUDE_EXAMPLES ) >>>>> > add_subdirectory(examples) >>>>> > endif() >>>>> > @@ -730,7 +732,8 @@ >>>>> > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >>>>> > USE_TOOLCHAIN >>>>> > EXCLUDE_FROM_ALL >>>>> > - NO_INSTALL) >>>>> > + NO_INSTALL >>>>> > + ALWAYS_CLEAN) >>>>> > endif() >>...