338 Commits

Author SHA1 Message Date
Matt Madison
0b583424b9 gcc-for-nvcc: update DEBUG_PREFIX_MAP
The default prefix map settings have switched to using -ffile-prefix-map,
but the gcc 10 compiler we're building here needs the old -fmacro-prefix-map
and -fdebug-prefix-map settings, so add them back in for these recipes.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-05-01 07:02:11 -07:00
Matt Madison
4d827691dd cuda-cudart: fix runtime dependency for -dev package
which needs to be cuda-crt-dev, not the cuda-crt runtime.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-02-17 06:19:28 -08:00
Matt Madison
90cd8ce87a cuda-nvcc: add runtime dependency on cuda-nvvm for nativesdk
nvcc needs the cicc binary provided in the cuda-nvvm package, so
make sure that gets installed with the host-side SDK tools.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-02-17 06:19:28 -08:00
Matt Madison
30217c6fc3 meta: switch from virtual/XXX-gcc to virtual/cross-XXX
OE-Core master has udpated how the toolchain virtual providers
are handled, so update the layer accordingly.

This affects the gcc-for-nvcc extra toolchain build we have for
CUDA builds, and a few other recipes that have some explicit
references to the old toolchain virtual/<something> names.

Signed-off-by: Matt Madison <matt@madison.systems>
2025-01-22 06:05:38 -08:00
Logan Gallois
630c21757c cuda-cupti: fix DEVSUM for x86-64
Signed-off-by: Logan Gallois <logan.gallois@hotmail.fr>
2025-01-09 05:32:50 -08:00
Khem Raj
3c0d8bed93 cuda-compatibility-workarounds: Fix build with upcoming glibc 2.41
sinpi/cospi/sinpif/cospif are now defined in glibc as part of C23 extentions
but they conflict with CUDA declrations, therefore use the glibc definitions
when its provided by glibc

Fixes https://github.com/OE4T/meta-tegra/issues/1784

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-17 09:27:11 -08:00
Ilies CHERGUI
74fdc57c67 libnpp: update DEVSUM for x86_64 platform
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-29 03:10:56 -07:00
Ilies CHERGUI
5f4c73da8f libcublas: update DEVSUM for x86_64 platform
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-29 03:10:56 -07:00
William Cheng
e1be4231f1 Replace deprecated CVE_CHECK_IGNORE with CVE_STATUS
Signed-off-by: William Cheng <shihuac@amazon.com>
2024-10-28 08:15:31 -07:00
LANGLOIS Florian
6bea45a632 tegra-cuda-utils: add recipe
Signed-off-by: LANGLOIS Florian <chamois94@gmail.com>
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
610ff567a0 libnvvpi3: add libnpp to runtime dependencies
Looks like VPI is dynamically loading one of the libnpp libraries
at runtime, rather than linking against it, so make sure it gets
pulled in.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
c82cd088f6 tensorrt-plugins-prebuilt: move cudnn, libcublas to RDEPENDS
The plugins now dynamically load symbols from those libraries at
runtime.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Ilies CHERGUI
0a1354b7d8 nsight-systems: update to 2024.5.4.34-245434855735v0
Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-10-26 08:15:33 -07:00
Matt Madison
28833cd412 libnvvpi3: drop old recipe, fix sha256sum for vpi3-dev package
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
e0f01ae913 cudnn: fix LIC_FILES_CHKSUM
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
efbaca31fd tensorrt: update recipes for version 10.3.0.30
* Fixes for the core and plugins-prebuilt recipes
* Licensing is now all Apache-2.0
* Rework the patch for the samples so they compile cleanly

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
e348549426 cudnn: update 8.9.4.25 -> 9.3.0.75
for JetPack 6.1. NVIDIA changed the packaging and package naming scheme
slightly with this update.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
078bc0d5b3 cuda-samples: update v12.2 -> v12.5
which is the latest available tagged version in the repo.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
a12b82c231 cuda-nvml: add staticdev to INSANE_SKIP for stubs package
since a static stub library has been added.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
faef90b5f3 libcublas: restore shlibs processing on -stubs package
and mark the stub libraries as private, to fix file-rdeps package_qa
errors.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
9cd2886754 tensorrt: update to 10.3.0 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
a646fd59c2 vpi: update to 3.2.4 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
8f6c098ee7 cupva: update to 2.5.3 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
dcfe4a5bd8 cuda: update to 12.6 for JetPack 6.1
Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-26 08:15:33 -07:00
Matt Madison
6ee8c498d8 gcc-for-nvcc: rename gcc-for-nvcc-source -> gcc-source-for-nvcc
to take advantage of the automatic license whitelisting buried in
base.bbclass that checks for PN starting with 'gcc-source-', and
avoid the issue mentioned in #1711.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-10-21 14:46:27 -07:00
Jan Kircher
0cf395491a gcc-for-nvcc: backport buildpaths fixes from OE-Core gcc recipes
From OE-Core commits 350ff7d and 9221e4a

