Hello Gishlain

In your rules file we can see this.

>ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
>  export CPPFLAGS=-I/usr/include/hdf5/serial
>  export LDFLAGS=-Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
>endif

It seems to me fragile.

what about relying on pkgconfig to provide the right flags

export CFLAGS=$(shell pkg-config --cflags hdf5)
export LDFLAGS=$(shell pkg-config --libs hdf5)


for the clean par , I propose this sort of target.

        # remove the .c cython generated files
        find h5py -iname *.pyx | sed -e 's,\.pyx,\.c,g' | xargs -r rm -f

cheers


Frederic

--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/a2a20ec3b8560d408356cac2fc148e53b1ff8...@sun-dag3.synchrotron-soleil.fr

Reply via email to