* Switch git:// to gitsm:// to pick up the ONNX submodule
* Refresh build patch, dropping some long-obsolete changes
* Replace second build patch with the correct fix via CUDAFLAGS setting
Signed-off-by: Matt Madison <matt@madison.systems>
* No more 'S = "${WORKDIR}"', which is not permitted
* All ${WORKDIR} references for local files updated to ${UNPACKDIR}
* Custom do_unpack for the recipes that are in the public_sources
archive in the BSP adjusted for the new unpacking approach
* Some SRC_URIs updated with 'destsuffix=' parameters where needed
Signed-off-by: Matt Madison <matt@madison.systems>
Previously the 17 standard was needed just for some plugins, and leaving
14 was fine for the rest of the project. With recent changes to absl, now
we need the 17 standard for other parts as well.
This change builds on the do_configure:prepend sed fixup to include the
CMakeLists.txt CMAKE_CXX_STANDARD being forced in a couple more places.
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
Due to updates to protobuf and gcc, make some updates to the build. Namely,
this means using C++17 as required by protobuf and making sure we link to
the system protobuf.
Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
This reverts commit 35dab0f604.
Commit 225ce6a14a8110ab6b573b4dc9f5297a03d17e0f in meta-oe added in
a patch for opencv that fixes the C++11/C++17 protobuf issue for the
dnn module, so we can put dnn back in the PACKAGECONFIG.
Signed-off-by: Matt Madison <matt@madison.systems>
from the EXTRA_OECMAKE setting, as the cmake build there uses CUDA
language support instead of the obsolete FindCUDA module.
Signed-off-by: Matt Madison <matt@madison.systems>
systemd's random-seed service units/targets have changed with
recent updates, and the haveged service was causing a dependency
loop. Disable the default dependencies, and change the WantedBy
to sysinit.target to fix this.
Signed-off-by: Matt Madison <matt@madison.systems>
* Update OpenCVDetectCUDA.cmake patch to prevent insertion of
build paths into the generated opencv4.pc file
* Disable cmake build checks/regeneration so the build isn't
regenerated during the install step, which is causing
incorrect recompilations
Signed-off-by: Matt Madison <matt@madison.systems>
A recipe for libglvnd has landed in meta-oe with a version
newer than our copy here. We need to handle builds with and
without meta-oe in the layer set, so update to work like we
do with libv4l2/v4l-utils:
* Rename our recipe to libglvnd-tegra, restricted to tegra
machines only. Add appropriate PROVIDES/RPROVIDES so users
can still reference just 'libglvnd', update it to 1.5.0 to
match the meta-oe recipe, and fix a typo.
* Add a bbappend for libglvnd under external/openembedded-layer.
The bbappend applies the tegra-specific build settings we need
and makes the packages built tegra-specific.
Signed-off-by: Matt Madison <matt@madison.systems>
* Install the service unit file with correct permissions
* Move the Before= line to the [Unit] section
Signed-off-by: Matt Madison <matt@madison.systems>
- Removing dynamically generated container csv files for nvidia
container passthrough mechanism, as NVIDIA has moved to base l4t.csv
which includes all the container passthrough references
Signed-off-by: Atharva Nandanwar <anandanwar@sighthound.com>
With the latest update to opencv 4.5.5, builds including
CUDA now appear to require the DNN feature to enabled in
order to get the object detection module included in the
build. So make sure we enable the DNN feature for CUDA
builds.
While here, rework the bbappend to use PACKAGECONFIG to
enable CUDA support, so it can be optional even for tegra
platforms. Also make sure other changes we make use overrides,
so we don't affect non-tegra opencv builds.
Signed-off-by: Matt Madison <matt@madison.systems>
to introduce the opengl DISTRO_FEATURES check for tegra
platforms without generating warnings for non-tegra builds.
Signed-off-by: Matt Madison <matt@madison.systems>
to set OPENCV_CUDA_DETECTION_NVCC_FLAGS, which tells
the OpenCV CUDA module which host compiler to use without
generating a warning during the configure step.
Signed-off-by: Matt Madison <matt@madison.systems>
* Add patch for marking some pixel format conversions as
device-specific, to align with NVIDIA's sources
* Remove the mplane plugin for tegra targets, since NVIDIA's build
of libv4l2 points to an NV-specific plugins directory that includes
only their plugins
Signed-off-by: Matt Madison <matt@madison.systems>
Fixups for some changes made by the conversion script:
* some occurrences of '::' and ':}'
* '_arm64.deb' -> ':arm64.deb' changes in our SRC_URIs
* some '_'-> ':' conversions in other locations that shouldn't
have been made
Signed-off-by: Matt Madison <matt@madison.systems>