Hakan Kuecuekyilmaz <hakan@askmonty.org> writes:
Kristian, can you please review the new build script, so that I can push it into our 5.2 tree. After we cleared the license details with
Ok to push. - Kristian.
Begin forwarded message:
From: "Hakan Kuecuekyilmaz" <hakan.kuecuekyilmaz@t-online.de> Date: 10. Februar 2011 16:41:30 MEZ To: <commits@mariadb.org> Subject: [Commits] Rev 2921: Added build script which works with ICC v12.0 in file:///home/hakan/work/monty_program/maria-5.2/ Reply-To: maria-developers@lists.launchpad.net
At file:///home/hakan/work/monty_program/maria-5.2/
------------------------------------------------------------ revno: 2921 revision-id: hakan@askmonty.org-20110210154128-ncaubaj5i8rhf2pe parent: monty@askmonty.org-20110203144529-ah7majfmqscp4yn1 committer: Hakan Kuecuekyilmaz <hakan@askmonty.org> branch nick: maria-5.2 timestamp: Thu 2011-02-10 16:41:28 +0100 message: Added build script which works with ICC v12.0 === added file 'BUILD/compile-pentium64-icc-max' --- a/BUILD/compile-pentium64-icc-max 1970-01-01 00:00:00 +0000 +++ b/BUILD/compile-pentium64-icc-max 2011-02-10 15:41:28 +0000 @@ -0,0 +1,25 @@ +#! /bin/sh + +path=`dirname $0` +. "$path/SETUP.sh" + +# Note that we can't use ccache with icc as the generated .deps file will +# then contain wrong information. +CC=icc +CXX=icpc +LD=xild +AR=xiar +export CC CXX LD AR + +c_warnings="" +cxx_warnings="" +extra_flags="-O2 -unroll2 -fno-exceptions -fno-rtti -fno-omit-frame-pointer -static-intel -static-libgcc -fPIE" + +# Use -no-ipo if you get this error +# IPO link: can not find "-lstdc++_shared" +# icpc: error: problem during multi-file optimization compilation (code 1) +base_cxxflags="$extra_flags" +extra_configs="$pentium_configs" + +. "$path/FINISH.sh" +