Commit 8a4e1d49 by Aman Committed by Tianqi Chen

Fix lib64 not found error when building with cuda for OSX (#782)

parent ee6f22ab
......@@ -79,7 +79,11 @@ RUNTIME_DEP = $(RUNTIME_OBJ)
ifdef CUDA_PATH
NVCC=$(CUDA_PATH)/bin/nvcc
CFLAGS += -I$(CUDA_PATH)/include
LDFLAGS += -L$(CUDA_PATH)/lib64
ifeq ($(UNAME_S),Darwin)
LDFLAGS += -L$(CUDA_PATH)/lib
else
LDFLAGS += -L$(CUDA_PATH)/lib64
endif
endif
ifeq ($(USE_CUDA), 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment