From 7775ca32ebe72c3756b42aec0077153efd903649 Mon Sep 17 00:00:00 2001 From: Deepika Upadhyay Date: Wed, 7 Jul 2021 23:10:40 +0530 Subject: [PATCH] update extrapkg needed for crimson, to be added by debian buildprofiles cleanup: add/ remove some missing go to have comments Signed-off-by: Deepika Upadhyay --- .../config/definitions/ceph-dev-new-trigger.yml | 3 ++- scripts/build_utils.sh | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml b/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml index 09677d0ad..7ce59897b 100644 --- a/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml +++ b/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml @@ -101,7 +101,7 @@ FORCE=True DISTROS=focal bionic centos7 centos8 leap15 # build pacific on: - # default: focal bionic centos8 leap15 + # default: focal bionic centos8 # crimson: centos8 - conditional-step: condition-kind: regex-match @@ -154,6 +154,7 @@ ARCHS=x86_64 # Build only the `crimson` flavour, don't waste resources on the default one. # Useful for the crimson's bug-hunt at Sepia + # crimson: centos8 - conditional-step: condition-kind: regex-match regex: .*crimson-only.* diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 0c1372fcd..a7445d79a 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -605,9 +605,6 @@ setup_pbuilder() { #in case it needs to update/add repo, the following packages should installed. extrapackages="software-properties-common curl" - if [ $FLAVOR = "crimson" ]; then - extrapackages += " libc-ares-dev libcrypto++-dev libgnutls28-dev libhwloc-dev libnuma-dev libpciaccess-dev libprotobuf-dev libsctp-dev libyaml-cpp-dev protobuf-compiler ragel systemtap-sdt-dev" - fi echo "EXTRAPACKAGES=\"${extrapackages}\"" >> ~/.pbuilderrc local opts @@ -854,6 +851,7 @@ ceph_build_args_from_flavor() { CEPH_EXTRA_RPMBUILD_ARGS="--with seastar" CEPH_EXTRA_CMAKE_ARGS+=" -DCMAKE_BUILD_TYPE=Debug" CEPH_EXTRA_CMAKE_ARGS+=" -DWITH_SEASTAR=ON" + PROFILES="pkg.ceph.crimson" ;; *) echo "unknown FLAVOR: ${FLAVOR}" >&2 @@ -909,6 +907,7 @@ build_debs() { CEPH_EXTRA_CMAKE_ARGS="$CEPH_EXTRA_CMAKE_ARGS $(extra_cmake_args)" DEB_BUILD_OPTIONS="parallel=$(get_nr_build_jobs)" + PROFILES="nocheck,$PROFILES" # pass only those env vars specifically noted sudo \ @@ -918,7 +917,7 @@ build_debs() { --distribution $DIST \ --basetgz $pbuilddir/$DIST.tgz \ --buildresult $releasedir/$cephver \ - --profiles nocheck \ + --profiles $PROFILES \ --use-network yes \ $releasedir/$cephver/ceph_$bpvers.dsc -- 2.47.3