Date: Thu, 12 Feb 2015 00:03:43 +0800 From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org> Subject: Re: scan-build and Jenkins Message-ID: <20150211160343.GA88635@FreeBSD.cs.nctu.edu.tw> In-Reply-To: <CAG=rPVeHYn7esVq3KFHoQ_gt5p%2BE1wLT47CvKZCcePFhPr3MRw@mail.gmail.com> References: <CAG=rPVe4O_sk7LDas5MoqgafOLVPj-UPAkgYATSGPuh13Jec5A@mail.gmail.com> <20150211150515.GA22751@FreeBSD.cs.nctu.edu.tw> <CAG=rPVeHYn7esVq3KFHoQ_gt5p%2BE1wLT47CvKZCcePFhPr3MRw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2015 at 07:48:19 -0800, Craig Rodrigues wrote: > On Wed, Feb 11, 2015 at 7:05 AM, Li-Wen Hsu <lwhsu@freebsd.org> wrote: > > > Hi, > > > > - "Multiple SCMs" plugin is used, for check out both scan-build scripts > > and source being checked > > - scan-build is build from LLVM & Clang trunk, which are also checked out > > by > > multiple SCMs plugin and built when job triggered. This is designed > > by uqs@ at the beginning because we want to use the latest tool to > > eliminate false results. > > > > Thanks, this was the part I was not sure about. > I will look at the Jenkins job to see how to build scan-build. > Where did you find out the steps to build scan-build? I wrote a mail to uqs and he just threw me a tarball. :) The old repository is available here: https://github.com/lwhsu/freebsd-scan-build > Since you are building LLVM & Clang from trunk, does that > mean you are using the trunk version of Clang to build FreeBSD as well, > or do you just run scan-build to run the static analysis without building > the FreeBSD source tree? scan-build is just a wrapper, see this: https://github.com/freebsd/freebsd-ci/blob/66c7b75248de37546449b9df8c4e01d239d8e0b3/scan-build/scan-world#L45-L46 Li-Wen -- Li-Wen Hsu <lwhsu@FreeBSD.org> http://lwhsu.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150211160343.GA88635>