Displaying 4 results from an estimated 4 matches for "dcmake_cxx_flags_release".
Did you mean:
cmake_cxx_flags_release
2015 Jul 21
2
[LLVMdev] Problem with InsertPointGuard ABI?
On Tue, Jul 21, 2015 at 6:30 PM Justin Bogner <mail at justinbogner.com> wrote:
> Paweł Bylica <chfast at gmail.com> writes:
> > On Tue, Jul 21, 2015 at 5:55 PM Justin Bogner <mail at justinbogner.com>
> wrote:
> >
> > Paweł Bylica <chfast at gmail.com> writes:
> > > I can confirm that the issue has been caused by NDEBUG flag.
>
2020 Nov 17
2
wasteful cmake defaults
On Tue Nov 17, 2020 at 6:37 PM GMT, Min-Yih Hsu wrote:
> Just trying to understand: Are you suggesting a way to have a “-O0”
> build without all the debug information?
>
Exactly.
2020 Nov 18
1
wasteful cmake defaults
...h the cmake default to please new users?
>
> You mention CI systems, but I'd expect CI maintainers to know they can
> set CMAKE_CXX_FLAGS_RELEASE. Does -O0 even build faster than -O1?
On my configuration, yes: -O1 is slower than -O0
$ cmake ../llvm -DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS_RELEASE=-O1 -GNinja -DLLVM_TARGETS_TO_BUILD=X86
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
...
$ time ninja llc
[1199/1199] Linking CXX executable bin/llc
ninja llc 6210.72s user 149.40s system 1145% cpu 9:15.22 total
It was 8:41.99 total for the -O0 build
>
> Michael
All the Bes...
2010 Feb 14
3
[LLVMdev] -version displays DEBUG on Visual C++ release build
C:\llvm\bin>llc -version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.6svn
DEBUG build.
Built Jan 31 2010(20:46:01).
Registered Targets:
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
I did specify the release build with cmake; the lack of crashing on
exit of programs compiled therewith confirms that :-) As far as I can
see, the