Friday, 29 June 2012

New build system infra

Hi,

If you've been watching the commits, you'll know that in preparation for the
switch to Git on Sunday, I have been reworking how the libraries and tools
find/use the shared build infrastructure.

I have been removing the use of svn:externals since we could not agree on a
fully acceptable way to expose them with Git.

As such, there is now a Makefile in tools/buildsystem and before you do
anything else, you should svn up in that tree and run the makefile.

That makefile will install into $PREFIX/share/netsurf-buildsystem all the
shared makefiles and test tools.

If you really don't want to do that, then you can, instead, export NSSHARED in
your environment as the full path to the tools/buildsystem checkout (i.e. the
dir containing example, makefiles, testtools, llvm, etc).

Then you can svn up in the library trees and they should continue to build as
before.

Once the Git transition is complete, the externals warts will vanish.

A variant of this information will be presented as part of the 'Getting started
with building NetSurf from source' wiki page I'll be roughing out before the
end of Sunday.

D.

--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69

No comments:

Post a Comment