From 0cbe5f2d823ff31cca7430f8f14d0c06aa807560 Mon Sep 17 00:00:00 2001 From: Rutwik Choughule Date: Thu, 27 Jan 2022 17:57:02 +0530 Subject: [PATCH] update makefiles to waive unsupported samples on QNX --- .../batchedLabelMarkersAndLabelCompressionNPP/Makefile | 6 ++++++ Samples/4_CUDA_Libraries/watershedSegmentationNPP/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Samples/4_CUDA_Libraries/batchedLabelMarkersAndLabelCompressionNPP/Makefile b/Samples/4_CUDA_Libraries/batchedLabelMarkersAndLabelCompressionNPP/Makefile index 67df1b72..d5712958 100644 --- a/Samples/4_CUDA_Libraries/batchedLabelMarkersAndLabelCompressionNPP/Makefile +++ b/Samples/4_CUDA_Libraries/batchedLabelMarkersAndLabelCompressionNPP/Makefile @@ -272,6 +272,12 @@ ifeq ($(TARGET_OS),darwin) SAMPLE_ENABLED := 0 endif +# This sample is not supported on QNX +ifeq ($(TARGET_OS),qnx) + $(info >>> WARNING - batchedLabelMarkersAndLabelCompressionNPP is not supported on QNX - waiving sample <<<) + SAMPLE_ENABLED := 0 +endif + ALL_LDFLAGS := ALL_LDFLAGS += $(ALL_CCFLAGS) ALL_LDFLAGS += $(addprefix -Xlinker ,$(LDFLAGS)) diff --git a/Samples/4_CUDA_Libraries/watershedSegmentationNPP/Makefile b/Samples/4_CUDA_Libraries/watershedSegmentationNPP/Makefile index e95a2013..57b0890f 100644 --- a/Samples/4_CUDA_Libraries/watershedSegmentationNPP/Makefile +++ b/Samples/4_CUDA_Libraries/watershedSegmentationNPP/Makefile @@ -272,6 +272,12 @@ ifeq ($(TARGET_OS),darwin) SAMPLE_ENABLED := 0 endif +# This sample is not supported on QNX +ifeq ($(TARGET_OS),qnx) + $(info >>> WARNING - watershedSegmentationNPP is not supported on QNX - waiving sample <<<) + SAMPLE_ENABLED := 0 +endif + ALL_LDFLAGS := ALL_LDFLAGS += $(ALL_CCFLAGS) ALL_LDFLAGS += $(addprefix -Xlinker ,$(LDFLAGS))