Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mipsle package #5234

Merged
merged 3 commits into from
Feb 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

supported_builds = {
"windows": [ "amd64", "i386" ],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x"],
"linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel"],
"freebsd": [ "amd64", "i386" ]
}

Expand Down Expand Up @@ -455,6 +455,8 @@ def build(version=None,
goarch = "arm64"
elif "arm" in arch:
goarch = "arm"
elif arch == "mipsel":
goarch = "mipsle"
build_command += "GOOS={} GOARCH={} ".format(platform, goarch)

if "arm" in arch:
Expand Down Expand Up @@ -569,6 +571,8 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
shutil.copy(fr, to)

for package_type in supported_packages[platform]:
if package_type == "rpm" and arch == "mipsel":
continue
# Package the directory structure for each package type for the platform
logging.debug("Packaging directory '{}' as '{}'.".format(build_root, package_type))
name = pkg_name
Expand Down