Displaying 5 results from an estimated 5 matches for "cmake_generator_platform".
2017 Feb 28
3
LLVM_TARGETS_TO_BUILD
...t they appear to be 32-bit. I need 64-bit versions.
>
> Ah, that was my second guess. My limited reading suggests that Windows
> has completely separate compilers to produce x64 and x32
> libraries/binaries. A bit of grubbing around the internet suggests
> CMake exposes this with the CMAKE_GENERATOR_PLATFORM variable, and -A
> on the command line. So I'd suggest:
>
> c:\cmake-3.8.0-rc1-win64-x64\bin\cmake.exe
> -DLLVM_TARGETS_TO_BUILD=x86_64 -G "Visual Studio 14" -A Win64
>
> (plus a path to the source). That last argument is a bit of a guess,
> but fits in with docum...
2017 Feb 28
3
LLVM_TARGETS_TO_BUILD
I'm trying to build LLVM on Windows 10 for x86_64. The cmake cmdline I used
is
c:\cmake-3.8.0-rc1-win64-x64\bin\cmake.exe -DLLVM_TARGETS_TO_BUILD=x86_64
-G "Visual Studio 14" .
And this ultimately gives me:
llvm-build: error: invalid target to enable: 'x86_64' (not in project)
The source I'm trying to build is the llvm-3.8.0.src.tar.xz I got from
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 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
...INFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Have symbol pthread_create
CMAKE_HAVE_LIBC_CREATE:INTERNAL=
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Have include pthread.h
CMAKE_HAVE_PTHREAD...