Skip to content

Commit

Permalink
fix build in case of spaces in path to make (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
limexp authored and khotilov committed Aug 23, 2017
1 parent 332b26d commit cd366ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ endif
all: lib/libxgboost.a $(XGBOOST_DYLIB) xgboost

$(DMLC_CORE)/libdmlc.a: $(wildcard $(DMLC_CORE)/src/*.cc $(DMLC_CORE)/src/*/*.cc)
+ cd $(DMLC_CORE); $(MAKE) libdmlc.a config=$(ROOTDIR)/$(config); cd $(ROOTDIR)
+ cd $(DMLC_CORE); "$(MAKE)" libdmlc.a config=$(ROOTDIR)/$(config); cd $(ROOTDIR)

$(RABIT)/lib/$(LIB_RABIT): $(wildcard $(RABIT)/src/*.cc)
+ cd $(RABIT); $(MAKE) lib/$(LIB_RABIT) USE_SSE=$(USE_SSE); cd $(ROOTDIR)
+ cd $(RABIT); "$(MAKE)" lib/$(LIB_RABIT) USE_SSE=$(USE_SSE); cd $(ROOTDIR)

jvm: jvm-packages/lib/libxgboost4j.so

Expand Down Expand Up @@ -233,8 +233,8 @@ clean:
cd R-package/src; $(RM) -rf rabit src include dmlc-core amalgamation *.so *.dll; cd $(ROOTDIR)

clean_all: clean
cd $(DMLC_CORE); $(MAKE) clean; cd $(ROOTDIR)
cd $(RABIT); $(MAKE) clean; cd $(ROOTDIR)
cd $(DMLC_CORE); "$(MAKE)" clean; cd $(ROOTDIR)
cd $(RABIT); "$(MAKE)" clean; cd $(ROOTDIR)

doxygen:
doxygen doc/Doxyfile
Expand Down

0 comments on commit cd366ec

Please sign in to comment.