Deleted Added
sdiff udiff text old ( 9537:ad5b3252dcc6 ) new ( 9551:f867e530f39b )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

--- 514 unchanged lines hidden (view full) ---

523 print 'Error: gcc version 4.4 or newer required.'
524 print ' Installed version:', gcc_version
525 Exit(1)
526
527 main['GCC_VERSION'] = gcc_version
528 main.Append(CCFLAGS=['-pipe'])
529 main.Append(CCFLAGS=['-fno-strict-aliasing'])
530 main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef'])
531 main.Append(CXXFLAGS=['-std=c++0x'])
532
533 # Check for versions with bugs
534 if not compareVersions(gcc_version, '4.4.1') or \
535 not compareVersions(gcc_version, '4.4.2'):
536 print 'Info: Tree vectorizer in GCC 4.4.1 & 4.4.2 is buggy, disabling.'
537 main.Append(CCFLAGS=['-fno-tree-vectorize'])
538

--- 33 unchanged lines hidden (view full) ---

572 main.Append(CCFLAGS=['-pipe'])
573 main.Append(CCFLAGS=['-fno-strict-aliasing'])
574 main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef'])
575 main.Append(CCFLAGS=['-Wno-tautological-compare'])
576 main.Append(CCFLAGS=['-Wno-self-assign'])
577 # Ruby makes frequent use of extraneous parantheses in the printing
578 # of if-statements
579 main.Append(CCFLAGS=['-Wno-parentheses'])
580 main.Append(CXXFLAGS=['-std=c++0x'])
581 # On Mac OS X/Darwin we need to also use libc++ (part of XCode) as
582 # opposed to libstdc++ to make the transition from TR1 to
583 # C++11. See http://libcxx.llvm.org. However, clang has chosen a
584 # strict implementation of the C++11 standard, and does not allow
585 # incomplete types in template arguments (besides unique_ptr and
586 # shared_ptr), and the libc++ STL containers create problems in
587 # combination with the current gem5 code. For now, we stick with

--- 598 unchanged lines hidden ---