You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/11 12:26:30 UTC

[GitHub] szha closed pull request #7838: add $(USE_CUDA_PATH)/lib(64)? as linking lib search dir

szha closed pull request #7838: add $(USE_CUDA_PATH)/lib(64)? as linking lib search dir
URL: https://github.com/apache/incubator-mxnet/pull/7838
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/Makefile b/Makefile
index bfd03820f2..e26bd4dfe3 100644
--- a/Makefile
+++ b/Makefile
@@ -175,7 +175,8 @@ ifneq ($(ADD_LDFLAGS), NONE)
 endif
 
 ifneq ($(USE_CUDA_PATH), NONE)
-	NVCC=$(USE_CUDA_PATH)/bin/nvcc
+	NVCC = $(USE_CUDA_PATH)/bin/nvcc
+	LDFLAGS += -L$(USE_CUDA_PATH)/lib64 -L$(USE_CUDA_PATH)/lib
 endif
 
 # Sets 'CUDA_ARCH', which determines the GPU architectures supported


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services