Skip to content

Comments

ceres-solver: Add and propagate metis dependency#216399

Merged
davidak merged 1 commit intoNixOS:masterfrom
hesiod:ceres-solver-metis
Mar 1, 2023
Merged

ceres-solver: Add and propagate metis dependency#216399
davidak merged 1 commit intoNixOS:masterfrom
hesiod:ceres-solver-metis

Conversation

@hesiod
Copy link
Contributor

@hesiod hesiod commented Feb 14, 2023

Description of changes

SuiteSparse (5, not 4.2/4.4) depends on METIS anyway, so we might as well enable METIS in ceres-solver as well.

Part of an ongoing effort to package Meshroom (#94127). See also #215528 #215728

Note: ceres-solver will enable additional features based on Eigen's MetisSupport if it detects Metis.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.05 Release Notes (or backporting 22.11 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.

SuiteSparse depends on METIS anyway, so we might as well enable METIS in
ceres-solver as well.
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Feb 15, 2023
@hesiod hesiod marked this pull request as ready for review February 17, 2023 13:36
@davidak
Copy link
Member

davidak commented Feb 18, 2023

Result of nixpkgs-review pr 216399 run on x86_64-linux 1

1 package failed to build:
  • rtabmap
10 packages built:
  • ceres-solver
  • colmap
  • colmapWithCuda
  • openmvs
  • openturns
  • python310Packages.opensfm
  • python310Packages.openturns
  • python311Packages.opensfm
  • python311Packages.openturns
  • xfitter

rtabmap build also fails on master (#216919)

Copy link
Member

@davidak davidak left a comment

Choose a reason for hiding this comment

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

Change looks good

Build successful

@davidak
Copy link
Member

davidak commented Feb 18, 2023

cc maintainer @giogadi

@davidak davidak merged commit d46ca75 into NixOS:master Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants