2
0
Fork 0
mirror of https://github.com/bazelbuild/platforms synced 2024-12-03 08:52:40 +00:00
Commit graph

119 commits

Author SHA1 Message Date
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
Googler 6ad3cffd67 Automated rollback of commit 5b8fd3c752.
*** Reason for rollback ***

Roll forward

*** Original change description ***

Automated rollback of commit e50397c444.

*** Reason for rollback ***

Breaks //third_party/arcore/unity/instant_preview/plugin/unity_plugin:unity_plugin_build_test_mac

[]

*** Original change description ***

Add Apple CPU and OS constraint values to bazel_platforms.

RELNOTES: None
PiperOrigin-RevId: 261704277
Change-Id: Id8a263c9258f448d402ae27cdf46576d6c7c8a49
2019-08-05 09:41:04 -07:00
Googler 5b8fd3c752 Automated rollback of commit e50397c444.
*** Reason for rollback ***

Breaks //third_party/arcore/unity/instant_preview/plugin/unity_plugin:unity_plugin_build_test_mac

[]

*** Original change description ***

Add Apple CPU and OS constraint values to bazel_platforms.

RELNOTES: None
PiperOrigin-RevId: 260800549
Change-Id: I30f8caf94eb6fc9bd2fc37ce6c51b76dcd34e98e
2019-07-30 14:51:58 -07:00
Googler e50397c444 Add Apple CPU and OS constraint values to bazel_platforms.
RELNOTES: None
PiperOrigin-RevId: 260771264
Change-Id: I85439e1dbf607bd689d14a7c1d8d8e3762f720be
2019-07-30 12:30:07 -07:00
Googler 753ad895fe Fix visibility of //os:os
PiperOrigin-RevId: 253832479
Change-Id: I686ac0b6e2e74f37d4ff3361efd4bcd20d81d547
2019-06-18 11:35:42 -07:00
Googler 5f13869557 Use cpu and os constraints from Bazel platforms repository
https://github.com/bazelbuild/bazel/issues/6516
https://github.com/bazelbuild/bazel/issues/6521

RELNOTES: None.
PiperOrigin-RevId: 253828017
Change-Id: I15f0295e8759357f481984d361977de2deebac13
2019-06-18 11:15:23 -07:00
Googler 142b8b2dfc Add presubmit for bazel_platforms.
PiperOrigin-RevId: 252795457
Change-Id: Ic76fe0b020cc87710e34e308f44f973f5175b258
2019-06-12 03:54:54 -07:00
Copybara-Service 4cf1bc5f11 Merge pull request #4 from bazelbuild:hlopko-patch-1
PiperOrigin-RevId: 252771298
Change-Id: Ia5588f607a2eb15ac631ca479363a847db0ef0a4
2019-06-12 00:25:35 -07:00
Marcel Hlopko e049718084
Testing copybara 2019-06-12 09:17:05 +02:00
Googler 441afe1bfd This target will be used by Bazel to embed a release of 'platforms' into
the Bazel binary itself.

Progress towards bazelbuild/bazel#8596

RELNOTES: None.
PiperOrigin-RevId: 252619499
Change-Id: I4049f8d5752f9dddc8ad7669db4754c8fb069965
2019-06-11 17:13:18 +02:00
Googler cab94988cf Import bazelbuild/platforms from GitHub.
- e51978ee25 initial checkin by Tony Aiuto <aiuto@google.com>
  - d91995f1a9 Add CONTRIBUTING.md by Tony Aiuto <aiuto@google.com>

GIT_ORIGIN_REV_ID=d91995f1a9497602a02d11db41a7ffa5551147be

RELNOTES: None.
PiperOrigin-RevId: 251811887
Change-Id: Iadfdbbc9d013343e495067ebf51b1e0ea59e0fe6
2019-06-11 17:12:52 +02:00
Googler 55fc545818 Internal change
PiperOrigin-RevId: 251636029
Change-Id: Idef5972b0d729bd723550905d224eadcfb583516
2019-06-11 17:12:22 +02:00
Florian Weikert fe6dc1efb6 Initial empty repository 2019-06-04 14:51:02 +00:00