search for: dllvm_external_clang_source_dir

Displaying 5 results from an estimated 5 matches for "dllvm_external_clang_source_dir".

2017 Oct 18
2
LLVM cross-compilation cmake issues
...ake +++ b/cmake/modules/CrossCompile.cmake @@ -45,6 +45,9 @@ function(llvm_create_cross_target_internal target_name toolchain buildtype) # Propagate LLVM_EXTERNAL_CLANG_SOURCE_DIR so that clang-tblgen can be built set(external_clang_dir "-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=${LLVM_EXTERNAL_CLANG_SOURCE_DIR}") endif() + unset(ENV{ASM}) + unset(ENV{CC}) + unset(ENV{CXX}) execute_process(COMMAND ${CMAKE_COMMAND} ${build_type_flags} -G "${CMAKE_GENERATOR}" -DLLVM_TARGETS_TO...
2016 Sep 08
3
[RFC] One or many git repositories?
...ories >> alongside each other. > > The problem here is that for the build, clang wants to be in llvm/tools > and other components want to be in other places. Not exactly: cmake has magic discovery when clang is in tools, but it is not a requirement. You can do (for years): cmake -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=path > Should the > monorepository just be structured to have everything in its correct > place for building? My inclination is to say "no" because it reduces > the visibility of the subprojects, but what are the alternatives? There > are two that come to mind off the t...
2018 May 31
1
Hang generating sanitizer tests
Just to follow-up, I'm now encountering this as well. I'm doing this on Linux. It seems that when linking with the most-recently built clang, the unit tests are taking a while to complete. It's notably not using more than 1 thread, and if using `lld` I would have expected the linker to still be running in parallel. I'm doing this on a debug build, so that might help narrow it
2012 Jun 18
1
[LLVMdev] MinGW 4.7.0-compiled Clang Mis-compiles Simple Programs
When using MinGW 4.7.0 to compile Clang on Windows, the resulting Clang binary does not correctly compile simple C++ code. This is with ToT LLVM/Clang. Clang build: $ cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=<dir> -G Ninja <llvm-dir> $ ninja After building Clang, I tried to compile the following program: #include <iostream> #include <string> int main(int argc, char** argv) { std::string Name("me"); std::cout << Name << "\n"; return 0; }...
2016 Sep 07
4
[RFC] One or many git repositories?
Hi, > On Sep 7, 2016, at 10:30 AM, dag at cray.com wrote: > > Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> writes: > >> Right, we actually have a proposal to take what is in the current SVN >> repo here: http://llvm.org/svn/llvm-project/ and migrate this to a >> single repository. >> I was not sure if you were referring to this proposal