summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2016-03-16 17:00:31 -0400
committerJonathan Reams <jbreams@mongodb.com>2016-03-17 13:47:45 -0400
commit6662ed3ce7038ac60eb9d1f5f505c2c0143dcc66 (patch)
tree808aabb84740012c05c49925f2dbbbbe62bedd6b /buildscripts
parent9f68e62265bcc15307edd32aca8bd278ddc570f3 (diff)
downloadmongo-6662ed3ce7038ac60eb9d1f5f505c2c0143dcc66.tar.gz
SERVER-23190 Add RHEL 7.1 PPCLE64 builder to 3.2
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/packager-enterprise.py2
-rwxr-xr-xbuildscripts/packager.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py
index db1646cb0ea..f9437fd935f 100755
--- a/buildscripts/packager-enterprise.py
+++ b/buildscripts/packager-enterprise.py
@@ -112,6 +112,8 @@ class EnterpriseDistro(packager.Distro):
if arch == "ppc64le":
if self.n == 'ubuntu':
return [ "ubuntu1504" ]
+ if self.n == 'redhat':
+ return [ "rhel71" ]
else:
return []
diff --git a/buildscripts/packager.py b/buildscripts/packager.py
index 6c461cfd1d0..34255e3d306 100755
--- a/buildscripts/packager.py
+++ b/buildscripts/packager.py
@@ -234,13 +234,13 @@ class Distro(object):
for redhat, "ubuntu1204" and "ubuntu1404" for Ubuntu, "debian71" for Debian), and "suse11"
for SUSE)"""
# Community builds only support amd64
- if not arch == "x86_64":
+ if arch not in ['x86_64', 'ppc64le']:
raise Exception("BUG: unsupported architecture (%s)" % arch)
if re.search("(suse)", self.n):
return [ "suse11", "suse12" ]
elif re.search("(redhat|fedora|centos)", self.n):
- return [ "rhel70", "rhel62", "rhel55" ]
+ return [ "rhel70", "rhel71", "rhel62", "rhel55" ]
elif self.n == 'amazon':
return [ "amazon" ]
elif self.n == 'ubuntu':