Skip to content

Commit

Permalink
Makefile: check for ID_LIKE in supported OS test
Browse files Browse the repository at this point in the history
  • Loading branch information
notmgsk committed Jul 4, 2021
1 parent 4e300d4 commit 6405647
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ install-test-deps:
ifeq ($(UNAME_S),Linux)
ifeq ($(shell sed -n "s/^ID=//p" /etc/os-release),debian)
apt-get install -y libblas-dev libffi-dev liblapack-dev
else ifeq ($(shell sed -n "s/^ID_LIKE=//p" /etc/os-release),debian)
apt-get install -y libblas-dev libffi-dev liblapack-dev
else ifneq (,$(wildcard /etc/redhat-release))
yum install -y blas-devel libffi-devel lapack-devel
else
Expand Down

0 comments on commit 6405647

Please sign in to comment.