Giter Club home page Giter Club logo

Comments (5)

urschrei avatar urschrei commented on May 24, 2024 1

Depending on what else you need, Geo has an Ubuntu Docker image available for use with GH actions with the latest libproj installed. The repo is part of Georust…

from transit_model.

woshilapin avatar woshilapin commented on May 24, 2024

This ticket might be outdated since this kind of solution is likely to be merged soon directly into the crate proj-sys on which crate proj depend.
georust/proj-sys#25

Note however that this would probably increase significantly our CI build, unless the system on which we depend (ubuntu-latest for Github Actions) already have a pre-packaged version of Proj in a compatible version.

from transit_model.

urschrei avatar urschrei commented on May 24, 2024

Just to clarify: by default, proj-sys (and proj, by extension) will try to use the existing system libproj (using pkg-config if it's present), and only fall back to the bundled source if it can't be found.

from transit_model.

woshilapin avatar woshilapin commented on May 24, 2024

@urschrei Thanks for the precision and yes, that's what I understood. But most CI runners (Github Actions in the case of transit_model) don't have libproj installed by default. And last time we checked, the libproj packaged in debian-like system was too old to correctly work with the crate proj (so using apt install libproj was not an option). The consequence would have been to recompile libproj on each CI build. That said, we might also be able to use some cache system in the CI... 🤔

from transit_model.

woshilapin avatar woshilapin commented on May 24, 2024

I guess this has not really been a problem anymore in the CI (using custom image with a libproj already installed in it), I'm closing this issue.

from transit_model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.