| Commit message (Collapse) | Author | Age |
|\ |
|
| | |
|
| |
| |
| |
| | |
i686 isn't in the meta.platforms for cudaPackages anyway
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
opencv3,opencv4: disable some unnecessary vendoring on Darwin
|
| | |
|
|/
|
|
|
|
|
| |
This flag does not actually cause opencv3 to detect vtk.
Instead of fixing it, we remove it to remove the optional dependence on
vtk_8.
(Note this flag works correctly in opencv4.)
|
|
|
|
|
| |
https://hydra.nixos.org/build/231540730
https://hydra.nixos.org/build/231464517
|
|\
| |
| | |
Respect global config.cudaSupport
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Eliminate uses of `config.cudaSupport or false` and alike, since the
option is now declared in config.nix with a default value
fd .nix -t f -x sed 's/config\.cudaSupport or false, cudaPackages [?] [{][}]/config.cudaSupport, cudaPackages ? { }/' '{}' -i
fd .nix -t f -x sed 's/config\.cudaSupport or false/config.cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = pkgs.config.cudaSupport/inherit (pkgs.config) cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = config.cudaSupport/inherit (config) cudaSupport/' '{}' -i
|
|/ |
|
| |
|
|
|
|
| |
"perfomanceTests" -> "performanceTests"
|
|
|
|
|
|
| |
Same as commit e4d2b6fced3; I didn't notice this version suffered
from it as well. It's probably random/impurity anyway.
https://hydra.nixos.org/build/214981496
|
|
|
|
|
|
| |
No idea why aarch64-darwin started to need it now.
https://hydra.nixos.org/build/215252174#tabs-buildsteps
(also split long lines)
|
|\
| |
| |
| |
| | |
ConnorBaker/feat/opencv-use-cudaPackages-staging-reland
opencv: misc CUDA-related updates and fixes; add enableLto
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- use cudaPackages instead of cudatoolkit (reduces download/closure size)
- set C/C++ compiler when building with CUDA to ensure NVCC has an appropriate backing compiler
- add flag to build with CUDNN (disabled by default due to increase in closure size)
- add flag to build with LTO (enabled by default)
|
|/
|
|
|
| |
Adds the right dependencies for encoding video, and removes the cmake
flag preventing the feature to be compiled in.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This is needed for faster builds when debugging the opencv derivation,
and it's more consistent with other cuda-enabled packages
-DCUDA_GENERATION seems to expect architecture names, so we refactor
cudaFlags to facilitate easier extraction of the configured archnames
|
|
|
|
|
|
|
|
| |
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
and openblas
|
| |
| |
| |
| | |
removed mdaiter from maintainers, his last PR in nixpkgs was in 2017
|
|/ |
|
| |
|
|
|
|
| |
https://github.com/opencv/opencv/releases/tag/4.7.0
|
|
|
|
| |
the argument to optional should not be list
|
| |
|
| |
|
|\
| |
| | |
opencv: Use OpenJPEG from nixpkgs instead of vendored copy
|
| | |
|
|/
|
|
| |
and fix cross in some
|
|\
| |
| | |
opencv2: remove python2 option
|
| | |
|
|/
|
|
| |
This gets us as far as building opencv, but it doesn't completely build yet
|
|
|
|
|
| |
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In opencv 2.x, unfree libraries are built by default. The package
should therefore have been marked as unfree, but wasn't.
I've disabled the non-free libraries by default, and added an option
to enable them. There are three programs in Nixpkgs that depend on
opencv2: mathematica, pfstools, and p2pvc. pfstools requires the
non-free libraries if it's built with opencv support, so I've disabled
opencv by default there and added an option to enable it. p2pvc links
fine, so presumably doesn't need the non-free libraries. I can't test
mathematica, so I'm just going to leave it alone.
|