2
0
Fork 0
mirror of https://github.com/bazelbuild/platforms synced 2024-11-25 08:31:23 +00:00
Commit graph

62 commits

Author SHA1 Message Date
aiuto e658a6af52
Merge pull request #30 from cfrantz/riscv32
Add a `riscv32` cpu constraint.
2021-10-01 00:14:41 -04:00
aiuto a580781310
Merge branch 'main' into riscv32 2021-09-30 14:15:43 -04:00
Greg 357032980c
Merge pull request #32 from bsiegert/netbsd
os: add netbsd constraint value
2021-09-30 14:15:33 -04:00
Benny Siegert f01a297c09
os: add netbsd constraint value 2021-09-16 10:22:39 +02:00
Philipp Wollermann 98939346da
Fix CI config 2021-08-07 10:41:22 +02:00
aiuto 96c39eb50c
Merge branch 'main' into riscv32 2021-07-28 14:50:38 -04:00
aiuto e6d44262ab
Merge pull request #29 from aiuto/main
Respectful naming fixit
2021-07-28 14:13:32 -04:00
Chris Frantz 9fd823ec94 Add a riscv32 cpu constraint.
We intend to use this contraint for cpu & compiler selection for the
OpenTitan project.  We are working on creating a riscv32 compiler
configuration in the bazel-embedded project.

Signed-off-by: Chris Frantz <cfrantz@google.com>
2021-07-26 10:47:38 -07:00
Tony Aiuto 0c80b6c0f4 respectful naming fixit 2021-06-15 13:10:48 -04:00
Copybara-Service d4c9d7f51a Merge pull request #26 from meteorcloudy:patch-1
PiperOrigin-RevId: 359497157
Change-Id: I602c62990a7c8df34b71db5622df89921f3a20a3
2021-02-25 05:07:30 -08:00
Yun Peng b2e9d7a699
Update BUILD 2021-02-17 17:51:44 +01:00
Yun Peng 44d70196ba
Add cpu value riscv64 2021-02-17 17:51:20 +01:00
Copybara-Service d87d2b4304 Merge pull request #24 from shanjiantao:master
PiperOrigin-RevId: 355604706
Change-Id: I70bf26c119dcac2d2ab4807cee4132e0625ecf59
2021-02-04 05:22:40 -08:00
shanjiantao a2467ce725
Merge branch 'master' into master 2021-02-04 11:12:24 +08:00
Copybara-Service e97ea7e014 Merge pull request #25 from katre:update-release-docs
PiperOrigin-RevId: 354133714
Change-Id: I69689a1fa5ad7b68a0efd71cc1f65773c7f2c4ee
2021-01-27 11:32:19 -08:00
John Cater c8d51a8158 Update distribution docs for new Bazel dist scheme. 2021-01-27 13:41:26 -05:00
shanjiantao 6834ce58ba add mips64 cpu 2021-01-20 10:54:21 +08:00
Copybara-Service 0969b628cf Merge pull request #11 from curtin-space:master
PiperOrigin-RevId: 351793508
Change-Id: I0c9ade418997c1b1fe03c38ec7388d806648bce7
2021-01-14 07:12:10 -08:00
Nathaniel Brough 29bd0fc767 cpu: Adding cortex-m targets 2021-01-14 09:19:24 +08:00
Copybara-Service 090d3b11a8 Merge pull request #22 from thii:make-aarch64-an-alias-of-arm64
PiperOrigin-RevId: 351576276
Change-Id: Ic0762734766d63a716b3e2cab0c42bab993a76a3
2021-01-13 06:51:36 -08:00
Thi Doãn e20c93258a
Make aarch64 an alias of arm64
On Apple silicon Macs, auto-detected host platform constraints' cpu is
aarch64, but arm64 is used everywhere else. This change ensures that you
will get the same cpu when your target depends on an arm64 or an aarch64
cpu contraint.
2020-12-10 20:14:20 +09:00
Copybara-Service 540032531b Merge pull request #21 from aiuto:update
PiperOrigin-RevId: 346090354
Change-Id: I699f5aef7657a45241d30c4f1c93719d68d3f802
2020-12-07 07:43:44 -08:00
aiuto d4271e9dac
Merge branch 'master' into update 2020-12-07 10:17:20 -05:00
Copybara-Service 68803edf50 Merge pull request #21 from aiuto:update
PiperOrigin-RevId: 346050578
Change-Id: Iff27708f9cbb77a5de4a8f1d529f4e3aa53f5a5f
2020-12-07 02:52:59 -08:00
Tony Aiuto 9a7e0680ae typo; 2020-12-04 20:11:58 -05:00
Tony Aiuto db9d0ee2c0 caps 2020-12-04 14:47:55 -05:00
Tony Aiuto 18f2d86282 reality_bites 2020-12-04 13:02:31 -05:00
Tony Aiuto ae00b7ec5d add bazel notes 2020-12-04 13:01:20 -05:00
Tony Aiuto 3e981de178 refine it a bit 2020-12-03 23:55:23 -05:00
Tony Aiuto 7a84ee3183 Merge remote-tracking branch 'origin/update' into update 2020-12-03 23:40:11 -05:00
aiuto 0689aab2e1 first draft releaser script 2020-12-03 23:39:17 -05:00
Copybara-Service 10b4d2bdde Merge pull request #20 from philsc:not-compatible
PiperOrigin-RevId: 343286570
Change-Id: I1bb23135d8114c6189cc1d753b570da9416c505d
2020-11-19 07:32:03 -08:00
Philipp Schrader 1e362cd247 Add an "incompatible" constraint value
The bazel docs [1] currently recommend users to create an
`incompatible` constraint in their own code base. This constraint is
useful in expressing more advanced target compatibilities.

