[GRASS-dev] Official GRASS conda recipes?
Laurent C.
lrntct at gmail.com
Mon Jun 8 09:43:31 PDT 2020
Hi Vaclav,
For the last week I've tried to build grass with conda-build on Linux. It
failed in different ways. Even the available online recipes that are
supposed to work (CSDMS, iota2), fail to build on my computer.
The grass build system is a bit confusing, sometimes it completes while
failing to build most of the tools. The grass78 binary will work, but
basically nothing else will.
I have almost zero knowledge of autotools and the build system of GRASS
seems quite complex. Therefore I do not understand which issues the patches
in the existing recipes are supposed to solve, and how to solve the
compilation problems I ran into.
I believe this work should be undertaken by someone who understands how the
build system works.
In the only conda binary package I made, I solved the building issues by
switching the original Makefile for a CMakeLists. But it was a very simple
software. Building grass with cmake is likely to require quite a bit of
work. And my knowledge of cmake is very slim anyway.
This is a topic of interest to me, and I would be glad to help, but I am
afraid I can't do much.
Best,
Laurent
Le lun. 1 juin 2020 à 21:09, Vaclav Petras <wenzeslaus at gmail.com> a écrit :
>
>
> On Sun, May 31, 2020 at 10:10 AM Laurent C. <lrntct at gmail.com> wrote:
>
>>
>> It would be great if there was a set a consistent, up-to-date conda GRASS
>> packages on conda-forge for the 3 main OS.
>> Looking at the amount of recipes already existing, it seems that there is
>> an interest:
>> https://anaconda.org/search?q=grass
>> https://github.com/search?q=grass+conda
>>
>> Unfortunately, none of them are up-to-date, some are for Linux, other for
>> OSX, none for Windows, and none are on conda-forge.
>>
>
> Hi Laurent,
>
> That would be great. Here is how far I got:
>
> conda-based compilation:
> https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/conda-compile
>
> conda package recipe (macOS & Linux):
> https://github.com/csdms-stack/grass-recipe/pull/1
>
> Homebrew:
>
> https://github.com/GRASS-GIS/grass-gis-experimental-ci/tree/homebrew-osgeo4mac
>
> All of them rely on a good amount of patches to allow the compilation.
>>
>
> The patches are same or similar, so it would make sense to have the fix in
> place or at least the patch in the source code itself both to share it and
> to keep the workaround visible.
>
> Best,
> Vaclav
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20200608/ceaaa3f1/attachment.html>
More information about the grass-dev
mailing list