Git Product home page Git Product logo

Comments (9)

hevrard avatar hevrard commented on May 5, 2024

Thanks @mattyclarkson, is this a blocking issue on your side? (just so that we can prioritize accordingly)

from agi.

mattyclarkson avatar mattyclarkson commented on May 5, 2024

I can't build AGI, so yes. I've tried upgrading on my side but stuck trying to resolve @upd and @build_bazel_rules_apple.

gRPC provides bazel/grpc_deps.bzl which finds all the necessary dependencies. Why do we not use that?

from agi.

mattyclarkson avatar mattyclarkson commented on May 5, 2024

OK, have worked around it by disabling the gettid delcaration. No rush.

We should upgrade the dependency though. I found it especially hard to upgrade as AGI dependencies don't seem to use the upstream project get_deps functions. It would make it much easier to upgrade if we changed to use those.

from agi.

hevrard avatar hevrard commented on May 5, 2024

Thanks for the pointers, looking into using bazel/grpc_deps.bzl now.

Bazel is a (very) fast-moving target, we probably don't use the get_deps because they were not available when we created our own bazel rules.

from agi.

mattyclarkson avatar mattyclarkson commented on May 5, 2024

Makes sense. Thanks for the updates.

It seems strange there isn't a standard Bazel function where you declare dependencies and it automatically resolves them. Most modern build systems support that now. Seems that most projects manually write a *_deps.bzl which seems a bit boilerplate-y

from agi.

hevrard avatar hevrard commented on May 5, 2024

@johnplate had a look and unfortunately, there seems to be breaking changes with newer version of GRPC.

We plan to upgrade, but later this year.

from agi.

johnplate avatar johnplate commented on May 5, 2024

Thank you @mattyclarkson for your report! I fully support your request to use at least gRPC 1.24 and grpc_deps.bzl. With our upcoming presentations at the GDC conference it would be too risky to change gRPC now, but I will take care of it soon after.

from agi.

mattyclarkson avatar mattyclarkson commented on May 5, 2024

No worries. It's easy to work around. The glibc gettid is guarded by #ifdef __USE_GNU so easy to avoid the build error.

from agi.

pau-baiget avatar pau-baiget commented on May 5, 2024

We've just merged #319 which will fix the linux build issues, however we're deferring updating gRPC since it has some implications we're not ready to address. Lowering the priority of this one since linux builds are unblocked now.

from agi.

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.