]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils: do not add tchaikov/gcc-toolset-9 copr repo anymore 1721/head
authorKefu Chai <kchai@redhat.com>
Thu, 10 Dec 2020 10:53:42 +0000 (18:53 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Dec 2020 10:53:43 +0000 (18:53 +0800)
since both CentOS and RHEL now include the updated
gcc-toolset-9-gcc-9.2.1-2.3.el8.

see also https://bugzilla.redhat.com/show_bug.cgi?id=1853900

Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh

index 314f2497877b7ccffa813327a279a1820f45a152..b95a775198818f2c4a302ebe890c55d530d1b3ea 100644 (file)
@@ -1238,9 +1238,6 @@ setup_rpm_build_deps() {
     if [ "$FLAVOR" = "crimson" ]; then
         # enable more build depends required by crimson
         sed -i -e 's/%bcond_with seastar/%bcond_without seastar/g' $DIR/ceph.spec
-        # use gcc-toolset-9 for the better support of C++17 from GCC
-        # see also https://bugzilla.redhat.com/show_bug.cgi?id=1853900
-        $SUDO dnf copr enable -y tchaikov/gcc-toolset-9 centos-stream-x86_64
     fi
 
     # Make sure we have all the rpm macros installed and at the latest version