diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-01 14:07:45 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-01 14:07:45 +0200 |
commit | e4cfbaed518f98b2ee3f5a9e0a4edef485240221 (patch) | |
tree | c355f0df41c7985515415a20f2bd5fc025868090 /BUILD/compile-pentium-icc-yassl | |
parent | ef5cafdf6dc42051a3eb51851fe969f4507a92ab (diff) | |
download | mariadb-git-e4cfbaed518f98b2ee3f5a9e0a4edef485240221.tar.gz |
Bug #12717 yassl: Crashes in "integer.cpp" when compiled with icc
- Temporary fix, disable x86 assembler.
BUILD/compile-pentium-icc:
Cleanup build script for icc
extra/yassl/taocrypt/include/misc.hpp:
Disable x86 assembler when compiling with icc
BUILD/compile-pentium-icc-yassl:
New BitKeeper file ``BUILD/compile-pentium-icc-yassl''
Diffstat (limited to 'BUILD/compile-pentium-icc-yassl')
-rw-r--r-- | BUILD/compile-pentium-icc-yassl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/BUILD/compile-pentium-icc-yassl b/BUILD/compile-pentium-icc-yassl new file mode 100644 index 00000000000..53b191e4db3 --- /dev/null +++ b/BUILD/compile-pentium-icc-yassl @@ -0,0 +1,24 @@ +#! /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 +CXXLD="$CXX -static-libcxa" +export CC CXX CXXLD + +c_warnings="" +cxx_warnings="" +extra_flags="$fast_cflags -unroll2 -ip -mp -restrict" + +# 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) +extra_flags="$extra_flags -no-ipo" +base_cxxflags="-fno-exceptions -fno-rtti" +extra_configs="$pentium_configs $static_link --with-yassl" + +. "$path/FINISH.sh" |