[all-commits] [llvm/llvm-project] 123c83: [mlgo] bazel rules for mlgo-utils (#79217)

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Jan 24 11:04:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 123c83ddc71048fb0a682218e6961d71ec08c2ea
      https://github.com/llvm/llvm-project/commit/123c83ddc71048fb0a682218e6961d71ec08c2ea
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [mlgo] bazel rules for mlgo-utils (#79217)

Akin the `py_binary` rules for `lit`, these are scoped to binaries,
rather than exposing the library - binary split. The latter is available
to the package (pip package) users.

Tested:

```
cd utils/bazel
bazel build @llvm-project//llvm:extract_ir
bazel-bin/external/llvm-project/llvm/extract_ir --help
```
...and observed expected output (rather than import not found errors)

(Same for the other 2 targets).




More information about the All-commits mailing list