Skip to content

Commit

Permalink
Support new style platforms. See bazel issue 8622 (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
smukherj1 authored Aug 9, 2022
1 parent ea243d4 commit 8c717f8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/rbeconfigsgen/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -131,13 +131,13 @@ var (
OSLinux: {
PlatformParams: PlatformToolchainsTemplateParams{
ExecConstraints: []string{
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
"@bazel_tools//tools/cpp:clang",
},
TargetConstraints: []string{
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
},
OSFamily: "Linux",
},
Expand All @@ -160,12 +160,12 @@ var (
OSWindows: {
PlatformParams: PlatformToolchainsTemplateParams{
ExecConstraints: []string{
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
"@platforms//os:windows",
"@platforms//cpu:x86_64",
},
TargetConstraints: []string{
"@bazel_tools//platforms:windows",
"@bazel_tools//platforms:x86_64",
"@platforms//os:windows",
"@platforms//cpu:x86_64",
},
OSFamily: "Windows",
},
Expand Down

0 comments on commit 8c717f8

Please sign in to comment.