Signed-off-by: Jan Kircher <jan.kircher@leica-microsystems.com>
Co-authored-by: Jan Kircher <jan.kircher@leica-microsystems.com>
2024-10-21 13:25:01 -07:00
Matt Madison
1247115ba4 cuda-sanitizer: remove 32-bit x86 binaries
CUDA 12 added 32-bit x86 tools and libraries to the cuda-sanitizer
package. They're not likely needed in our builds or SDKs, so just
remove them to avoid packaging issues.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-08-18 05:33:01 -07:00
Khem Raj
28471e11ae cuda-samples: Build all samples under 0_Introduction
Add needed dependencies and linker flags as well as copy the data files
to target, needed to run c++11_cuda sample, in order to run this the
limitation is that one must be in /usr/bin/cuda-samples subdir when
executing this sample, so it can find warandpeace.txt under ./data dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-26 05:16:41 -07:00
Matt Madison
cc1c28f05f nsight-systems: update LIC_FILES_CHKSUM
Date stamp change in the EULA.txt file.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-07-13 04:32:19 -07:00
Matt Madison
f975e2022f tensorrt-samples: clean up patch header
Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-13 05:51:45 -07:00
Matt Madison
1b060501ff gcc-for-nvcc: clean up Upstream-Status lines in patches
Signed-off-by: Matt Madison <matt@madison.systems>
2024-06-13 05:51:45 -07:00
Matt Madison
ef9eb285e5 meta: update -native recipes to use inherit_defer
to improve compatibility with devtool.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
c30b7216de cuda-nvcc: add missing runtime dependenices
nvcc needs nvvm-dev and crt-dev when installed on the target.
It really does need those -dev packages, so relax the dev-deps
packaging QA check.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
ea31e32772 cuda-cupti: update packaging settings
Move all of the extras/CUPTI files into the -dev package, and
add in missing runtime dependencies for the -dev package, which
has makefiles and a perl script.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
503b67bb21 cuda-gdb: add missing runtime dependency
cuda-gdb is linked against libgmp.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Matt Madison
a08306e618 cuda-crt: set ALLOW_EMPTY on main package
since cuda-crt only includes header files.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-31 09:57:00 -07:00
Ilies CHERGUI
57f8edc79d cuda-nvvm: update recipe
- update sha256sum
- set FILES:${PN} to include the right nvvm files

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-05-31 09:57:00 -07:00
Matt Madison
9a93922dbe python3-kconfiglib-tegra: add recipe
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
617aa8c815 meta: update recipes R35.5.0/JetPack 5 -> R36.3.0/JetPack 6
Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-30 12:13:39 -07:00
Matt Madison
cae3b11804 cuda-samples: move debian unpacking into do_unpack task
There is now a check that ${S} exists after running do_unpack, so
append the extraction of the sources from the debian package to
the do_unpack task, instead of breaking it out as a separate
task.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-29 06:12:28 -07:00
Matt Madison
3ded37039d gcc-for-nvcc: fix DEBUG_PREFIX_MAP handling for the runtime recipes
Like the upstream gcc recipes, we can use the global DEBUG_PREFIX_MAP
setting, but for this older compiler we have to remove '-fcanon-prefix-map'.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:54:19 -07:00
Matt Madison
614c2510a9 meta: update all recipes for the UNPACKDIR transition
* 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>
2024-05-28 06:53:54 -07:00
Ilies CHERGUI
929d03d4a4 gcc-for-nvcc: fix build and package issue
Fixes building and packaging gcc-for-nvcc for installing on target systems.

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
2024-05-15 12:37:10 -07:00
Matt Madison
4f825ddeb2 meta: drop SRCPV from all PV settings
The use of ${SRCPV} in recipe version (PV) strings has
been discontinued in OE-Core; source revisions are now
inserted directly into task hashes and into PKGV, and
SRCPV is a null string.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-04-14 08:03:13 -07:00
Timo Schuster
336fdeda69 Fix override syntax error in gcc-for-nvcc-cross.inc
Signed-off-by: Timo Schuster <timo.schuster@leica-microsystems.com>
2024-03-21 07:27:50 -05:00
Matt Madison
06e9516884 libnvvpi2: update to version 2.4.8
for JetPack 5.1.3.

Signed-off-by: Matt Madison <matt@madison.systems>
2024-03-17 07:40:13 -07:00
Vitaly Kuzin
5237f91da9 cudnn: fix cudnn-samples fetch error
URL that works:

    https://repo.download.nvidia.com/jetson/common/pool/main/c/cudnn-samples/libcudnn8-samples_8.6.0.166-1+cuda11.4_arm64.deb
2024-02-20 12:11:18 -05:00
Matt Madison
e36b91a179 cuda-target-environment: add nvcc/glibc 2.38 workaround
Update the CUDACXXARCHFLAGS environment variable to include
the same glibc 2.38 workaround to SDKs that was added to
cuda.bbclass with 52f994fbb3.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-12-17 07:55:15 -08:00
Austin Schuh
9beac5b393 Upgrade nsight-systems to 2023.2.4
This aligns with 5.2.1 from https://repo.download.nvidia.com/jetson/#Jetpack%205.1.2

Signed-off-by: Austin Schuh <austin.linux@gmail.com>
2023-11-23 07:14:07 -08:00
Matt Madison
09049100bb cuda-binaries-common-defs: downgrade error to warning
and default to 'arm64' as the architecture when HOST_ARCH
is set to something unexpected.

Signed-off-by: Matt Madison <matt@madison.systems>
2023-10-07 08:57:34 -07:00