From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: [PATCH rdma-core v1 3/3] travis: Test Debian packaging under artful container Date: Sun, 5 Nov 2017 16:45:02 +0200 Message-ID: <20171105144503.32709-4-leon@kernel.org> References: <20171105144503.32709-1-leon@kernel.org> Return-path: In-Reply-To: <20171105144503.32709-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Doug Ledford , Jason Gunthorpe Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Leon Romanovsky , Benjamin Drung , Nicolas Morey-Chaisemartin , Alaa Hleihel List-Id: linux-rdma@vger.kernel.org From: Alaa Hleihel This will be compiled with GCC 7 coming with Ubuntu artful. Also, remove installations of debian helpers from addons->apt list in .travis.yml file as they are no longer required. Signed-off-by: Alaa Hleihel Signed-off-by: Leon Romanovsky --- .travis.yml | 3 --- buildlib/package-build-test | 2 +- buildlib/travis-build | 14 -------------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4d7b0cc0..bdcb20a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,6 @@ addons: - build-essential - clang-4.0 - cmake - - debhelper - - dh-systemd - - fakeroot - gcc - gcc-7 - git diff --git a/buildlib/package-build-test b/buildlib/package-build-test index d5fcdd9c..e6d7b100 100755 --- a/buildlib/package-build-test +++ b/buildlib/package-build-test @@ -11,7 +11,7 @@ if [ -e "/.dockerenv" ] || (grep -q docker /proc/self/cgroup &>/dev/null); then exit 0 fi -for OS in centos7 opensuse-42.3 +for OS in centos7 opensuse-42.3 artful do echo echo "Checking package build for ${OS} ...." diff --git a/buildlib/travis-build b/buildlib/travis-build index bf86baa7..1a88dff2 100755 --- a/buildlib/travis-build +++ b/buildlib/travis-build @@ -45,17 +45,3 @@ rm CMakeCache.txt CC=clang-4.0 CFLAGS=-Werror cmake -GNinja .. ninja cp ../util/udma_barrier.h.old ../util/udma_barrier.h - -# Finally run through gcc-7 64 bit through the debian packaging This gives a -# good clue if patches are changing packaging related things, the RPM stuff -# will have to be audited by hand. - -# When running cmake through debian/rules it is hard to set -Werror, -# instead force it on by changing the CMakeLists.txt -cd .. -echo 'set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")' >> buildlib/RDMA_EnableCStd.cmake -sed -i -e 's/-DCMAKE_BUILD_TYPE=Release//g' debian/rules -sed -i -e 's/ninja \(.*\)-v/ninja \1/g' debian/rules - -CC=gcc-7 debian/rules build -fakeroot debian/rules binary -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html