[cfe-dev] Optimized build

George Kastrinis george.kastrinis at logicblox.com
Mon Sep 16 14:03:31 PDT 2013


I try to make a build directory with optimization in mind. But instead of

../llvm/configure --enable-optimized --disable-assertions

I want to use cmake and ninja afterwards. I have tried various things but I
can't achieve what I want. cmake recognizes a variable for assertions
(LLVM_ENABLE_ASSERTIONS=OFF) but I can't find something similar for
optimizations.

Is it possible to achieve what I try with ninja?

Thx in advance.

-- 

George Kastrinis
http://gkastrinis.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130916/1caafcbc/attachment.html>


More information about the cfe-dev mailing list