Coder Social home page Coder Social logo

Bazel BUILD rule / BUILD file about clif HOT 15 CLOSED

google avatar google commented on July 22, 2024 5
Bazel BUILD rule / BUILD file

from clif.

Comments (15)

ChrisCummins avatar ChrisCummins commented on July 22, 2024 3

FWIF, I have found that pybind11_bazel works flawlessly and is a pleasure to use. It took a bit of figuring out how to use it as (at the time) the repo {is,was} largely undocumented. You can my example here:

https://github.com/ChrisCummins/phd/tree/master/learn/python/pybind

from clif.

mrovner avatar mrovner commented on July 22, 2024

Bad news: at the moment Bazel has no features to do so.
Good news: it's a work in progress (and we are participating).

from clif.

tinskip avatar tinskip commented on July 22, 2024

Would it be possible to use a bazel genrule for the time being?

from clif.

mrovner avatar mrovner commented on July 22, 2024

from clif.

thaidn avatar thaidn commented on July 22, 2024

@mrovner Mike, would you mind sharing an ETA or something for this project? Thanks.

from clif.

mrovner avatar mrovner commented on July 22, 2024

My uninformative guess is around next year. I know people are actively working on this but it's hard.

from clif.

hlopko avatar hlopko commented on July 22, 2024

bazelbuild/bazel#4570 is the blocker.

from clif.

ChrisCummins avatar ChrisCummins commented on July 22, 2024

Any update on this, or examples of ad-hoc workarounds with genrules?

from clif.

yegle avatar yegle commented on July 22, 2024

The blocker was fixed recently. Any update on the bazel rules?

from clif.

hlopko avatar hlopko commented on July 22, 2024

Yup that is correct, AFAIK we can now implement clif rules in Starlark. We (the Bazel rules team) don't plan to proactively do that, but we will gladly help anybody who will.

from clif.

dmadisetti avatar dmadisetti commented on July 22, 2024

So there's a external project that implements clif for Bazel! See tink-crypto/tink@6c476e3

I'm not sure how stale this repository is, but this hopefully reduces the engineering effort if this ticket was to ever be addressed.

from clif.

gpshead avatar gpshead commented on July 22, 2024

A little ironic given that I believe @rwgk has re-implemented tink's CLIF use in pybind11 (is that released yet?).

from clif.

dmadisetti avatar dmadisetti commented on July 22, 2024

@ChrisCummins Cheers. The fact the project looks pretty alive is also reassuring. Pretty easy to set up and port

from clif.

rwgk avatar rwgk commented on July 22, 2024

Yes, the tink pybind11 code was released, although the tink team is still working on building outside the google environment.

I see the author of the tink clif build rules is Bartosz, the same person I was working with when converting the clif bindings to pybind11. I wasn't aware of the tink clif build rules, but I'm pretty sure there were blockers, like clif itself not building. Bartosz' code predates him contacting me to ask when OSS clif will be updated.

from clif.

rwgk avatar rwgk commented on July 22, 2024

This repo was unmaintained from December 2017 to September 2019.
It was recently updated, see #36 (comment) for some background.

If this issue is still relevant please repopen it or ask questions at https://github.com/google/clif/discussions/.

from clif.

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.