Skip to content

Commit

Permalink
Only apply openblas patch on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Dec 6, 2015
1 parent 0055107 commit a4f2e2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,9 @@ OPENBLAS_BUILD_OPTS += NO_AVX2=1
endif

$(BUILDDIR)/$(OPENBLAS_SRC_DIR)/config.status: $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/Makefile
ifeq ($(OS),WINNT)
cd $(dir $@) && patch -p1 < $(SRCDIR)/openblas-win64.patch
endif
perl -i -ple 's/^\s*(EXTRALIB\s*\+=\s*-lSystemStubs)\s*$$/# $$1/g' $<.system
touch $@
$(OPENBLAS_OBJ_SOURCE): $(BUILDDIR)/$(OPENBLAS_SRC_DIR)/config.status
Expand Down

0 comments on commit a4f2e2e

Please sign in to comment.