summaryrefslogtreecommitdiff
path: root/buildscripts/packager-enterprise.py
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2016-07-01 12:10:35 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2016-07-11 16:19:47 -0400
commit2e7ff2f2fcb50de1ffa46d7851825ffd84567f70 (patch)
tree60adf284ca1f8fc5d1239e4f7beec9103e4309e4 /buildscripts/packager-enterprise.py
parent8ba242d0eb3b0276977a2c94059427c8101851d6 (diff)
downloadmongo-2e7ff2f2fcb50de1ffa46d7851825ffd84567f70.tar.gz
SERVER-23555 Add aarch64 builders
Signed-off-by: Ernie Hershey <ernie.hershey@10gen.com>
Diffstat (limited to 'buildscripts/packager-enterprise.py')
-rwxr-xr-xbuildscripts/packager-enterprise.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py
index 27534268c1a..f6ac19c1c33 100755
--- a/buildscripts/packager-enterprise.py
+++ b/buildscripts/packager-enterprise.py
@@ -42,7 +42,7 @@ import time
import urlparse
# The MongoDB names for the architectures we support.
-ARCH_CHOICES=["x86_64", "ppc64le", "s390x"]
+ARCH_CHOICES=["x86_64", "ppc64le", "s390x", "arm64"]
# Made up names for the flavors of distribution we package for.
DISTROS=["suse", "debian","redhat","ubuntu","amazon"]
@@ -121,6 +121,11 @@ class EnterpriseDistro(packager.Distro):
return [ "rhel72" ]
else:
return []
+ if arch == "arm64":
+ if self.n == 'ubuntu':
+ return [ "ubuntu1604" ]
+ else:
+ return []
if re.search("(redhat|fedora|centos)", self.n):
return [ "rhel70", "rhel62", "rhel57" ]
@@ -268,7 +273,7 @@ def make_deb_repo(repo, distro, build_os, spec):
Label: mongodb
Suite: %s
Codename: %s/mongodb-enterprise
-Architectures: amd64 ppc64el s390x
+Architectures: amd64 ppc64el s390x arm64
Components: %s
Description: MongoDB packages
""" % (distro.repo_os_version(build_os), distro.repo_os_version(build_os), distro.repo_component())