Displaying 12 results from an estimated 12 matches for "llvm_external_clang_source_dir".
2017 Oct 18
2
LLVM cross-compilation cmake issues
...ariables before
running the native configure step:
--- a/cmake/modules/CrossCompile.cmake
+++ 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...
2012 Jun 16
9
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...introducing gnuwin32?
- You forgot to mention a few important cmake variables.
- CMAKE_BUILD_TYPE=Release (for most purpose)
- CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
onto C:\PROGRA~1\?)
- LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and clang.
- LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
llvm source tree
- PYTHON_EXECUTABLE, if %PATH% does not contain python.
- Consider to introduce ninja?
Anyway, this could be integrated to "GettingStartedVS.html" ;)
...Takumi
ps. feel free to visit and ask me on the irc, oftc#llvm.
2012 Jun 17
0
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...You forgot to mention a few important cmake variables.
>
> - CMAKE_BUILD_TYPE=Release (for most purpose)
> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
> onto C:\PROGRA~1\?)
> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and clang.
> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
> llvm source tree
> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>
> - Consider to introduce ninja?
>
> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>
> ...Takumi
>
> ps. feel free to visit and a...
2012 Jun 17
0
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...You forgot to mention a few important cmake variables.
>
> - CMAKE_BUILD_TYPE=Release (for most purpose)
> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
> onto C:\PROGRA~1\?)
> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and clang.
> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
> llvm source tree
> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>
> - Consider to introduce ninja?
>
> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>
> ...Takumi
>
> ps. feel free to visit and a...
2012 Jun 16
0
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...You forgot to mention a few important cmake variables.
>
> - CMAKE_BUILD_TYPE=Release (for most purpose)
> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
> onto C:\PROGRA~1\?)
> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and clang.
> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
> llvm source tree
> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>
> - Consider to introduce ninja?
>
> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>
> ...Takumi
>
> ps. feel free to visit and a...
2012 Jun 17
1
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...rtant cmake variables.
>>
>> - CMAKE_BUILD_TYPE=Release (for most purpose)
>> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
>> onto C:\PROGRA~1\?)
>> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and
>> clang.
>> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
>> llvm source tree
>> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>>
>> - Consider to introduce ninja?
>>
>> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>>
>> ...Takumi
>&g...
2012 Jun 16
5
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...rtant cmake variables.
>>
>> - CMAKE_BUILD_TYPE=Release (for most purpose)
>> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
>> onto C:\PROGRA~1\?)
>> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and
>> clang.
>> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
>> llvm source tree
>> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>>
>> - Consider to introduce ninja?
>>
>> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>>
>> ...Takumi
>&g...
2012 Jun 16
0
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
For those interested in the actual file, it is now attached.
---------- Forwarded message ----------
From: Mikael Lyngvig <mikael at lyngvig.org>
Date: 2012/6/16
Subject: RFC: "Building with MinGW on Windows" (DOC, NEW)
To: LLVMdev Mailing List <llvmdev at cs.uiuc.edu>
Here's the first part of my Windows set up documentation. This one only
covers the process of
2012 Jun 16
2
[LLVMdev] RFC: "Building with MinGW on Windows" (DOC, NEW)
Here's the first part of my Windows set up documentation. This one only
covers the process of setting up a normal box for building LLVM and Clang.
A later document, which will follow in a few days, will cover how to set
up a buildbot slave.
As usual: I'm not a psychic, so if you have opinions regarding or
suggestions on this document, please feel free to share them with me (on
this
2012 Jun 17
0
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
...You forgot to mention a few important cmake variables.
>
> - CMAKE_BUILD_TYPE=Release (for most purpose)
> - CMAKE_INSTALL_PREFIX (Who would be happy if clang were installed
> onto C:\PROGRA~1\?)
> - LLVM_LIT_TOOLS_DIR, to use gnuwin32 dedicated to testing llvm and clang.
> - LLVM_EXTERNAL_CLANG_SOURCE_DIR, to check out clang outside from
> llvm source tree
> - PYTHON_EXECUTABLE, if %PATH% does not contain python.
>
> - Consider to introduce ninja?
>
> Anyway, this could be integrated to "GettingStartedVS.html" ;)
>
> ...Takumi
>
> ps. feel free to visit and a...
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
...ools so that plugins can import them
LLVM_EXPORT_SYMBOLS_FOR_PLUGINS:BOOL=OFF
//Generate dSYM files and strip executables and libraries (Darwin
// Only)
LLVM_EXTERNALIZE_DEBUGINFO:BOOL=OFF
//Whether to build clang as part of LLVM
LLVM_EXTERNAL_CLANG_BUILD:BOOL=ON
//Path to clang source directory
LLVM_EXTERNAL_CLANG_SOURCE_DIR:PATH=/usr/local/google/home/blaikie/dev/llvm/src/tools/clang
//Whether to build clang-tools-extra as part of LLVM
LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_BUILD:BOOL=ON
//Path to clang-tools-extra source directory
LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR:PATH=/usr/local/google/home/blaikie/dev/llvm/src/...