[Pkg-mongodb-maintainers] [pkg-mongodb] 344/394: Enable ppc64el build (w/o javascript)

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 092a319b238969d47193ff110958ad70336e58eb
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Thu Jan 14 18:02:32 2016 +0200

    Enable ppc64el build (w/o javascript)
    
    On Debian, ppc64el also lacks v8. Group arm64 and ppc64el in
    debian/rules and disable scripting for both.
    
    fixup! Enable ppc64el build (w/o javascript)
---
 debian/control | 12 ++++++------
 debian/rules   |  7 ++++---
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 5b1a8d7..0f5ae04 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends:
  libboost-filesystem-dev,
  libboost-program-options-dev,
  libboost-thread-dev,
- libgoogle-perftools-dev [linux-amd64 linux-i386 armhf],
+ libgoogle-perftools-dev [linux-amd64 linux-i386 armhf ppc64el],
  libyaml-cpp-dev,
  libpcap-dev,
  libpcre3-dev,
@@ -19,7 +19,7 @@ Build-Depends:
  libsnappy-dev (>= 1.1.3-2),
  libstemmer-dev,
  libssl-dev,
- libv8-dev (>= 3.12) [!arm64],
+ libv8-dev (>= 3.12) [!arm64 !ppc64el],
  python-pymongo,
  scons
 Standards-Version: 3.9.6
@@ -28,7 +28,7 @@ Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/mongodb.git/
 Homepage: http://www.mongodb.org
 
 Package: mongodb
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64 ppc64el
 Depends:
  mongodb-dev,
  mongodb-server (>= 1:2.4.1-2),
@@ -54,7 +54,7 @@ Description: object/document-oriented database (metapackage)
  the server, the clients and the development files (headers and library).
 
 Package: mongodb-server
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64 ppc64el
 Pre-Depends:
  adduser
 Depends:
@@ -83,7 +83,7 @@ Description: object/document-oriented database (server package)
  server/load-balancer (mongos).
 
 Package: mongodb-clients
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64 ppc64el
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -110,7 +110,7 @@ Description: object/document-oriented database (client apps)
 
 Package: mongodb-dev
 Section: libdevel
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-any armhf arm64 ppc64el
 Depends:
  libboost-dev,
  ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index 633970d..49ce5da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,14 +22,15 @@ COMMON_OPTIONS = --use-system-snappy --use-system-pcre \
   --use-system-boost --use-system-v8 --use-system-yaml --ssl \
   $(DEB_SCONS_OPTIONS)
 
-gperftools_archs = amd64 i386 armhf
+gperftools_archs = amd64 i386 armhf ppc64el
 ifneq (,$(filter $(DEB_HOST_ARCH), $(gperftools_archs)))
 COMMON_OPTIONS += --allocator=tcmalloc --use-system-tcmalloc
 else
 COMMON_OPTIONS += --allocator=system
 endif
 
-ifeq ($(DEB_HOST_ARCH), arm64)
+no_v8_archs = arm64 ppc64el
+ifneq (,$(filter $(DEB_HOST_ARCH), $(no_v8_archs)))
 COMMON_OPTIONS += --disable-scripting
 endif
 
@@ -65,7 +66,7 @@ override_dh_systemd_enable:
 override_dh_installinit:
 	dh_installinit -pmongodb-server --name=mongodb
 
-ifeq ($(DEB_HOST_ARCH), arm64)
+ifneq (,$(filter $(DEB_HOST_ARCH), $(no_v8_archs)))
 # mongo shell is broken without scripting so drop it from
 # the binary
 override_dh_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list