I thought we disabled lto, is it still on by default?

Cheers,
Alf

Arne Morten Kvarving <[email protected]>:



On 07/25/2013 02:56 PM, Júlio Hoffimann wrote:
To give you more details, this is the linker command line I get by running make 
in verbose mode:

Linking CXX executable bin/sim_poly2p_incomp_reorder
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/sim_poly2p_incomp_reorder.dir/link.txt --verbose=1
/usr/bin/c++   -pipe -Wall -std=c++11 -ggdb3 -O3 -DNDEBUG -flto -mtune=native  
-Wl,--as-needed   
CMakeFiles/sim_poly2p_incomp_reorder.dir/examples/sim_poly2p_incomp_reorder.cpp.o
  -o bin/sim_poly2p_incomp_reorder -rdynamic lib/libopmpolymer.a 
/home/julio/Desktop/opm2/opm-core-build/lib/libopmcore.a -lboost_date_time-mt 
-lboost_filesystem-mt -lboost_system-mt -lumfpack -lamd -lm -ldunecommon 
-llapack -lsuperlu -lblas

this is caused by the decision to enable lto by default.

use cmake -DWHOLE_PROG_OPTIM=0 and off you go.

arnem

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to