develooper Front page | perl.perl5.porters | Postings from January 2016

Re: Jenkins build is back to normal : perl5-win32 #1996

Thread Previous | Thread Next
From:
Dennis Kaarsemaker
Date:
January 26, 2016 09:23
Subject:
Re: Jenkins build is back to normal : perl5-win32 #1996
Message ID:
1453800169.10449.5.camel@kaarsemaker.net
On di, 2016-01-26 at 09:15 +0100, dennis+p5p-jenkins@kaarsemaker.net
wrote:
> See <http://perl5.git.perl.org:8080/job/perl5-win32/1996/>
> 

The fix for this was not in the code, but in the build config, so it's
probably worth mentioning this.to spread the tribal knowledge.

The build script was doing this:

git reset --hard
git clean -dfx
git remote prune origin
cd win32
call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
@echo on
nmake CCTYPE=MSVC100
set PERL_SKIP_TTY_TEST=1
nmake test

Thanks to TonyC's debugging work, this has now been changed to:

git reset --hardgit clean -dfxgit remote prune origincd win32call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"@echo onnmake CCTYPE=MSVC100set PERL_SKIP_TTY_TEST=1nmake test CCTYPE=MSVC100
The only change is adding CCTYPE=MSCV100 to the nmake test line. The
nmake Makefile has a habit of rebuilding things, and the test is now a
bit stricter in checking that the right thing was built.

-- 
Dennis Kaarsemaker
http://www.kaarsemaker.net



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About