mirror of
https://github.com/lingble/meta-tegra.git
synced 2026-03-20 04:01:11 +00:00
external/openembedded-layer: tensorrt-plugins: drop CUDA_NVCC_FLAGS
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>
This commit is contained in:
@@ -32,12 +32,12 @@ PACKAGECONFIG ??= " \
|
||||
PACKAGECONFIG[plugin] = "-DBUILD_PLUGINS=ON,-DBUILD_PLUGINS=OFF,"
|
||||
PACKAGECONFIG[parsers] = "-DBUILD_PARSERS=ON,-DBUILD_PARSERS=OFF,"
|
||||
|
||||
EXTRA_OECMAKE = "-DBUILD_SAMPLES=OFF -DSKIP_GPU_ARCHS=ON -DTRT_PLATFORM_ID="${TARGET_ARCH}" \
|
||||
-DCUDA_VERSION="${CUDA_VERSION}" -DCUDA_NVCC_FLAGS="${CUDA_NVCC_FLAGS}" \
|
||||
EXTRA_OECMAKE = '-DBUILD_SAMPLES=OFF -DSKIP_GPU_ARCHS=ON -DTRT_PLATFORM_ID="${TARGET_ARCH}" \
|
||||
-DCUDA_VERSION="${CUDA_VERSION}" \
|
||||
-DCUDA_INCLUDE_DIRS="${STAGING_DIR_HOST}/usr/local/cuda-${CUDA_VERSION}/include" \
|
||||
-DENABLED_SMS="-DENABLE_SM${TEGRA_CUDA_ARCHITECTURE}" \
|
||||
-DSTABLE_DIFFUSION_GENCODES="-gencode arch=compute_${TEGRA_CUDA_ARCHITECTURE},code=compute_${TEGRA_CUDA_ARCHITECTURE}" \
|
||||
"
|
||||
'
|
||||
|
||||
LDFLAGS += "-Wl,--no-undefined"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user