Skip to content

Commit

Permalink
Fix gcc5.3 + nvcc 8.0 (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon committed May 2, 2016
1 parent 12345b8 commit 72a5f10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ endif
CFLAGS += -I$(ROOTDIR)/mshadow/ -I$(ROOTDIR)/dmlc-core/include -fPIC -Iinclude $(MSHADOW_CFLAGS)
LDFLAGS = -pthread $(MSHADOW_LDFLAGS) $(DMLC_LDFLAGS)
ifeq ($(DEBUG), 1)
NVCCFLAGS = -g -G -O0 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
NVCCFLAGS = -D_FORCE_INLINES -g -G -O0 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
else
NVCCFLAGS = --use_fast_math -g -O3 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
NVCCFLAGS = -D_FORCE_INLINES --use_fast_math -g -O3 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
endif

ifndef LINT_LANG
Expand Down Expand Up @@ -125,7 +125,7 @@ else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S), Darwin)
SCALA_PKG_PROFILE := osx-x86_64
else
else
SCALA_PKG_PROFILE := linux-x86_64
endif
endif
Expand Down

0 comments on commit 72a5f10

Please sign in to comment.