[geos-devel] RFC7 - Use CMake as build system for GEOS
Regina Obe
lr at pcorp.us
Fri Oct 19 13:28:11 PDT 2018
I think there is also the doxygen builds? Which I recall are only in autotools, but I could be mistaken.
From: geos-devel [mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Friday, October 19, 2018 1:39 PM
To: GEOS Development List <geos-devel at lists.osgeo.org>
Subject: Re: [geos-devel] RFC7 - Use CMake as build system for GEOS
Or maybe I should attempt to summarize what I recall from the thread that seem to me to be reasonable functional requests before going cmake-only:
- make dist generates a distributable tarball
- make check
- make check runs all tests
- make check builds test binaries that can be debugged w/o an install
More?
P
On Fri, Oct 19, 2018 at 10:36 AM Paul Ramsey <pramsey at cleverelephant.ca <mailto:pramsey at cleverelephant.ca> > wrote:
This conversation seems to have veered off.
Dan asked what I think is a reasonable question:
Is having working 'make dist' and 'make distclean' targets sufficient to move to a cmake-only build, or will the goalposts just shift again to some other metric (like build time, referenced above)?
I have a branch that seems to have an OK 'make dist' target that I'll PR shortly. I'm not sure that 'make distclean' is actually applicable to the cmake build process, since 'distclean' as a target is something that autotools needs to deal with the fact that autotools creates so many build artifacts that aren't wanted in the source bundle. In a cmake build run from a separate build tree (not run "in tree" like autotools) the 'dist' target seems sufficient to our purpose (get a deterministic source tarball) without a 'distclean' but we'll see.
I am among those who would (a) like to have one build system and (b) would like cmake to be that build system.
P
On Thu, Oct 4, 2018 at 7:41 AM Sandro Santilli <strk at kbt.io <mailto:strk at kbt.io> > wrote:
On Thu, Oct 04, 2018 at 04:16:28PM +0200, Sandro Santilli wrote:
> Install/uninstall steps:
>
> build-cmake$ time sudo make install
> real 0m1.514s
> user 0m0.403s
> sys 0m0.232s
>
> build-autotools$ time sudo make install
> real 0m10.302s
> user 0m9.643s
> sys 0m0.737s
>
> Note that the extra time on "make install" for autotools
> is due to some problematic dependency encoded to deal with
> GEOS revision flag, used to build final library (not sure
> a ticket exists for that already)
After fixing the bug in tools/repo_revision.sh these are
the new timings (cmake twice as fast at install):
build-autotools$ time sudo make install
real 0m2.905s
user 0m2.379s
sys 0m0.595s
--strk;
_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org <mailto:geos-devel at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geos-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20181019/fd732c17/attachment.html>
More information about the geos-devel
mailing list