bazelbuild/bazel

The tutorial "Configuring C++ toolchains" uses deprecated mechanisms

Open

#9 365 ouverte le 10 sept. 2019

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Java (4 465 forks)batch import
P3help wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

Métriques du dépôt

Stars
 (25 384 stars)
Métriques de merge PR
 (Merge moyen 22j 20h) (77 PRs mergées en 30 j)

Description

ATTENTION! Please read and follow:

  • if this is a question about how to build / test / query / deploy using Bazel, or a discussion starter, send it to bazel-discuss@googlegroups.com
  • if this is a bug or feature request, fill the form below as best as you can.

Description of the problem / feature request:

The tutorial "Configuring C++ toolchains" uses deprecated mechanisms

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Follow the tutorial at https://docs.bazel.build/versions/master/tutorial/cc-toolchain-config.html Get the following error message:

in cc_toolchain rule //asmjs_toolchain: attributes 'cpu' and 'compiler' have been deprecated, please remove them. See https://github.com/bazelbuild/bazel/issues/7075 for details.

What operating system are you running Bazel on?

Gentoo Linux

What's the output of bazel info release?

release 0.28.1- (@non-git)

If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.

Built with portage (this shouldn't matter though)

Have you found anything relevant by searching the web?

Yeah, the error message itself points to https://github.com/bazelbuild/bazel/issues/7075

Guide contributeur