-
Notifications
You must be signed in to change notification settings - Fork 5
gcc build broken by .bazelrc #17
Comments
Update stout-eventuals in light of recent changes, in particular the inclusion of Post and Get that relies on curl. The inclusion of curl introduces two new repo dependencies included in this commit. As outlined in issue #17, building `:grpc` locally using `gcc` is currently broken by `.bazelrc`. This commit works around it by removing the offending compiler flags, allowing the library to be built locally. This is not a fix for the issue: we want those compiler flags in there, conditionally.
Update stout-eventuals in light of recent changes, in particular the inclusion of Post and Get that relies on curl. The inclusion of curl introduces two new repo dependencies included in this commit. As outlined in issue #17, building `:grpc` locally using `gcc` is currently broken by `.bazelrc`. This commit works around it by removing the offending compiler flags, allowing the library to be built locally. This fixes local compilation but it does not fix the issue: we want those compiler flags in there where possible, i.e., for `clang`.
Update stout-eventuals in light of recent changes, in particular the inclusion of Post and Get that relies on curl. The inclusion of curl introduces two new repo dependencies included in this commit. As outlined in issue #17, building `:grpc` locally using `gcc` is currently broken by `.bazelrc`. This commit works around it by removing the offending compiler flags, allowing the library to be built locally. This fixes local compilation but it does not fix the issue: we want those compiler flags in there where possible, i.e., for `clang`.
And here is another |
The multi-line Not that this is the primary point of this issue. 😆 |
Update stout-eventuals in light of recent changes, in particular the inclusion of Post and Get that relies on curl. The inclusion of curl introduces two new repo dependencies included in this commit. As outlined in issue #17, building `:grpc` locally using `gcc` is currently broken by `.bazelrc`. This commit works around it by removing the offending compiler flags, allowing the library to be built locally. This fixes local compilation but it does not fix the issue: we want those compiler flags in there where possible, i.e., for `clang`.
Oh, I did not know that bazel accumulated the statements in this way. I assumed that redundant But alas, as you also mention, the issue remain. |
@while-false can we close this? I thought that bazel built with gcc by default, so I assume we're building eventuals-grpc (now called eventuals) with gcc somehow, but I'm not sure if this referred to a build break that's not cover by bazel targets. |
We currently have two
build
lines in .bazelrc:We probaly want that to be just one line. Worse however, the
cxxopt
s in the second line areclang
-specific and breaks building the package locally usinggcc
.Suggested resolution is that we
clang
toolchain such that these flags are included only when compiling with clanggcc
The text was updated successfully, but these errors were encountered: