search for: llvm_enable_warnings

Displaying 4 results from an estimated 4 matches for "llvm_enable_warnings".

2020 Sep 23
2
Enable compiler warnings
Can someone tell me the magic CMake changes that I need to make so that the C++ compiler will display warnings and terminate? I broke the build yesterday because I had not seen a warning that then showed up in the build. I have these two options set in CMakeCache.txt: //Enable compiler warnings. LLVM_ENABLE_WARNINGS:BOOL=ON //Fail and stop if a warning is triggered. LLVM_ENABLE_WERROR:BOOL=ON
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
...S:STRING= //Enable run time type information LLVM_ENABLE_RTTI:BOOL=OFF //Use Sphinx to generate llvm documentation. LLVM_ENABLE_SPHINX:BOOL=OFF //Use terminfo database if available. LLVM_ENABLE_TERMINFO:BOOL=ON //Use threads if available. LLVM_ENABLE_THREADS:BOOL=ON //Enable compiler warnings. LLVM_ENABLE_WARNINGS:BOOL=ON //Fail and stop if a warning is triggered. LLVM_ENABLE_WERROR:BOOL=ON //Use zlib for compression/decompression if available. LLVM_ENABLE_ZLIB:BOOL=ON //Semicolon-separated list of experimental targets to build. LLVM_EXPERIMENTAL_TARGETS_TO_BUILD:STRING= //Export symbols from LLVM tools...