Giter Site home page Giter Site logo

Comments (2)

Dav1dde avatar Dav1dde commented on June 1, 2024

Ah I never added it to the docs...

Everytime you run glad it pulls the latest specifications from github and uses those to generate the loader, this means you need an active network connection and that between runs the output may change. It can also (very rarely) happen that upstream introduces a breaking change and your glad version doesn't support these specs anymore -> your build breaks.

The reproducible option uses packaged specifications instead, they are potentially a bit outdated but this means there are no more network requests and your build will never fail due to updated/changed upstream specifications.

So generally I recommend you to use the reproducible option if you use cmake, this does not matter much if you generate manually and check in the generated code (which is what you should do imo).

from glad.

M2-TE avatar M2-TE commented on June 1, 2024

Thanks for the clarification, this seems to actually be what I wanted a while ago. Pulling the latest specifications would sometimes cause the script to hang while fetching them, seemingly at random despite stable connection. Normally it is a quick <1min process, but sometimes it can take up to an hour, but there was no trace or error information of any sort, so I doubt it was a fault with the GLAD library..

I do however suggest adding the REPRODUCIBLE into the documentation (particularly into the CMakeLists.txt) as it seems to be an option that most people would want to opt into. Perhaps even making it the default and requiring a different explicit keyword to obtain the latest spec instead?

from glad.

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.