Displaying 4 results from an estimated 4 matches for "adek".
Did you mean:
radek
2015 Jul 20
2
[LLVMdev] CMake does not propagate flags to build
This is just for compiler-rt. The reason for having
-fno-omit-frame-pointer is that tools like
https://perf.wiki.kernel.org/index.php/Main_Page would work on ASAN
binaries.
Adrian
On Mon, Jul 20, 2015, at 02:23 PM, adek at adek.io wrote:
> Hey,
>
> Thanks for ideas. I tried them on, but none of them succeeded.
>
> If I remove this line:
> https://github.com/llvm-mirror/compiler-rt/blob/c9d8d35a5c2bdd6a0dd41f1b6cf3afb822df6a6e/CMakeLists.txt#L207
>
> Everything is correctly built with -fn...
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...KE_CXX_FLAGS:STRING="whatever flags"
This works regardless of whether it is a Debug or Release build.
All the best,
MartinO
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Bieneman
Sent: 20 July 2015 19:23
To: adek at adek.io
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] CMake does not propagate flags to build
Adrian,
What makes you think CMAKE_CXX_FLAGS isn’t being respected?
The tests will always occur regardless of whether or not you set the CXX_FLAGS explicitly.
-Chris
> On Jul 20, 2015, at 9:...
2015 Jul 20
3
[LLVMdev] CMake does not propagate flags to build
...X_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 wrote:
> >
> > '-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:
>...
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
--