Hi – I’m new to Travis, so apologies in advance if I’m missing something obvious. The project I’m trying to test requires a Python C extension to be built which needs LAPACK. apt is installing liblapack-dev, but gcc seems not to be able to find the needed header lapacke.h. On my Ubuntu 18.04 machine it is in /usr/include/
Here’s the job: https://travis-ci.com/ddrake/pygsvd/jobs/254906055
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DUSE_LAPACK=1 -I/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/opt/python/3.6.7/include/python3.6m -c src/_gsvd.c -o build/temp.linux-x86_64-3.6/src/_gsvd.o -DBUILD_WITH_PYTHON3
src/_gsvd.c:20:22: fatal error: lapacke.h: No such file or directory
Thanks!
EDIT: It looks like travis uses xenial by default when no distribution is set; so it seems to me the file should be in /usr/include/
https://packages.ubuntu.com/xenial/amd64/liblapacke-dev/filelist