search for: llvm_source_dir

Displaying 19 results from an estimated 19 matches for "llvm_source_dir".

2018 Nov 16
2
LLVM_CONFIG_PATH when building Clang from sources
I'm trying to build LLVM, CFE and RT from sources on an old PowerMac with OS X 10.5. After download and unpack into LLVM_SOURCE_DIR (with --strip-components=1), I configure with: cmake -DCMAKE_INSTALL_PREFIX="/opt/llvm" \ -DLLVM_TARGETS_TO_BUILD="PowerPC" \ -DLLVM_INCLUDE_TOOLS="ON" \ -DLLVM_BUILD_TESTS="ON" "$LLVM_SOURCE_DIR" It results in...
2012 Jun 29
0
[LLVMdev] [cfe-dev] is configure+make dead yet?
.../../../include) +set(LLVM_LIBRARY_DIRS ${LLVM_CURRENT_LIST_DIR}/../../../lib) + set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") # We try to include using the current setting of CMAKE_MODULE_PATH, @@ -47,5 +50,7 @@ ${CMAKE_MODULE_PATH} "@LLVM_SOURCE_DIR@/cmake/modules") include( LLVM-Config ) + + set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} "@LLVM_SOURCE_DIR@/include") endif() -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120629/5c64f69f/...
2013 Jan 19
0
[LLVMdev] Embed LLVM/Clang in our project
...ecessary even though I'm compiling llvm along with my code? If you wish to use LLVM/Clang whitout installing it, you must add both the build output header path and the source header path (in this order) to your list of include paths, like this: include_directories( ${LLVM_BUILD_DIR}/include ${LLVM_SOURCE_DIR}/include ) Replace LLVM_SOURCE_DIR/LLVM_BUILD_DIR with the respective directories. Same for Clang
2013 Jan 19
2
[LLVMdev] Embed LLVM/Clang in our project
Hi All, We want to compile LLVM/Clang and use the resulting headers/libraries in our project. But we compile it during out build process. I can build LLVM/Clang by adding it to our cmakelists.txt but when our code tries to use one of the headers (clang/CodeGen/ModuleBuilder.h), its not found as it doesnt exist. If I do a 'make install' in the llvm directory, then the file is
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
> > *hi,Óscar:* > * * > >Why? Please describe a case. > > >I need to do some futher experiment and to see whether I have been > wrong. > Since I touch this problem several months ago, so I did some test using the 3.2svn, the reason why uninstalled build 'cmake not work lies in set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@) set(LLVM_INCLUDE_DIRS
2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
...o.cpp CMakeLists.txt where CMakeLists.txt is as follows: # ----------------------------- Start of CMakeLists.txt ---------------------------------------- project(DEMO) cmake_minimum_required(VERSION 2.6.1) add_subdirectory("${DEMO_SOURCE_DIR}/llvm") include_directories( "${LLVM_SOURCE_DIR}/include" "${LLVM_BINARY_DIR}/include" ) set(LLVM_LINK_COMPONENTS core jit interpreter native) add_llvm_executable(DEMO demo.cpp) # ----------------------------- End of CMakeLists.txt ---------------------------------------- As you can see with this patch creating a project usin...
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
..._CURRENT_LIST_FILE is available for CMake 2.8.0 ? > set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") > > # We try to include using the current setting of CMAKE_MODULE_PATH, > @@ -47,5 +50,7 @@ > ${CMAKE_MODULE_PATH} > "@LLVM_SOURCE_DIR@/cmake/modules") > include( LLVM-Config ) > + > + set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} "@LLVM_SOURCE_DIR@/include") > endif() Once you address the two questions above, please upload the patch to the bugzilla ticket you opened for this bug. Thanks!
2013 Jan 21
2
[LLVMdev] Embed LLVM/Clang in our project
...compiling llvm along with my code? > > If you wish to use LLVM/Clang whitout installing it, you must add both > the build output header path and the source header path (in this order) > to your list of include paths, like this: > > include_directories( ${LLVM_BUILD_DIR}/include ${LLVM_SOURCE_DIR}/include ) > > Replace LLVM_SOURCE_DIR/LLVM_BUILD_DIR with the respective directories. > Same for Clang Thanks for the response, it worked. I can now compile my code by adding the additional include paths. I was using the find_package(LLVM llvm/share/llvm/cmake) and llvm_map_components...
2010 Jun 14
0
[LLVMdev] Win32 COFF Support
I have not, I was going to look at it tonight. I tried an earlier version and got stuck trying to figure out how to invoke lit.py. Looking over ' http://llvm.org/docs/TestingGuide.html' its still clear to be how to do that. In my setup, I have an out of tree build. Could you give be an example of the command line to invoke the tests? -Nathan On Mon, Jun 14, 2010 at 1:47 PM, Michael
2010 Jun 14
2
[LLVMdev] Win32 COFF Support
On Jun 14, 2010, at 3:41 PM, Nathan Jeffords <blunted2night at gmail.com> wrote: > Michael, > > I have not made any changes since I last posted a patch. If you > would like to make the final updates, thats fine by me. I don't mind > making the changes either, I can have them done this evening as well. I'll let you do it then, along with sorting out the macros.
2015 Apr 24
3
[LLVMdev] unwind move *NOW*
Greetings, As previously mentioned, the unwind contents are going to be moved today. Im working on this now. If you could please hold off any commits to the Unwind part of things, it would be greatly appreciated. See you on the new layout! -- Saleem Abdulrasool compnerd (at) compnerd (dot) org -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Jun 23
2
Help building llvm on freebsd 8.4
Hi, Thanks for the information. Is it possible to compile LLVM 3.8 in FreeBSD 10.x and eventually use/run it on 8.4. Our production environment is running 8.4 and we cannot update it. Thanks, Sushil Pangeni On Wed, Jun 22, 2016 at 2:01 PM, Dimitry Andric <dimitry at andric.com> wrote: > You cannot build any llvm or clang releases after 3.4 on FreeBSD 8.x > natively, as it is not
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...config) diff --git a/lit.site.cfg.py.in b/lit.site.cfg.py.in new file mode 100644 index 0000000..8c4481a --- /dev/null +++ b/lit.site.cfg.py.in @@ -0,0 +1,25 @@ + at LIT_SITE_CFG_IN_HEADER@ + +import lit.util + +config.test_exec_root = "@CMAKE_BINARY_DIR@" + +config.llvm_src_root = "@LLVM_SOURCE_DIR@" +config.llvm_obj_root = "@LLVM_BINARY_DIR@" +config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" +config.llvm_libs_dir = "@LLVM_LIBS_DIR@" +config.llvm_shlib_dir = "@SHLIBDIR@" +config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@" +config.debuginfo_tests_obj_...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...ll >> +++ b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> >> @@ -0,0 +1,25 @@ >> + at LIT_SITE_CFG_IN_HEADER@ >> + >> +import lit.util >> + >> +config.test_exec_root = "@CMAKE_BINARY_DIR@" >> + >> +config.llvm_src_root = "@LLVM_SOURCE_DIR@" >> +config.llvm_obj_root = "@LLVM_BINARY_DIR@" >> +config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" >> +config.llvm_libs_dir = "@LLVM_LIBS_DIR@" >> +config.llvm_shlib_dir = "@SHLIBDIR@" >> +config.llvm_plugin_ext = "@LLVM_P...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...ex 0000000..8c4481a > --- /dev/null > +++ b/lit.site.cfg.py.in <http://lit.site.cfg.py.in/> > @@ -0,0 +1,25 @@ > + at LIT_SITE_CFG_IN_HEADER@ > + > +import lit.util > + > +config.test_exec_root = "@CMAKE_BINARY_DIR@" > + > +config.llvm_src_root = "@LLVM_SOURCE_DIR@" > +config.llvm_obj_root = "@LLVM_BINARY_DIR@" > +config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" > +config.llvm_libs_dir = "@LLVM_LIBS_DIR@" > +config.llvm_shlib_dir = "@SHLIBDIR@" > +config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@" &gt...
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote: [ brutal-snip ] ... > [ TODO#S: Before doing a 2nd build (and in a 3rd run using more > optimized binaries) ] > > How do I anable LTO via CMAKE? > > > LLVM_ENALBLE_LTO=On > [ v4 of my build-script attached ] Hi Chris, thanks for the response! That seems to work (see below). $ cd
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
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...o tools (if available) LLVM_POLLY_LINK_INTO_TOOLS:BOOL=ON //Profiling data file to use when compiling in order to improve // runtime performance. LLVM_PROFDATA_FILE:FILEPATH= //Path to a library. LLVM_PTHREAD_LIBRARY_PATH:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so //Value Computed by CMake LLVM_SOURCE_DIR:STATIC=/usr/local/google/home/blaikie/dev/llvm/src //Native TableGen executable. Saves building one when cross-compiling. LLVM_TABLEGEN:STRING=llvm-tblgen //Semicolon-separated list of targets to build, or "all". LLVM_TARGETS_TO_BUILD:STRING=all //Set target to use for LLVM JIT or use...