You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/10/09 23:54:23 UTC
[couchdb-pkg] branch ppc64le created (now 56e5c8b)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a change to branch ppc64le
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git.
at 56e5c8b Improve multi-platform package building
This branch includes the following new commits:
new 56e5c8b Improve multi-platform package building
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb-pkg] 01/01: Improve multi-platform package building
Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch ppc64le
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
commit 56e5c8b4190b379ad6f0ed27e5b35412a16e42dd
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Wed Oct 9 16:54:07 2019 -0700
Improve multi-platform package building
---
Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b250b92..69e5238 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,8 @@ PKGDIR=$(COUCHDIR)
ifeq ($(shell arch),aarch64)
PKGARCH=arm64
+else ifeq ($(shell arch),arm64v8)
+PKGARCH=arm64
else
PKGARCH=$(shell arch)
endif
@@ -44,9 +46,13 @@ debian-stretch: DIST=debian-stretch
debian-stretch: stretch
# AArch64 Debian 9
# Lintian doesn't install correctly into a cross-built Docker container ?!
+arm64v8-debian-stretch: aarch64-debian-stretch
aarch64-debian-stretch: PLATFORM=stretch
aarch64-debian-stretch: DIST=debian-stretch
aarch64-debian-stretch: debian-no-lintian
+ppc64le-debian-stretch: PLATFORM=stretch
+ppc64le-debian-stretch: DIST=debian-stretch
+ppc64le-debian-stretch: stretch
stretch: debian
# Debian 10
@@ -54,6 +60,7 @@ debian-buster: PLATFORM=buster
debian-buster: DIST=debian-buster
debian-buster: buster
# Lintian doesn't install correctly into a cross-built Docker container ?!
+arm64v8-debian-buster: aarch64v8-debian-buster
aarch64-debian-buster: PLATFORM=buster
aarch64-debian-buster: DIST=debian-buster
aarch64-debian-buster: debian-no-lintian
@@ -115,7 +122,7 @@ openSUSE: centos7
# Erlang is built from source on ARMv8
# These packages are not installed, but the files are present
drop-deb-deps-for-source-arch:
- if [ "$(shell arch)" = "aarch64" ]; then \
+ if [ "$(shell arch)" != "x86_64" ]; then \
sed -i '/erlang-dev/d' $(DISTDIR)/debian/control; \
sed -i '/erlang-crypto/d' $(DISTDIR)/debian/control; \
sed -i '/erlang-dialyzer/d' $(DISTDIR)/debian/control; \