search for: llvm_binary_dir

Displaying 11 results from an estimated 11 matches for "llvm_binary_dir".

2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
...s.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 using CMake outside of the LLVM directory str...
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.
2019 Aug 21
2
Cannot run LLVM unit tests doe to python error in lit
Hello, LLVM community. I've built a cross-toolchain on Windows and I'm now trying to run unit tests for the LLVM libraries. I used Ninja as a build system and MSVC as host compiler without an issue, but when I try to run 'ninja check-llvm-unit', I get the following error: llvm-lit.py: C:/Users/sergej/Developer/llvm-project/llvm\utils\lit\lit\TestingConfig.py:102: fatal: unable
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
....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_root = "@DEBUGINFO_TESTS_BINARY_DIR@" +confi...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
....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_root = &q...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...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@" > +config.debuginfo_tests_obj_root = "@DEBUGINFO_TESTS...
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
...//Dependencies for target LLVMXRay_LIB_DEPENDS:STATIC= //Enable abi-breaking checks. Can be WITH_ASSERTS, FORCE_ON or // FORCE_OFF. LLVM_ABI_BREAKING_CHECKS:STRING=WITH_ASSERTS //Append the version control system revision id to LLVM version LLVM_APPEND_VC_REV:BOOL=OFF //Value Computed by CMake LLVM_BINARY_DIR:STATIC=/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone //PATH to binutils/include containing plugin-api.h for gold plugin. LLVM_BINUTILS_INCDIR:PATH= //Build 32 bits executables and libraries. LLVM_BUILD_32_BITS:BOOL=OFF //Build the llvm documentation. LLVM_B...