public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: oulijun <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH V2 rdma-core 0/5] Userspace library matching for hip08 RoCE
Date: Tue, 24 Oct 2017 15:13:54 +0300	[thread overview]
Message-ID: <20171024121354.GG16127@mtr-leonro.local> (raw)
In-Reply-To: <6b081786-72a5-5add-a302-37b51a6c02a4-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]

On Tue, Oct 24, 2017 at 04:41:57PM +0800, oulijun wrote:
> 在 2017/10/24 12:37, Leon Romanovsky 写道:
> > On Tue, Oct 24, 2017 at 10:35:45AM +0800, Lijun Ou wrote:
> >> This patch series add userspace library for hip08 RoCE driver. It will
> >> work with the kernel driver of hip08 RoCE(hns-roce-hw-v2.ko).
> >>
> >> Change from V1:
> >> - Fix build warning due to the strange placement of fprintf
> >>
> >
> > It still fails to build cleanly.
> > https://travis-ci.org/linux-rdma/rdma-core/builds/291891845?utm_source=github_status&utm_medium=notification
> >
> > [74/190] Building C object providers/h...s/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o
> > FAILED: /usr/bin/clang-4.0 -Dhns_rdmav16_EXPORTS -Werror -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O2 -g -fPIC -Iinclude -I/usr/include/libnl3 -std=gnu11 -MMD -MT providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o -MF providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o.d -o providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o -c ../providers/hns/hns_roce_u_hw_v2.c
> > ../providers/hns/hns_roce_u_hw_v2.c:40:20: error: unused function 'set_raddr_seg_v2' [-Werror,-Wunused-function]
> > static inline void set_raddr_seg_v2(struct hns_roce_v2_wqe_raddr_seg *rseg,
> >  ^
> > 1 error generated.
> > [74/190] Building C object providers/h...s/hns-rdmav16.dir/hns_roce_u_hw_v1.c.o
> >
> > Please use buildlib/cbuild script to test your patch series, the option "travis" will run the same checkers as I'm running.
> >
> > Thanks
> >
> Hi, leon
>  sorry, I am fail to run cbuild tools.
>  the cmd as follows:
>  oulijun@Turing-Arch-b:~/rdma/rdma-core/buildlib$ ./cbuild pkg travis
> HEAD is now at 5d410f5 libhns: Update consolidate repo for userspace library of hip08 RoCE
>
> Can I use the cbuild tools quickly? Can I use buildlib/cbuild scripts for check?

It was our intention.

You are supposed to run cbuild script directly from source root directory.

There is extensive help in the beginning of cbuild script, but it can be
narrowed to the following three commands:

1) Create and download docker images (you are supposed to run this once
only, per requested operating system)
➜  rdma-core git:(master) ./buildlib/cbuild build-images travis

2) Compile for the target
➜  rdma-core git:(master) ./buildlib/cbuild make travis

3) Actually run all scripts specific to that target
➜  rdma-core git:(master) ./buildlib/cbuild pkg travis

Thanks

>
> thanks
> Lijun Ou
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-10-24 12:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24  2:35 [PATCH V2 rdma-core 0/5] Userspace library matching for hip08 RoCE Lijun Ou
     [not found] ` <1508812550-98920-1-git-send-email-oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-10-24  2:35   ` [PATCH V2 rdma-core 1/5] libhns: Add new PCI device matching for hip08 Lijun Ou
2017-10-24  2:35   ` [PATCH V2 rdma-core 2/5] libhns: Introduce QP operations refered to hip08 RoCE device Lijun Ou
2017-10-24  2:35   ` [PATCH V2 rdma-core 3/5] libhns: Introduce CQ operations refered to hip08 device Lijun Ou
2017-10-24  2:35   ` [PATCH V2 rdma-core 4/5] libhns: Reimplement verbs of post_send and post_recv for hip08 RoCE Lijun Ou
2017-10-24  2:35   ` [PATCH V2 rdma-core 5/5] libhns: Update consolidate repo for userspace library of " Lijun Ou
2017-10-24  4:37   ` [PATCH V2 rdma-core 0/5] Userspace library matching for " Leon Romanovsky
     [not found]     ` <20171024043742.GF16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-24  8:41       ` oulijun
     [not found]         ` <6b081786-72a5-5add-a302-37b51a6c02a4-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-10-24 12:13           ` Leon Romanovsky [this message]
     [not found]             ` <20171024121354.GG16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-24 12:31               ` oulijun

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=20171024121354.GG16127@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=oulijun-hv44wF8Li93QT0dZR+AlfA@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