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 2021/04/14 03:20:53 UTC

[couchdb-ci] branch main updated: add ssh-client to debian image for repo creation

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 35e61ce  add ssh-client to debian image for repo creation
35e61ce is described below

commit 35e61ce368f2d773e5a5d79a0c0568f7210d820c
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Tue Apr 13 20:20:32 2021 -0700

    add ssh-client to debian image for repo creation
---
 bin/apt-dependencies.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/bin/apt-dependencies.sh b/bin/apt-dependencies.sh
index 25814d3..f0a7ebc 100755
--- a/bin/apt-dependencies.sh
+++ b/bin/apt-dependencies.sh
@@ -71,7 +71,7 @@ apt-get install --no-install-recommends -y apt-transport-https curl git pkg-conf
     curl debhelper devscripts dh-exec dh-python dh-systemd equivs \
     dialog equivs lintian libwww-perl quilt \
     reprepro rsync \
-    vim-tiny screen procps dirmngr
+    vim-tiny screen procps dirmngr ssh-client
 
 # python 2 based; gone from focal / bullseye. look for createrepo_c eventually
 # hopefully via: https://github.com/rpm-software-management/createrepo_c/issues/145
@@ -198,7 +198,11 @@ else
   git clone https://github.com/apple/foundationdb/
   cd foundationdb && git checkout 6.3.9
   mkdir .build && cd .build
-  cmake -G Ninja ..
+  if [ "${ARCH}" == "ppc64le" ]; then
+    cmake -DCMAKE_CXX_FLAGS="-DNO_WARN_X86_INTRINSICS" -G Ninja ..
+  else
+    cmake -G Ninja ..
+  fi
   ninja -j2
   fakeroot cpack -G DEB
   # see https://forums.foundationdb.org/t/possible-missing-dependency-in-6-3-x-deb-package/2579
@@ -206,6 +210,7 @@ else
   mkdir -p /var/lib/foundationdb/data
   dpkg -i packages/foundationdb-clients*deb packages/foundationdb-server*deb || true
   apt purge -y cmake mono-devel ninja-build libboost-all-dev liblz4-dev dos2unix
+  apt autoremove -y
   cd ../../ && rm -rf foundationdb
 fi