Simplify cuda toolchain config

This change does:

* Inlines all action_configs and features.
* Makes linux and darwin toolchain have `no_legacy_features`, adds all missing features.
* Moves all flags into 3 features: default_compile_flags, default_archive_flags, default_link_flags. If flag set depends on enabling some other feature, we use `with_feature` to express that.
* Removes all extra features that are now empty and have no semantic meaning.

As a result, all flags appear in the order of potential appearance on the generated command line, and there is no magic patching of this toolchain by Bazel anymore.

PiperOrigin-RevId: 312262853
Change-Id: If80dfeac50256d83de4b565a13e2c4a6351fb376
This commit is contained in:
A. Unique TensorFlower 2020-05-19 05:51:19 -07:00 committed by TensorFlower Gardener
parent b93bd76a9f
commit e0b19f6ef2

File diff suppressed because it is too large Load Diff