Skip to content

Commit

Permalink
update Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru7w1k committed Jan 25, 2022
1 parent 97bb393 commit 876266c
Show file tree
Hide file tree
Showing 166 changed files with 488 additions and 488 deletions.
6 changes: 3 additions & 3 deletions Samples/BlackScholes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/BlackScholes_nvrtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/EGLStream_CUDA_CrossGPU/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/EGLStreams_CUDA_Interop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/EGLSync_CUDAEvent_Interop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/FDTD3d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/FilterBorderControlNPP/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/FunctionPointers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/HSOpticalFlow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MC_EstimatePiInlineP/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MC_EstimatePiInlineQ/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MC_EstimatePiP/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MC_EstimatePiQ/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MC_SingleAsianOptionP/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/Mandelbrot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MersenneTwisterGP11213/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/MonteCarloMultiGPU/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/NV12toBGRandResize/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/SobelFilter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/SobolQRNG/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/StreamPriorities/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/UnifiedMemoryPerf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/UnifiedMemoryStreams/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/alignedTypes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
6 changes: 3 additions & 3 deletions Samples/asyncAPI/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ ifeq ($(TARGET_OS),linux)
GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION))
#$(warning $(GCCVERSION))

IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 51000)
IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 48000)

ifeq ($(IS_MIN_VERSION), 1)
$(info >>> GCC Version is greater or equal to 5.1.0 <<<)
$(info >>> GCC Version is greater or equal to 4.8.0 <<<)
else
$(info >>> Waiving build. Minimum GCC version required is 5.1.0<<<)
$(info >>> Waiving build. Minimum GCC version required is 4.8.0<<<)
SAMPLE_ENABLED := 0
endif
endif
Expand Down
Loading

0 comments on commit 876266c

Please sign in to comment.