~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

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"