Debian Codegraph @

BUILD/compile-pentium32-icc-valgrind-max

raw
1 #! /bin/sh
2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; version 2 of the License.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
16
17 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
18 #
19 # This program is free software; you can redistribute it and/or modify
20 # it under the terms of the GNU General Public License as published by
21 # the Free Software Foundation; version 2 of the License.
22 #
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 # GNU General Public License for more details.
27 #
28 # You should have received a copy of the GNU General Public License
29 # along with this program; if not, write to the Free Software
30 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
31
32 path=`dirname $0`
33 . "$path/SETUP.sh"
34
35 # Note that we can't use ccache with icc as the generated .deps file will
36 # then contain wrong information
37 CC=icc
38 CXX=icpc
39 export CC CXX
40
41 extra_flags="$pentium_cflags $debug_cflags $valgrind_flags"
42
43 # Disable following warnings as these are generated by header files:
44 # 161 unrecognized pragma
45 # 444 destructor for base class xxx is not virtual
46 # 279 controlling expression is constant
47 # 810 conversion from ulonglong to ulong with cast
48 # 981 operands are evaluated in unspecified order
49 # 1292 warning for unknown 'attribute' options
50 # 1469 "xxx" clobber ignored
51 # 1572 floating-point equality and inequality comparisons are unreliable
52
53 # In C++
54 # 869 parameter "xxx" was never referenced
55 # (Problem with virtual functions)
56 # 874 support for placement delete is disabled
57
58 c_warnings="-Wall -Wcheck -wd161,444,279,810,981,1292,1469,1572"
59 cxx_warnings="$c_warnings -wd869,874"
60 base_cxxflags="-fno-exceptions"
61 extra_configs="$pentium_configs $debug_configs $valgrind_configs"
62
63 . "$path/FINISH.sh"