Displaying 10 results from an estimated 10 matches for "cmake_cxx_flags_debug".
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...Jul 20, 2015, at 09:34 AM, Pete Cooper wrote:
> Hi Adrian
>
> I’m not sure if the CMAKE_CXX_FLAGS is used in LLVM. We have our own
> flags for different configurations. I don’t remember if our ones inherit
> from CMAKE_CXX_FLAGS or override it completely. Anyway, they are:
> - CMAKE_CXX_FLAGS_DEBUG
> - CMAKE_CXX_FLAGS_MINSIZEREL
> - CMAKE_CXX_FLAGS_RELEASE
> - CMAKE_CXX_FLAGS_RELWITHDEBINFO
>
> The one of those you get depends on what you set CMAKE_BUILD_TYPE to.
> Options are ‘Debug, Release, RelWithDebInfo, MinSizeRel’
>
> Cheers,
> Pete
> > On Jul 17, 20...
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...Pete Cooper wrote:
>> Hi Adrian
>>
>> I’m not sure if the CMAKE_CXX_FLAGS is used in LLVM. We have our own
>> flags for different configurations. I don’t remember if our ones
>> inherit from CMAKE_CXX_FLAGS or override it completely. Anyway, they are:
>> - CMAKE_CXX_FLAGS_DEBUG
>> - CMAKE_CXX_FLAGS_MINSIZEREL
>> - CMAKE_CXX_FLAGS_RELEASE
>> - CMAKE_CXX_FLAGS_RELWITHDEBINFO
>>
>> The one of those you get depends on what you set CMAKE_BUILD_TYPE to.
>> Options are ‘Debug, Release, RelWithDebInfo, MinSizeRel’
>>
>> Cheers,
&...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...)
> + # http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F
> + foreach(flag_var
> + CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO
> + CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
> + if(${flag_var} MATCHES "/MD")
> + string(REGEX REPLACE "/MD" "/${LLVM_USE_CRT}" ${flag_var} "${${flag_var}}")
> + endif(${flag_var} MATCHES &q...
2015 Jul 18
2
[LLVMdev] CMake does not propagate flags to build
'-DCMAKE_CXX_FLAGS=-fno-omit-frame-pointer -Wno-maybe-uninitialized
-fPIC -fPIE'
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/gcc
-- Check for working C compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/gcc --
works
--
2015 Jul 20
2
[LLVMdev] CMake does not propagate flags to build
...gt;>
> > >> I’m not sure if the CMAKE_CXX_FLAGS is used in LLVM. We have our own
> > >> flags for different configurations. I don’t remember if our ones
> > >> inherit from CMAKE_CXX_FLAGS or override it completely. Anyway, they are:
> > >> - CMAKE_CXX_FLAGS_DEBUG
> > >> - CMAKE_CXX_FLAGS_MINSIZEREL
> > >> - CMAKE_CXX_FLAGS_RELEASE
> > >> - CMAKE_CXX_FLAGS_RELWITHDEBINFO
> > >>
> > >> The one of those you get depends on what you set CMAKE_BUILD_TYPE to.
> > >> Options are ‘Debug, Relea...
2010 Mar 06
6
[LLVMdev] [PATCH]: MSVC build enhancements
Attached are two patches with MSVC build enchancements.
They are quite trivial, but were necessary to correctly link LLVM
libraries with Mesa3D on Windows.
Jose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-to-build-against-static-MSVC-runtime.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL:
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
...used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=Debug
//CXX compiler
CMAKE_CXX_COMPILER:STRING=/usr/local/google/home/blaikie/install/bin/clang++
//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g -ggnu-pubnames
//Flags used by the compiler during release builds for minimum
// size.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the compiler during release builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the compiler during release builds with...
2016 Jul 23
3
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
> On Jul 23, 2016, at 1:53 PM, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> On Sat, Jul 23, 2016 at 7:48 PM, Piotr Padlewski <prazek at google.com <mailto:prazek at google.com>> wrote:
>> How big is your project?
>> LTO eats RAM even faster than chrome. For example linking clang with LTO
>>