]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
setup_pbuilder: only use ppa on newer releases 928/head
authorKefu Chai <kchai@redhat.com>
Wed, 6 Dec 2017 12:57:27 +0000 (20:57 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 6 Dec 2017 13:02:16 +0000 (21:02 +0800)
commit5c0012b8ea7c1c12a8a02640efe0220abf0de399
tree741ec36b6d5cd869e139349b4af8115321996aee
parent98d35725686d31baef054f86ce9b2d64430cc515
setup_pbuilder: only use ppa on newer releases

* only use GCC-7 offered by ppa repo on mimic and newer release.
  we are dropping the support of trusty in mimic and newer releases,
  but we still need to use the old toolchain shipped with trusty to
  build jewel and luminous. so, only use GCC-7 on trusty for building
  mimic and up. as it should be safe to use the new GCC ABI on the
  supported distros, like xenial.
* extract the ppa setup related code into build_utils.sh, so the
  setup_pbuilder scripts can reuse it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build/build/setup_pbuilder
ceph-dev-build/build/setup_pbuilder
ceph-dev-new-build/build/setup_pbuilder
scripts/build_utils.sh