Re: [hwloc-devel] CMake instead of m4

2011-02-14 Thread Jeff Squyres (jsquyres)
Both the Autotools and CMake are fine systems. We have used the Autotools for 
the past several years in OMPI projects for the following reasons:

- Autotools bootstrap a tarball (ie, the user does not need to have the 
Autotools installed), whereas CMake requires that the user have it installed. 
This is probably the most important issue - requiring the user have the build 
tool installed was a deal-breaker for us. We actually almost switched OMPI to 
scons a few years ago but ended up not doing so because of this. 

- the Autotools people have given us *truly excellent* support over the past 
several years. 

- the Autotools support more compilers than other solutions. 

My knowledge on #1 and #3 might be a little dated, but that's what it was the 
last time I checked (perhaps 2-3 years ago?). 

Sent from my PDA. No type good. 

On Feb 13, 2011, at 10:48 PM, "Christopher Samuel"  
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 14/02/11 05:04, LdK wrote:
> 
>> Why don't you use CMake instead of autoconf/automake
>> old couple as build system ?
> 
> Any extra dependency that's needed for a piece of software
> to be installed decreases its attractiveness to potential
> users and (very important to hwloc) integrators.
> 
> The benefit to sysadmins such as myself of packages
> using autotools is that they should work with whatever
> the system has already and not require another package
> to be installed.
> 
> Whenever we come across a piece of software we need to
> install here that uses CMake there's a collective sigh
> of "oh no, not again"..
> 
> Think of using autotools as a way of increasing your
> karma by taking a little bit more pain in return for
> decreasing a whole lot more sysadmins pain.. ;-)
> 
> cheers!
> Chris
> - -- 
>Christopher Samuel - Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computation Initiative
> Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
> http://www.vlsci.unimelb.edu.au/
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk1YpbAACgkQO2KABBYQAh8kjwCeJEpjJ+qEX2nvWewyfryvoAIg
> MsMAoJLDPS9aGcNkNoFzS/OcLpwvi6YV
> =SI2F
> -END PGP SIGNATURE-
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel



Re: [hwloc-devel] CMake instead of m4

2011-02-13 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/02/11 05:04, LdK wrote:

> Why don't you use CMake instead of autoconf/automake
> old couple as build system ?

Any extra dependency that's needed for a piece of software
to be installed decreases its attractiveness to potential
users and (very important to hwloc) integrators.

The benefit to sysadmins such as myself of packages
using autotools is that they should work with whatever
the system has already and not require another package
to be installed.

Whenever we come across a piece of software we need to
install here that uses CMake there's a collective sigh
of "oh no, not again"..

Think of using autotools as a way of increasing your
karma by taking a little bit more pain in return for
decreasing a whole lot more sysadmins pain.. ;-)

cheers!
Chris
- -- 
Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.unimelb.edu.au/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1YpbAACgkQO2KABBYQAh8kjwCeJEpjJ+qEX2nvWewyfryvoAIg
MsMAoJLDPS9aGcNkNoFzS/OcLpwvi6YV
=SI2F
-END PGP SIGNATURE-


Re: [hwloc-devel] CMake instead of m4

2011-02-13 Thread Brice Goglin
If you succeed, please send a patch, we'll see what we can do.

Brice



Le 13/02/2011 19:44, LdK a écrit :
> Ok, I understand...
> I currently try to embed hwloc in Orcc project
>  which use CMake build system and I have
> the opposite problem...
> So are you interrest to add a second build system option if i make it
> successful ?
>
>
> 2011/2/13 Brice Goglin  >
>
> Le 13/02/2011 19:04, LdK a écrit :
> > Hi everyone,
> >
> > I just have a small question :
> > Why don't you use CMake instead of autoconf/automake old couple as
> > build system ?
> > I think that it's an open-source build system easier to use than the
> > others and it target a cross plateform using like your tool !!
>
> Hello Hervé,
>
> CMake may be easier to use once you know how to use it. I think all of
> us were more used to autostuff when we started the project.
>
> Moreover, I don't know if other projects would be able to embed
> hwloc if
> hwloc used cmake (these projects use autostuff and include hwloc m4
> scripts).
>
> Brice
>
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org 
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>
>
>
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>   



Re: [hwloc-devel] CMake instead of m4

2011-02-13 Thread LdK
Ok, I understand...
I currently try to embed hwloc in Orcc project
which use CMake build system and I have
the opposite problem...
So are you interrest to add a second build system option if i make it
successful ?


2011/2/13 Brice Goglin 

> Le 13/02/2011 19:04, LdK a écrit :
> > Hi everyone,
> >
> > I just have a small question :
> > Why don't you use CMake instead of autoconf/automake old couple as
> > build system ?
> > I think that it's an open-source build system easier to use than the
> > others and it target a cross plateform using like your tool !!
>
> Hello Hervé,
>
> CMake may be easier to use once you know how to use it. I think all of
> us were more used to autostuff when we started the project.
>
> Moreover, I don't know if other projects would be able to embed hwloc if
> hwloc used cmake (these projects use autostuff and include hwloc m4
> scripts).
>
> Brice
>
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>


Re: [hwloc-devel] CMake instead of m4

2011-02-13 Thread Brice Goglin
Le 13/02/2011 19:04, LdK a écrit :
> Hi everyone,
>
> I just have a small question :
> Why don't you use CMake instead of autoconf/automake old couple as
> build system ?
> I think that it's an open-source build system easier to use than the
> others and it target a cross plateform using like your tool !!

Hello Hervé,

CMake may be easier to use once you know how to use it. I think all of
us were more used to autostuff when we started the project.

Moreover, I don't know if other projects would be able to embed hwloc if
hwloc used cmake (these projects use autostuff and include hwloc m4
scripts).

Brice



[hwloc-devel] CMake instead of m4

2011-02-13 Thread LdK
Hi everyone,

I just have a small question :
Why don't you use CMake instead of autoconf/automake old couple as build
system ?
I think that it's an open-source build system easier to use than the others
and it target a cross plateform using like your tool !!

Hervé