platforms
platforms copied to clipboard
Constraint values for specifying platforms and toolchains
- use version.bzl to get the version - add instructions to mirror the tarball - remind people to update bazel by fixing distdir_deps.bzl
Hello! I'm working on embedded code which does not run with any OS underneath (on "bare metal"). My initial thought was to specifiy "OS=none" or something like that. What do...
We intend to use `loong64` as cpu constraint for LoongArch64. Signed-off-by: znley
In FreeBSD x86_64 is known as amd64 ~% uname -p amd64
Would it be possible to introduce `@platforms//abi` which contains constraints for common ABI definitions of [platform triples](https://clang.llvm.org/docs/CrossCompilation.html#target-triple)? In `rules_rust` we currently have issues with users wanting to target platforms with...
This pull-requests adds [constraint_value](https://bazel.build/reference/be/platform#constraint_value) flags for common [abi](https://en.wikipedia.org/wiki/Application_binary_interface) flags. Defining these in the `@platforms` repository avoids other rules from needing to define custom constraints and/or avoids each repository defining project...
There are a number of widely used `config_setting` targets in [`@bazel_tools//src/conditions`](https://cs.opensource.google/bazel/bazel/+/master:src/conditions/BUILD), that should probably actually be in the `@platforms` repository. We should investigate migrating these to simplify the setup.
Hi wonderful Bazel Platforms folks! First and foremost, thanks for working to create something centralized and great here. It's so nice to have official support for modeling cross-platform code with...
A common trick with Bazel rules is to download prebuilt SDK's and use that as toolchains. However, it is a mistake to assume that keying which SDK to download on...
- A smoke test to make sure the BUILD files parse - bonus points for producing a listing of all the defined cpu & OS values - perhaps the listing...