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

opencv: Work around build failure with enableContrib & Python #27674

Merged
merged 1 commit into from Jul 29, 2017

Conversation

Hodapp87
Copy link
Contributor

Motivation for this change

This is in regards to #26304. It may not be the best solution, but as I am unable to see how the OpenCV build could work on any platform with these options set, I am not sure of the "correct" course of action. The only possible consequence to this incorrectness that I'm aware of is that Python wrappers to OpenCV's support for TensorFlow and Caffe may not be generated properly... but the nixpkgs build of OpenCV isn't even equipped to build with these two optional packages.

Things done

Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.

  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@Hodapp87, thanks for your PR! By analyzing the history of the files in this pull request, we identified @basvandijk, @abbradar and @cpages to be potential reviewers.

@FRidh
Copy link
Member

FRidh commented Jul 27, 2017

cc @alexozer @mdaiter

@mdaiter
Copy link
Contributor

mdaiter commented Jul 27, 2017

Looks good to me!

@joachifm joachifm merged commit a99c255 into NixOS:master Jul 29, 2017
@Hodapp87 Hodapp87 deleted the opencv_contrib_py branch August 1, 2017 11:25
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.

None yet

5 participants