Skip to content

Commit

Permalink
Fix lapack detection on Ubuntu 18.04 in Makefile (apache#17714)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu authored and MoisesHer committed Apr 10, 2020
1 parent 9a17b3d commit d83edc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ ifeq (,$(wildcard /lib/liblapack.a))
ifeq (,$(wildcard /lib/liblapack.so))
ifeq (,$(wildcard /usr/lib/liblapack.a))
ifeq (,$(wildcard /usr/lib/liblapack.so))
ifeq (,$(wildcard /usr/lib/x86_64-linux-gnu/liblapack.a))
ifeq (,$(wildcard /usr/lib/x86_64-linux-gnu/liblapack.so))
ifeq (,$(wildcard /usr/lib/liblapack.dylib))
ifeq (,$(wildcard /usr/lib64/liblapack.a))
ifeq (,$(wildcard /usr/lib64/liblapack.so))
Expand All @@ -240,6 +242,8 @@ endif
endif
endif
endif
endif
endif

# lapack settings.
ifeq ($(USE_LAPACK), 1)
Expand Down

0 comments on commit d83edc5

Please sign in to comment.