Skip to content

Commit

Permalink
fix compiler detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravey committed Jan 7, 2024
1 parent 487f618 commit 8de0297
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ifeq ($(dosentSupportOMP),1)
export LDFLAGS += -fopenmp
endif

dosentSupportCUDA:= $(shell command -v nvcc; echo $$? )
dosentSupportCUDA:= $(shell command -v nvcc; echo $? )
ifneq ($(dosentSupportCUDA),1)
#export ExtraDevice+= NvidiaGPUAcceleratorDevice.o
export CFLAGS+= -DWITH_CUDA
Expand All @@ -89,10 +89,10 @@ ifeq ($(USE_CURL),yes)
endif

DEFAULT_JOB=c++
ifneq ($(shell icpc 2>/dev/null; echo $$? ),127)
ifneq ($(shell icpc 2>/dev/null; echo $? ),127)
DEFAULT_JOB+=intel
endif
ifneq ($(shell icpx 2>/dev/null; echo $$? ),127)
ifneq ($(shell icpx 2>/dev/null; echo $? ),127)
DEFAULT_JOB+=intel
endif

Expand Down

0 comments on commit 8de0297

Please sign in to comment.