default_cmake

Dennis Veatch dennisveatch at bellsouth.net
Tue Mar 24 12:29:43 CET 2009


On Monday 23 March 2009 10:55:53 pm Auke Kok wrote:
> Jannis Pohlmann wrote:
> > Hey guys,
> >
> > I don't want to go off-topic here, but could anyone please comment on
> > the default_python_build and init.d detection patches I sent to this
> > list a bit more than a week ago?
>
> in principle all those patches are ok, but like the cmake one, we have
> to maintain some basic rules for these:
>
> 1 - clear difference between "configure" and "build" phases, and run
> prepare_install in between
>

I think the proposed cmake stuff adheres to that.

> 2 - prefer GNU make over other build systems by default (IOW, if
> 'Makefile' exists use it, instead of attempting a CMake build just
> because 'configure' did not exist).
>

I don't know of any module that has only a Makefile and does not have a BUILD. 
So it will be a given a BUILD will exist. Which will cause;

  if has_module_file $MODULE BUILD ; then
    run_module_file $MODULE BUILD

in the run_build function to kick in before it even thinks about going on to 
default_build, default_cmake_build, or default_python_build. So I don't atm 
see that as being a problem.

> I haven't looked too closely in all the examples flying by, but I can
> see about merging them in theedge and taking a close look myself to make
> sure we don't break any modules expecting above behaviour.
>
> Auke
> _______________________________________________


-- 
You can tuna piano but you can't tune a fish.

http://www.lunar-linux.org/
It's worth the spin.


More information about the Lunar-dev mailing list