~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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"