abseil-cpp: remove cxx standard flag#143967
Conversation
|
|
3ad0a2c to
d73c625
Compare
|
This could use some commit squashing |
|
@veprbl Yup, I was waiting for approval. |
d73c625 to
f506ecd
Compare
|
@SuperSandro2000 @veprbl Squashed a couple commits. This is ready for another round of review. |
veprbl
left a comment
There was a problem hiding this comment.
Adding a whole new option is a bit of an overkill – an overrideAttrs would be enough, IMO, but this is a very reasonable change, nevertheless.
|
Result of 23 packages marked as broken and skipped:
52 packages failed to build:
105 packages built:
|
|
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 18 packages marked as broken and skipped:
9 packages failed to build and already failed to build on hydra master:
4 packages failed to build and are new build failures:
169 packages built:
|
|
@veprbl @SuperSandro2000 I'm not totally following what's breaking here. It looks like a few google-cloud packages are breaking, but they all seem to be broken on master too. How can I tell what's newly breaking in this PR vs master? |
|
I am already taking care of this. My comment has more information. Most build failures are on darwin which is not a blocking problem. I am fixing telegram and fcitx5-mozc and all the google package which I am the maintainer for in another PR. |
|
So, this can be merged when ofborg is done. |
|
@SuperSandro2000 Thanks for fixing! Much appreciated. |
|
@SuperSandro2000 I guess this is done? I'm assuming the darwin builds are hanging due to this #137678? |
|
I don't know why more Darwin packages fail to be build exactly but there seems to be a lot of unrelated issues there which we are not going to investigate all in this pr. |
|
@SuperSandro2000 Thank you. |
Motivation for this change
This PR removes
-DCMAKE_CXX_STANDARD=17from abseil-cpp while preserving the abilityto set it with
.override.Adding this flag to
abseil-cppforces all dependents to also set this flag to17,which isn't always possible.
or-toolsseems to be the only package that requires-DCMAKE_CXX_STANDARD=17, becauseit builds using
-std=c++17.I've got a package upgrade PR
that will not build with
-DCMAKE_CXX_STANDARD=17, and one more in progress that depends on #143693(both also depend on gRPC as well).
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)