| 28 Feb 2025 |
@hexa:lossy.network | dunno, maybe it is just something stupid, like openvino built w/o npu support | 05:30:20 |
K900 | npue | 05:30:26 |
@hexa:lossy.network |  Download image.png | 05:30:45 |
@hexa:lossy.network | 🫠| 05:30:48 |
@hexa:lossy.network | openvino> /build/source/src/plugins/intel_npu/tools/protopipe/src/scenario/accuracy_metrics.hpp:9:10: fatal error: opencv2/core/core.hpp: No such file or directory
openvino> 9 | #include <opencv2/core/core.hpp>
openvino> | ^~~~~~~~~~~~~~~~~~~~~~~
openvino> compilation terminated.
| 05:46:07 |
@hexa:lossy.network | ok, that looks like a fairly simple error | 05:46:16 |
@hexa:lossy.network | but I'm already passing opencv.cxxdev in buildInputs | 05:46:25 |
@hexa:lossy.network | - # src/graph/src/plugins/intel_gpu/src/graph/include/reorder_inst.h:24:8: error: type 'struct typed_program_node' violates the C++ One Definition Rule [-Werror=odr]
- env.NIX_CFLAGS_COMPILE = "-Wno-odr";
+ env = {
+ CXXFLAGS = "-I${lib.getDev opencv}/include/opencv4";
+ # src/graph/src/plugins/intel_gpu/src/graph/include/reorder_inst.h:24:8: error: type 'struct typed_program_node' violates the C++ One Definition Rule [-Werror=odr]
+ NIX_CFLAGS_COMPILE = "-Wno-odr";
+ };
| 07:09:12 |
@hexa:lossy.network | did this | 07:09:13 |
@hexa:lossy.network | and now I'm here | 07:09:22 |
@hexa:lossy.network | openvino> /build/source/src/plugins/intel_npu/tools/protopipe/src/utils/data_providers.hpp:11:10: fatal error: opencv2/gapi/gmat.hpp: No such file or directory
openvino> 11 | #include <opencv2/gapi/gmat.hpp>
openvino> | ^~~~~~~~~~~~~~~~~~~~~~~
openvino> compilation terminated.
| 07:09:25 |
@hexa:lossy.network | how can it find one file, but not the other? | 07:09:34 |
@hexa:lossy.network | opencv.out 8,520 r /nix/store/lff6m9s1xlyh4r1rdkiq548vpvx872xa-opencv-4.9.0/include/opencv4/opencv2/gapi/gmat.hpp
| 07:10:43 |
@hexa:lossy.network | ok, looks like my nix-index is out of date | 07:10:49 |
@hexa:lossy.network | so did opencv drop that api or did we stop building it | 07:11:34 |
@hexa:lossy.network | missing since the 4.9.0 -> 4.11.0 bump | 07:30:57 |
@hexa:lossy.network | I'm five steps deep in this rabbit hole | 07:33:43 |
@hexa:lossy.network | and each step is a chonky package that is building very slowly on very many cores | 07:33:58 |
mattleon | @hexa:lossy.network: could you review https://github.com/NixOS/nixpkgs/pull/384651 when you get a chance? Matter-server is still broken. | 11:37:53 |