-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
alice-vision: init at 3.0.0, add 3.1.0 #256115
base: master
Are you sure you want to change the base?
Conversation
@AndersonTorres I had to touch your |
10bfc04
to
c47846f
Compare
|
||
cmakeFlags = | ||
let | ||
cmakeOption = name: enabled: "-D${name}:BOOL=" + (if enabled then "ON" else "OFF"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the :BOOL
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the :BOOL
omitted, some of the CMake cache entries are created as strings instead of booleans. Not sure whether it can make a practical difference, though. The build configuration doesn't change here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because I am writing a helper function for CMake:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a generic helper function, I would always mandate for setting more exact typing data if it's possible. This way, maintainers could possibly get higher quality metadata for CMake without extra effort, while getting to that point might beconsidered as too tedious at a single package scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have found only one place where those "data types" are defined:
https://cmake.org/cmake/help/latest/command/set.html
It looks too gui-driven, and also too dependent on the upstream - what if this variables are truly strings that happen to act like booleans?
Nonetheless, it should be easy to adjust.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too off-topic. Solving this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any blockers left?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not on my part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ez, lib.cmakeBool name value
EDIT: Oh, I see, they rolled their own custom stuff that doesn't allow TRUE/FALSE...
Investigating the failing tests it turned out they happened due to a binary incompatibility with At this point, from what I perceive this package is on-par with the monolithic build (8411621). |
003634e
to
1ef48fe
Compare
The |
The above PR is now merged and used in CI, so it won't fail anymore the next time you push :) |
Although I don't think it's great how the expression is effectively duplicated between the two versions. See #285922 (comment) for my recommendation for multiple package versions. |
Thanks for your work! I need to retrigger CI anyway due to #284145 |
Fully agree. When I started where #224262 left off, I wanted to keep the changes to I still find it useful to have multiple versions since there seem to be 3D reconstruction pipelines that perform worse on newer versions (see alicevision/AliceVision#1501). |
|
||
alice-vision_3_0_0 = pkgs.alice-vision.overrideAttrs (old: rec { | ||
version = "3.0.0"; | ||
src = old.src // { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src = old.src // { | |
src = old.src.override { |
consider marking broken on darwin |
It also seems the |
FYI there's a fix for the darwin failure in staging: #287255 So I think it's fine to merge with the broken Darwin build |
#256115 (comment) is still blocking
|
In addition to the nanoflann failure, I'm seeing this:
|
soft bump |
Description of changes
Opening this since #224262 appears to be stale. @hesiod left off at a very promising state where a build was already configured to work without pulling in submodules. I moved forward up to the point where the package has working (usable for doing actual 3D meshing) binaries and added a package for the more experimental release upstream made in the meantime.
I would consider the packages as a valuable addition since they would move us a significant step forward in achieving #216403
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)