From owner-freebsd-testing@FreeBSD.ORG Wed Feb 11 16:03:44 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBA5A535; Wed, 11 Feb 2015 16:03:44 +0000 (UTC) Received: from FreeBSD.cs.nctu.edu.tw (FreeBSD.cs.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id A434A36F; Wed, 11 Feb 2015 16:03:44 +0000 (UTC) Received: by FreeBSD.cs.nctu.edu.tw (Postfix, from userid 1058) id DD5B92C55; Thu, 12 Feb 2015 00:03:43 +0800 (CST) Date: Thu, 12 Feb 2015 00:03:43 +0800 From: Li-Wen Hsu To: Craig Rodrigues Subject: Re: scan-build and Jenkins Message-ID: <20150211160343.GA88635@FreeBSD.cs.nctu.edu.tw> References: <20150211150515.GA22751@FreeBSD.cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 16:03:45 -0000 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 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 http://lwhsu.org