Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc_toolchain rules in @bazel_tools//tools/cpp contain deprecated attributes #8236

Closed
scottmin0r opened this issue May 3, 2019 · 1 comment
Assignees
Labels
P1 I'll work on this now. (Assignee required) team-Rules-CPP Issues for C++ rules

Comments

@scottmin0r
Copy link

Description of the problem / feature request:

Error when building with 0.25.0:

ERROR: /usr/local/google/home/<REDACTED>/.cache/bazel/_bazel_<REDACTED>/86021668b1f881516e569ba9a9189b20/external/bazel_tools/tools/cpp/BUILD:229:1: in cc_toolchain rule @bazel_tools//tools/cpp:cc-compiler-darwin: attributes 'cpu' and 'compiler' have been deprecated, please remove them. See https://github.com/bazelbuild/bazel/issues/7075 for details.

It looks like the rules in https://github.com/bazelbuild/bazel/blob/0.25.0/tools/cpp/BUILD haven't been updated to handle the flip of incompatible_remove_cpu_and_compiler_attributes_from_cc_toolchain?

What operating system are you running Bazel on?

Linux (Debian variant)

What's the output of bazel info release?

release 0.25.0

@irengrig irengrig added team-Rules-CPP Issues for C++ rules untriaged P1 I'll work on this now. (Assignee required) labels May 7, 2019
@luorixiangyang
Copy link

I also encounter this issue when use bazel0.25.0 to compiler tensorflow1.14 on windows10. i don't know how to remove attributes "cpu" and "compiler" mention by log.

At the same time, i also try download bazel code recompiler local version and still can't solve this issue.

@scentini scentini self-assigned this May 7, 2019
@scentini scentini removed the untriaged label May 7, 2019
This was referenced May 7, 2019
dkelmer pushed a commit that referenced this issue May 7, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 8, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 9, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 10, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 10, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 13, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 17, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 17, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 20, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 21, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 22, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 23, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 23, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
aehlig pushed a commit that referenced this issue May 24, 2019
Fixes #8236

Issue #7075

RELNOTES: None.
PiperOrigin-RevId: 247014090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 I'll work on this now. (Assignee required) team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

No branches or pull requests

5 participants