Commit 865d9d7
authored
Modify devcontainer config to complete clang default (#39082)
Commit Message: Modify devcontainer config to complete clang default
Additional Description:
A fresh devcontainer before this change fails [for me] to compile `bazel
build --announce_rc
@com_envoyproxy_protoc_gen_validate//:protoc-gen-validate`.
This seems to be a bit of an ambiguous thing, in that an apparently
identical container from `run_envoy_docker.sh` will build the same thing
successfully, with identical bazelrc config according to the
`--announce_rc` output - apparently in that container it defaults to a
gcc config, while the devcontainer seemingly defaults to a weird
incomplete partial clang config, which makes it try to link with
`ld.lld` versus the gcc's `ld.gold` linker.
Since the clang config is already pushed by the devcontainer in a file
that says "delete this if you don't want clang" at the top, it seems
reasonable to make that same file forcibly use a more complete clang
config which reliably works.
Risk Level: None, devcontainer only.
Testing: I tried a variety of things, this was the one that works and
doesn't seem likely to unintentionally break something else.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Signed-off-by: Raven Black <[email protected]>1 parent 597425b commit 865d9d7
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments