Hi Fernando,

First of all, thanks for investigating the build issue of clBLAS on ppc64el.

In the patch you provided, d/rules is modified with:

 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1

+DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

+ifeq ($(DEB_BUILD_ARCH), ppc64el)
+DEB_CFLAGS_MAINT_APPEND += -mno-altivec
+endif
+
 %:
        dh $@ --sourcedirectory=src \
                --buildsystem=cmake \

Isn't it s/DEB_HOST_ARCH/DEB_BUILD_ARCH at the beginning?

Kind regards,
Ghislain

--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to