~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to BUILD/compile-pentium-icc-valgrind-max

  • 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
 
export CC CXX
11
 
 
12
 
extra_flags="$pentium_cflags $debug_cflags $valgrind_flags"
13
 
 
14
 
# Disable following warnings as these are generated by header files:
15
 
# 161   unrecognized pragma
16
 
# 444   destructor for base class xxx is not virtual
17
 
# 279   controlling expression is constant
18
 
# 810   conversion from ulonglong to ulong with cast
19
 
# 981   operands are evaluated in unspecified order
20
 
# 1292  warning for unknown 'attribute' options
21
 
# 1469  "xxx" clobber ignored
22
 
# 1572  floating-point equality and inequality comparisons are unreliable
23
 
 
24
 
# In C++
25
 
# 869    parameter "xxx" was never referenced
26
 
#        (Problem with virtual functions)
27
 
# 874   support for placement delete is disabled
28
 
 
29
 
c_warnings="-Wall -Wcheck -wd161,444,279,810,981,1292,1469,1572"
30
 
cxx_warnings="$c_warnings -wd869,874"
31
 
base_cxxflags="-fno-exceptions -fno-rtti"
32
 
extra_configs="$pentium_configs $debug_configs"
33
 
 
34
 
. "$path/FINISH.sh"