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

« back to all changes in this revision

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

  • 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
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"