Skip to content

Commit

Permalink
fixed config.mk and Makefile bugs for installing mkl (apache#15424)
Browse files Browse the repository at this point in the history
* fixed config.mk and Makefile bugs for installing mkl

* remove comments from the previous changes
  • Loading branch information
nuslq authored and Ubuntu committed Aug 20, 2019
1 parent c1d78d6 commit 8d0d075
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 @@ -244,13 +244,13 @@ ifeq ($(USE_CUDNN), 1)
LDFLAGS += -lcudnn
endif

ifeq ($(use_blas), open)
ifeq ($(USE_BLAS), open)
CFLAGS += -DMXNET_USE_BLAS_OPEN=1
else ifeq ($(use_blas), atlas)
else ifeq ($(USE_BLAS), atlas)
CFLAGS += -DMXNET_USE_BLAS_ATLAS=1
else ifeq ($(use_blas), mkl)
else ifeq ($(USE_BLAS), mkl)
CFLAGS += -DMXNET_USE_BLAS_MKL=1
else ifeq ($(use_blas), apple)
else ifeq ($(USE_BLAS), apple)
CFLAGS += -DMXNET_USE_BLAS_APPLE=1
endif

Expand Down

0 comments on commit 8d0d075

Please sign in to comment.