Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
8a4e1d49
Commit
8a4e1d49
authored
Jan 15, 2018
by
Aman
Committed by
Tianqi Chen
Jan 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lib64 not found error when building with cuda for OSX (#782)
parent
ee6f22ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
Makefile
+5
-1
No files found.
Makefile
View file @
8a4e1d49
...
@@ -79,7 +79,11 @@ RUNTIME_DEP = $(RUNTIME_OBJ)
...
@@ -79,7 +79,11 @@ RUNTIME_DEP = $(RUNTIME_OBJ)
ifdef
CUDA_PATH
ifdef
CUDA_PATH
NVCC
=
$(CUDA_PATH)
/bin/nvcc
NVCC
=
$(CUDA_PATH)
/bin/nvcc
CFLAGS
+=
-I
$(CUDA_PATH)
/include
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
endif
ifeq
($(USE_CUDA),
1)
ifeq
($(USE_CUDA),
1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment