mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 03:22:36 +00:00
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>
23 lines
744 B
BlitzBasic
23 lines
744 B
BlitzBasic
CUDA_PKG = "${BPN}"
|
|
|
|
require cuda-shared-binaries.inc
|
|
|
|
DEPENDS = "cuda-cudart cuda-nvvm cuda-crt"
|
|
|
|
MAINSUM = "89dbfa6e7f791221f9886de6a32871be825d0001f6c4ac5a8c12229fda39c598"
|
|
MAINSUM:x86-64 = "f49f81ee3653342d9f7571596c9aef32d5b917ab1fc5e0022c339bf3fb937e0c"
|
|
|
|
# header files are populated by cuda-nvcc-headers recipes
|
|
do_install:append() {
|
|
rm -rf ${D}${prefix}/local/cuda-${CUDA_VERSION}/include
|
|
}
|
|
|
|
FILES:${PN} = "${prefix}/local/cuda-${CUDA_VERSION}"
|
|
FILES:${PN}-dev = ""
|
|
INSANE_SKIP:${PN} += "dev-so dev-deps"
|
|
RDEPENDS:${PN} = "${BPN}-headers"
|
|
RDEPENDS:${PN}:append:class-target = " cuda-nvvm-dev cuda-crt-dev"
|
|
RDEPENDS:${PN}:append:class-nativesdk = " nativesdk-cuda-environment nativesdk-cuda-nvvm"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|