Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{flexcpp, bisoncpp}: adopt and update #347109

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

AndersonTorres
Copy link
Member

@AndersonTorres AndersonTorres commented Oct 7, 2024

Closes #347051

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@AndersonTorres
Copy link
Member Author

AndersonTorres commented Oct 8, 2024

Newest icmake needs gcc 14 (std c++26). Let's retry.

Edit: the most recent does not build.

@rennsax rennsax self-assigned this Oct 8, 2024
@AndersonTorres AndersonTorres force-pushed the adopt-flexcpp branch 4 times, most recently from a491a02 to 6f72148 Compare October 9, 2024 20:04
@AndersonTorres AndersonTorres marked this pull request as ready for review October 9, 2024 20:05
@AndersonTorres AndersonTorres marked this pull request as draft October 9, 2024 20:58
@AndersonTorres
Copy link
Member Author

AndersonTorres commented Oct 9, 2024

I will try to run the review first, then merge everything.

P.S.: It worked! However I can't update it to newer versions for bobcat and icmake.

@AndersonTorres AndersonTorres marked this pull request as ready for review October 9, 2024 23:42
- nixfmt-rfc-style
- finalAttrs
- strictDeps
- hammer
- no nested with
- more meta attrs
As a reverse dependency.
- factor gpl license reference
- nixfmt-rfc-style
- hammer
- finalAttrs
- strictDeps
- runHooks
- no nested with
- nixfmt-rfc-style
- finalAttrs
- strictDeps
- hammer
- no nested with
- more meta attrs
- finalAttrs
- hammer
- nixfmt-rfc-style
- adoption
Copy link
Member

@7c6f434c 7c6f434c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good

@@ -0,0 +1,99 @@
{
lib,
bisoncpp,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little confused about this "recursive dependency" 🤔

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I figured out, thanks.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 61.
This is a more or less typical design pattern: we tests reverse dependencies so that we can guarrantee that e.g. updating flexcpp does not break existing bisoncpp.

You can see a similar thing at live555.

@7c6f434c
Copy link
Member

Hmm, a part of that is GCC-only upstream?

@AndersonTorres
Copy link
Member Author

Hmm, a part of that is GCC-only upstream?

Yes, mostly because it hardcodes gcc all around...

@7c6f434c
Copy link
Member

Should we mark it Darwin-unsupported then?

@AndersonTorres
Copy link
Member Author

Given that I can't care for Darwin, maybe yes.

@rennsax
Copy link
Member

rennsax commented Oct 15, 2024

@AndersonTorres I can test for Darwin later (it's important for me, frankly speaking 🥺), would you mind keep this PR opened for some time?

@AndersonTorres
Copy link
Member Author

Yep.

@7c6f434c
Copy link
Member

@rennsax Note that ofBorg reports build failures there so some fixing will be needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update request: flexcpp 2.05.00 → 2.16.00
4 participants