From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: Alaa Hleihel <alaa-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Benjamin Drung
<benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
Nicolas Morey-Chaisemartin
<nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org>,
Alaa Hleihel <alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-core v1 3/3] travis: Test Debian packaging under artful container
Date: Mon, 6 Nov 2017 09:50:25 -0700 [thread overview]
Message-ID: <20171106165025.GF26011@ziepe.ca> (raw)
In-Reply-To: <68f08161-0ecf-17f7-f0fc-bc18b66fc4fa-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
On Mon, Nov 06, 2017 at 10:19:37AM +0200, Alaa Hleihel wrote:
>
>
> On 06/11/2017 4:17, Jason Gunthorpe wrote:
> > On Sun, Nov 05, 2017 at 04:45:02PM +0200, Leon Romanovsky wrote:
> >
> >> -# 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
> > Loosing this stuff seems like a problem though. We need to make sure
> > the package builds run with -Werror or travis will not flag new
> > warnings.
>
> We still have compilation tests with -Werror in buildlib/travis-build (clang, 32 bit, arm, etc..).
> If that is not enough,
It is not enough. All compilation tests must be run with -Werror and
if you move the gcc-7 test then you have to keep the -Werror
> I think we can pass the -Werror to rpmbuild via CFLAGS environment variable:
> CFLAGS="-Werror" rpmbuild ............
If that works properly it would be fine.
Jason
--
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
next prev parent reply other threads:[~2017-11-06 16:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-05 14:44 [PATCH rdma-core v1 0/3] Perform package tests in Travis CI Leon Romanovsky
[not found] ` <20171105144503.32709-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-05 14:45 ` [PATCH rdma-core v1 1/3] travis: Add RedHat and SuSE rpmbuild support Leon Romanovsky
2017-11-05 14:45 ` [PATCH rdma-core v1 2/3] buildlib/cbuild: Add Ubuntu artful Leon Romanovsky
2017-11-05 14:45 ` [PATCH rdma-core v1 3/3] travis: Test Debian packaging under artful container Leon Romanovsky
[not found] ` <20171105144503.32709-4-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-06 2:17 ` Jason Gunthorpe
[not found] ` <20171106021737.GC26011-uk2M96/98Pc@public.gmane.org>
2017-11-06 8:19 ` Alaa Hleihel
[not found] ` <68f08161-0ecf-17f7-f0fc-bc18b66fc4fa-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06 16:50 ` Jason Gunthorpe [this message]
2017-11-07 8:30 ` [PATCH rdma-core v1 0/3] Perform package tests in Travis CI Leon Romanovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171106165025.GF26011@ziepe.ca \
--to=jgg-uk2m96/98pc@public.gmane.org \
--cc=alaa-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
--cc=alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox