alice-vision: init at 3.0.0, add 3.1.0#256115
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.
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.
This is because I am writing a helper function for CMake:
There was a problem hiding this comment.
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.
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.
Too off-topic. Solving this.
There was a problem hiding this comment.
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.
| 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 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/5797 |
|
The latest release is 3.3.0, published last week: https://github.com/alicevision/AliceVision/releases/tag/v3.3.0 |
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 = trueset 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/)