~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to BUILD/compile-pentium-icc-yassl

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
path=`dirname $0`
 
4
. "$path/SETUP.sh"
 
5
 
 
6
# Note that we can't use ccache with icc as the generated .deps file will
 
7
# then contain wrong information
 
8
CC=icc
 
9
CXX=icpc
 
10
CXXLD="$CXX -static-libcxa"
 
11
export CC CXX CXXLD
 
12
 
 
13
c_warnings=""
 
14
cxx_warnings=""
 
15
extra_flags="$fast_cflags -unroll2 -ip -mp -restrict"
 
16
 
 
17
# Use -no-ipo if you get this error
 
18
# IPO link: can not find "-lstdc++_shared"
 
19
# icpc: error: problem during multi-file optimization compilation (code 1)
 
20
extra_flags="$extra_flags -no-ipo"
 
21
base_cxxflags="-fno-exceptions -fno-rtti"
 
22
extra_configs="$pentium_configs $static_link --with-yassl"
 
23
 
 
24
. "$path/FINISH.sh"