On Fri, 2009-02-13 at 18:43 -0800, Dave Airlie wrote:
> > 
> > Gallium3D currently builds on Linux userland (gcc), Windows user-space
> > (MSVC, MinGW, and MinGW cross-compilers) and Windows kernel-space (MSVC
> > only unfortunately). Mesa3D/Gallium3D scons build system supports all
> > those combinations, *today*.
> 
> Jose it supports building, I think Donnie's point is that its impossible 
> to package something that uses scons, so makes it useless to people who 
> downstream consume Mesa instead of developers doing builds.

Dave,

It is not impossible to package something that uses scons. Several
packages in debian use it:

$ grep "Build-Depends: .*\<scons\>" /var/lib/apt/lists/*_Sources | wc -l
82

Concerning CFLAGS etc, one can easily modify scons to listen to it. E.g:
  env.Append(CFLAGS = os.environ['CFLAGS']
We can add this to mesa/gallium if it makes packager's lives easier.
Scons also accepts options via command line and SCONSFLAGS.

I won't even comment on KDE developers statement that Donnie quoted: it
was done almost 3 years ago, and with a completely different set of
requirements. I played with cmake on gallium, and it was useless.

I think that all this anti-scons stuff is just FUD. Anyway, I won't push
scons as the "build system to rule them all", as it is pretty
unrealistic. Everybody prefers what they know best, and don't want the
productivity downer of learning a new tool. It is understandable, and
that's why make will remain for the years to come.

I'd be glad if just more linux developers gave gallium scons build
system a honest try and helped me support it on linux, besides just a
couple of us in vmware. It supports:
- out of tree builds (build linux x86, linux x86-64, windows, etc, from
a single source tree) 
- worry-free implicit dependency scanning
- cross platform (*truly*, and not just relying on cygwin, msys, etc to
provide a fake unix environment on windows)
- builtin ccache-like functionality (on all platforms)
- files are rebuilt based on md5sums, not their time stamps (pretty neat
when one temporarily git-checkouts something else)
- autoconf like functionality (although I barely scratched the surface
on this)
- automatic parallel builds on multicore systems
- ...

Jose


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to