Displaying 10 results from an estimated 10 matches for "llvm_enable_pedantic".
2011 Jan 27
0
[LLVMdev] CMake-generated llvm-config.
[cc-ing llvm-dev]
arrowdodger <6yearold at gmail.com> writes:
> Hello. I've found that CMake-generated llvm-config contains -pedantic flag,
> if LLVM_ENABLE_PEDANTIC was ON during cmake configuration.
> This forces all llvm-config clients to build their sources with -pedantic,
> which, i think, is kind of wrong.
> For example, it's not possible to build LDC (LLVM D frontend), because it's
> sources can't be compiled with -pedantic flag....
2015 Jul 28
1
[LLVMdev] Purpose of LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI
...tion(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." OFF)
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
option(LLVM_ENABLE_LIBCXXABI "Use libc++abi when using libc++." OFF)
option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
Kind Regards
Martell
On Tue, Jul 28, 2015 at 12:30 PM, Martell Malone <martellmalone at gmail.com>
wrote:
> Hi Michael,
>
> I am wondering about the...
2015 Dec 01
2
Compilation errors
While doing a make on the recently checkout version:
I got the following errors:
[ 68%] Built target dd
[ 68%] Built target compiler-rt-headers
[ 68%] Building C object
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.o
In file included from
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/floatdidf.c:9:0:
2011 Jan 27
0
[LLVMdev] CMake-generated llvm-config.
...onfig --cflags
>> -I/usr/home/arr/projects/llvm/llvm_1/include
>> -I/usr/home/arr/projects/llvm/llvm_1/include -D_DEBUG -D_GNU_SOURCE
>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fPIC
>>
> There is no -pedantic here.
Has the autconf build an option similar to LLVM_ENABLE_PEDANTIC ? If
yes, what's its default?
2015 Dec 01
2
Compilation errors
...eing treated as errors
>
> So, did you happen to have generated your make files using CMake
> passing -DLLVM_ENABLE_WERROR=ON ?
>
> My reasoning is as follows (but please do correct me if I'm wrong
> somewhere): When generating your make file using cmake, since by
> default LLVM_ENABLE_PEDANTIC is set to ON, the above warning gets
> triggered (cf. the description of "pedantic" at
> https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html, assuming that
> either you're building with gcc, or that Clang has the same
> interpretation of "pedantic"). Again, b...
2015 Jul 28
0
[LLVMdev] Purpose of LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI
Hi Michael,
I am wondering about the meaning of the cmake flags LLVM_ENABLE_LIBCXX and
> LLVM_ENABLE_LIBCXXABI. Are they used to indicate that if the C/C++ compiler
> for building LLVM is clang, and if this clang has support for libc++ with
> libc++Abi, that both lib++ and libc++abi should be used (instead of linking
> to the default, which at least on Linux is libstdc++)?
Yes that
2015 Jul 28
6
[LLVMdev] Purpose of LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI
Hi,
I am wondering about the meaning of the cmake flags LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI. Are they used to indicate that if the C/C++ compiler for building LLVM is clang, and if this clang has support for libc++ with libc++Abi, that both lib++ and libc++abi should be used (instead of linking to the default, which at least on Linux is libstdc++)? If not, what is the canonical way of
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
...Full to use
// a particular kind of LTO
LLVM_ENABLE_LTO:STRING=OFF
//Compile with C++ modules enabled.
LLVM_ENABLE_MODULES:BOOL=OFF
//Compile with -gmodules.
LLVM_ENABLE_MODULE_DEBUGGING:BOOL=OFF
//Build OCaml bindings documentation.
LLVM_ENABLE_OCAMLDOC:BOOL=ON
//Compile with pedantic enabled.
LLVM_ENABLE_PEDANTIC:BOOL=ON
//Build Position-Independent Code
LLVM_ENABLE_PIC:BOOL=ON
//Semicolon-separated list of projects to build (clang;libcxx;libcxxabi;lldb;compiler-rt;lld;polly),
// or "all".
LLVM_ENABLE_PROJECTS:STRING=
//Enable run time type information
LLVM_ENABLE_RTTI:BOOL=OFF
//Use Sphinx to...