Skip to content

Commit

Permalink
Fixed #16. Print the user-friendly message when detecting CPU failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyi committed Apr 22, 2011
1 parent b8d9381 commit 2aab238
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ endif
endif

libs :
ifeq ($(CORE), UNKOWN)
$(error OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.)
endif
-ln -fs $(LIBNAME) libopenblas.$(LIBSUFFIX)
for d in $(SUBDIRS) ; \
do if test -d $$d; then \
Expand Down

0 comments on commit 2aab238

Please sign in to comment.