google / google/heir

frontend: support `py_binary`

Open
#1,349 1 comment 0 reactions 1 assignee Claimed by @j2kun View on GitHub
python frontend
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

`py_binary` doesn't work with the frontend code because RUNFILES_DIR is not set in binary targets by bazel

https://github.com/google/heir/blob/62917facfbaef31e8cd30cc2d46c343c89c1ffe2/heir_py/openfhe_config.py#L83

Based on [this page](https://bazel.build/reference/be/make-variables), I think `BINDIR` may be the env var to use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.