Files
meta-tegra/recipes-devtools/cuda/cuda-compatibility-workarounds_1.0.bb
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

32 lines
610 B
BlitzBasic

DESCRIPTION = "Workarounds for CUDA compiler compatibility with newer toolchains"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://math-vector.h"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
COMPATIBLE_MACHINE:class-target = "(cuda)"
COMPATIBLE_HOST = "(x86_64|aarch64)"
do_configure() {
:
}
do_compile() {
:
}
do_install() {
:
}
do_install:aarch64() {
install -D -m 0644 -t ${D}${includedir}/cuda-compat-workarounds/bits ${UNPACKDIR}/math-vector.h
}
ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native nativesdk"