drop gcc 4.7 support
We used to have this for amd64 too to have the same version as the BBB
compiler, but we don't have that any more. Turns out it doesn't build
our code any more because people have started using <::, and it's really
annoying that it doesn't support that.
Change-Id: I59f8247fe3f740e8cd17ab6497cea4c59e09138b
diff --git a/aos/build/build.py b/aos/build/build.py
index c89e175..90028ba 100755
--- a/aos/build/build.py
+++ b/aos/build/build.py
@@ -423,9 +423,7 @@
def priority(self):
r = 0
- if self.compiler() == 'gcc':
- r -= 100
- elif self.compiler() == 'clang':
+ if self.compiler() == 'clang':
r += 100
if self.sanitizer() != 'none':
r -= 50
@@ -514,7 +512,7 @@
return r
ARCHITECTURES = ('arm', 'amd64')
- COMPILERS = ('clang', 'gcc', 'gcc_frc')
+ COMPILERS = ('clang', 'gcc_frc')
SANITIZERS = ('address', 'undefined', 'integer', 'memory', 'thread', 'none')
SANITIZER_TEST_WARNINGS = {
'memory': (True,
@@ -660,9 +658,6 @@
packages.add('libcloog-isl3:amd64')
if is_deploy:
packages.add('openssh-client')
- if platform.compiler() == 'gcc' and platform.architecture() == 'amd64':
- packages.add('gcc-4.7')
- packages.add('g++-4.7')
elif platform.compiler() == 'gcc_frc' or platform.compiler() == 'clang_frc':
packages.add('gcc-4.9-arm-frc-linux-gnueabi')
packages.add('g++-4.9-arm-frc-linux-gnueabi')