Currently every project has to create their own definition for this
constraint. That is unnecessary proliferation of something that can be
easily centralized here.

This patch makes it so users will be able to use the following pattern
in their BUILD files:

    cc_library(
        name = "unixish_lib",
        srcs = "unixish_lib.cc",
        target_compatible_with = select({
            "@platforms//os:osx": [],
            "@platforms//os:linux": [],
            "//conditions:default": ["@platforms//:incompatible"],
        ],
    )

[1]: https://docs.bazel.build/versions/master/platforms.html#skipping-incompatible-targets
2020-11-18 19:45:44 -08:00
Copybara-Service 228d7d560d Merge pull request #19 from PiotrSikora:wasi
PiperOrigin-RevId: 340987756
Change-Id: I9055ddb0b3b8f21b4c1419c511055e0330943a00
2020-11-05 22:04:57 -08:00
Piotr Sikora ed46070dfc os: add WASI (WebAssembly System Interface).
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2020-11-05 19:34:29 +00:00
Copybara-Service aee75f4429 Merge pull request #17 from QuantamHD:master
PiperOrigin-RevId: 332482715
Change-Id: I7b6f0daf9c1a81e233e3a025a7d6e5ea45422aa4
2020-09-18 10:51:37 -07:00
Ethan Mahintorabi 3f5de2a3b4 Adds armv6-m support to the platforms library.
This is commonly known thumbv6. However, it appears that the name
is split between armv6-m and thumbv6 globally. I choose the arm
notation in order to be consistent with the other arm platforms.
2020-09-15 20:33:02 -07:00
Copybara-Service 7caa0ac1d3 Merge pull request #16 from katre:add-authors
PiperOrigin-RevId: 330714482
Change-Id: I5cef813fc6125534cc7d5e1cd1baad5dd19a3115
2020-09-09 07:00:48 -07:00
John Cater 5164f2c0ba Update language 2020-09-02 15:55:33 -04:00
John Cater 14b9cf416e Add AUTHORS file to clarify copyright and ownership.
Fixes #14.
2020-09-02 10:54:49 -04:00
Copybara-Service 681f1ee032 Merge pull request #12 from lizan:wasm
PiperOrigin-RevId: 314539311
Change-Id: I78e13c6887bccf28a2d63760176519eed7cfd2ac
2020-06-03 08:53:13 -07:00
Lizan Zhou 966defdc80 add wasm cpu
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
2020-05-01 14:56:52 -07:00
Copybara-Service 9ded0f9c31 Merge pull request #10 from mboes:nixos
PiperOrigin-RevId: 307386813
Change-Id: Ie9c7f1ac31543503b67b91b65ccbc6940cf3651f
2020-04-20 06:30:01 -07:00
Mathieu Boespflug f2a26bcef3 os: add NixOS to the constraint values
NixOS uses the Linux kernel, but that's where commonality with the
myriad Linux distributions out there stops. Like the different BSD's,
NixOS is sufficiently different that it warrants a constraint value.
In particular, no non-static binary has any chance of running on NixOS
unless it was specifically built for it, because the dynamic linker is
in a non-standard location. This means that toolchains downloaded as
part of host autoconfiguration that detect Linux (like
`go_register_toolchains()`) always fail on NixOS.

NixOS is a popular operating system used by thousands, one of the most
active projects on all of GitHub, and with more unique packages than
even Debian, Fedora or Gentoo according to https://repology.org/.
2020-04-18 11:09:52 +02:00
Copybara-Service 46993efdd3 Merge pull request #8 from x1ddos:patch-1
PiperOrigin-RevId: 279293049
Change-Id: I475bad63cb23f87067acd3d5e77d26759599da93
2019-11-08 05:17:30 -08:00
Marcel Hlopko 63bcda396d
Merge branch 'master' into patch-1 2019-11-07 09:22:11 +01:00
Googler 19815c2704 BEGIN_PUBLIC
Copybara import of the project:

--
d74a52728a by Naren Dasan <naren@narendasan.com>:

Add QNX as a possible constraint value

Have been using bazel to compile for QNX, would like to see it as a constraint value.

END_PUBLIC

PiperOrigin-RevId: 278626573
Change-Id: If0c7ddbc8f5d26e4d9d43bf19933e901760d1564
2019-11-05 08:03:57 -08:00
Googler 43155b81d4 Add ":macos" alias for ":osx" platform constraint.
PiperOrigin-RevId: 265457506
Change-Id: Ia01ccb0e598126c24b25b9eb9358d587d5430e7a
2019-08-26 08:08:09 -07:00
Austin Schuh 4e6771f8b4 Add OS setting for devices with no OS
PiperOrigin-RevId: 263595168
Change-Id: Ib2d6b6164acdf30f663462cdc9108d2817db6d76
2019-08-15 10:46:45 -07:00
alex 594eeffa57
os: add openbsd to the constraint values
There are notable differences from freebsd such that it warrants a constraint value.
2019-08-09 17:39:40 +02:00