]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
debian/control: Build-Depends on g++
authorKefu Chai <tchaikov@gmail.com>
Mon, 16 Sep 2019 15:44:10 +0000 (23:44 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 16 Sep 2019 15:50:28 +0000 (23:50 +0800)
as a C++ project, we should depends on g++. actually, GCC-7 is able to
support C++17. but we use C++17 features extensively, and have been
running into GCC bugs every now and then. so would be ideal if we can
use newer GCC if possible.

we've dropped the support of ubuntu/xenial. while on ubuntu/bionic, only
GCC-7.4 is available. so let's require g++ (>= 7) then.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
debian/control

index aadadcfccea9575a781d9df5350283aaf2b69073..5b4d1e08a6687825463a9878417068df77e633a8 100644 (file)
@@ -19,6 +19,7 @@ Build-Depends: cmake (>= 3.5),
                dh-systemd,
                git,
                gperf,
+               g++ (>= 7),
                javahelper,
 # Make-Check   jq,
                junit4,