[Dune] [CMake] Set external ALUGrid

Arya Fallahi arya.fallahi at gmail.com
Fri Jan 9 16:09:30 CET 2015


Dear all,

Sorry to trigger such a discussion. But, it may be good for you, as
developers, to know a feedback from a single user.

I decided to switch to cmake, because I always wanted to stay updated with
dune. That was the only reason. Everything was working fine with autotools.

However, after receiving various error messages and searching deep in the
forums about cmake (I completely read the guidelines in dune website), I
came to the conclusion that there are many bugs in the cmake. The simplest
of all was that I had to give the complete address of the installed gcc,
although it was known to the linux (autotools was easily recognizing that).
There were actually many more bugs. I ended up seeing that I am just
building up a dirty opts file, which I usually like to avoid. The errors
were definitely not from dune and it was the cmake errors I could see in
many forums.

So, in summary I would completely agree with Robert that the switch to
cmake may not have been the best decision, since it does not seem to be so
mature as autotools.

Thanks a lot for your helps,

Arya

On Fri, Jan 9, 2015 at 3:17 PM, Christoph GrĂ¼ninger <
christoph.grueninger at iws.uni-stuttgart.de> wrote:

> Hi Andreas,
> actually you can use depending modules built with CMake and modules
> built with Autotools (dune-common with CMake, dune-geometry with
> Autotools, not the other way round). Markus added support for that in
> the 2.3 release; CMake generates the necessary files.
> But be warned, this feature is rarely tested as most people either stick
> to Autotools or switch to CMake completely. At least I don't know any
> user and I never got feedback (complaints, bug reports) so far.
>
> After the removal of Autotools this backward compatibility is
> automatically broken. CMake just generates the necessary dependency files.
> dunecontrol is completely unrelated to this topic.
>
> Bye,
> Christoph
>
> --
> GDB does hate your application, expresses its contempt through the
> design of its command-line interface.   -- Tom Tromey, FOSDEM 2014
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150109/6026ce39/attachment.htm>


More information about the Dune mailing list