Displaying 10 results from an estimated 10 matches for "llvm_build_32_bits".
Did you mean:
dllvm_build_32_bits
2012 Jun 07
2
[LLVMdev] 32-bit in-tree Polly build with CMake
Hi,
I was having troubles building LLVM with Polly in-tree using CMake
with LLVM_BUILD_32_BITS on. Turns out CMake considers LLVMPolly a
module, not a shared library, and LLVM_BUILD_32_BITS only makes
provisions for the EXE and SHARED linker flags.
Possible fixes (pick one):
1. Change cmake/modules/HandleLLVMOptions.cmake to append -m32 to
CMAKE_MODULE_LINKER_FLAGS as well if LLVM_BUILD_32...
2012 Jun 07
0
[LLVMdev] 32-bit in-tree Polly build with CMake
On 06/07/2012 02:41 PM, Ondřej Hošek wrote:
> Hi,
>
> I was having troubles building LLVM with Polly in-tree using CMake
> with LLVM_BUILD_32_BITS on. Turns out CMake considers LLVMPolly a
> module, not a shared library, and LLVM_BUILD_32_BITS only makes
> provisions for the EXE and SHARED linker flags.
Hi,
thanks for reporting.
== Some bug reporting advice ==
In this case, posting to the mailing list was the best option, as it
see...
2012 Jun 07
1
[LLVMdev] 32-bit in-tree Polly build with CMake
...dbot [1] and it does not report any problems. Do you
> understand why.
I think so. This is an i?86 build on a x86_64 machine, i.e. with -m32.
(gcc specifically, but I am sure that clang would raise the same
issue, since this is about passing (or not passing) the correct flags
to the linker. The LLVM_BUILD_32_BITS option seems to be the canonical
way to request an i?86 build on a x86_64 machine when using CMake to
build LLVM.)
> I would go for option 1 as Polly itself is used not as a shared library, but
> as a module. Would you be able to provide a patch?
Sure; I have attached it.
Cheers,
~~ Ondra...
2019 Oct 24
2
RFC: LLVM Build System Future Direction
...t works transitively when one links against some library, but it feels like a weak point to me
> - getting other configuration options (for example whether LLVM is built with or without exceptions)
> - controlling how LLVM is built: the only way I found is to force set a variable (i.e. set (LLVM_BUILD_32_BITS ON CACHE BOOL "" FORCE)) before adding LLVM as a subproject
>
> I think my list is not exhaustive since it covers only my use cases, so maybe there are other opinions/requests from others.
>
> Cheers,
> Alex.
>
> On Mon, Oct 21, 2019 at 8:26 PM Chris Bieneman via l...
2019 Oct 21
3
RFC: LLVM Build System Future Direction
Over the past few years the LLVM CMake build system has gained a lot of new features, which have powered new workflows and capabilities. This development has largely been individual efforts without focus or long-term direction. The build system is of incredible importance to LLVM as it is a primary interface for contributors to build and test their changes.
This year, LLVM is making a huge
2019 Oct 29
11
RFC: LLVM Build System Future Direction
...transitively when one links against some library, but it feels like a weak point to me
>> - getting other configuration options (for example whether LLVM is built with or without exceptions)
>> - controlling how LLVM is built: the only way I found is to force set a variable (i.e. set (LLVM_BUILD_32_BITS ON CACHE BOOL "" FORCE)) before adding LLVM as a subproject
>>
>> I think my list is not exhaustive since it covers only my use cases, so maybe there are other opinions/requests from others.
>>
>> Cheers,
>> Alex.
>>
>> On Mon, Oct 21, 2019 at...
2019 Oct 29
2
RFC: LLVM Build System Future Direction
...ne links against some library, but it
> feels like a weak point to me
>
> - getting other configuration options (for example
> whether LLVM is built with or without exceptions)
>
> - controlling how LLVM is built: the only way I found is
> to force set a variable (i.e. set (LLVM_BUILD_32_BITS ON
> CACHE BOOL "" FORCE)) before adding LLVM as a subproject
>
>
>
> I think my list is not exhaustive since it covers only my
> use cases, so maybe there are other opinions/requests from
> others.
>
>
>
> Cheers,
>
> Alex.
>
>
>...
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
...M_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_BUILD_DOCS:BOOL=OFF
//Build the LLVM example programs. If OFF, just generate build
// targets.
LLVM_BUILD_EXAMPLES:BOOL=ON
//Build compiler-rt as an external project.
LLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=OFF
//Experimental: Build GlobalISel
LLVM_BUI...