search for: cmake_cxx_flags_minsizerel

Displaying 9 results from an estimated 9 matches for "cmake_cxx_flags_minsizerel".

2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...te 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, 2015, at 8:41 PM, adek at adek.io wr...
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...drian >> >> 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, 2...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...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 "/MD") > + endforeach(flag_var) >...
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
...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’ > > >&g...
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
.../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 debug info. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //C compiler CMAKE_C_COMPILER:STRING=/usr/local/google/hom...