Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2017-12-03 10:05:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openblas" Sun Dec 3 10:05:29 2017 rev:18 rq:546641 version:0.2.20 Changes: -------- --- /work/SRC/openSUSE:Factory/openblas/openblas.changes 2017-10-18 16:15:26.219679301 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2017-12-03 10:05:35.340074710 +0100 @@ -1,0 +2,7 @@ +Mon Nov 27 11:55:04 UTC 2017 - norm...@linux.vnet.ibm.com + +- Add -mvsx option for ppc64 archi (not required for ppc64le) + to avoid ./kernel/power/sasum_microk_power8.c:41:3: error: + '__vector' undeclared (first use in this function); ... + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openblas.spec ++++++ --- /var/tmp/diff_new_pack.nmx2Hw/_old 2017-12-03 10:05:38.251968841 +0100 +++ /var/tmp/diff_new_pack.nmx2Hw/_new 2017-12-03 10:05:38.255968696 +0100 @@ -259,9 +259,15 @@ %ifarch aarch64 %define openblas_target TARGET=ARMV8 %endif +# force -mvsx for ppc64 to avoid build failure: +# ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'? +# TODO why is it required ? (and not for ppc64le) +%ifarch ppc64 +%define addopt -mvsx +%endif # Make serial, threaded and OpenMP versions make %{?_smp_mflags} %{?openblas_target} %{?build_flags} \ - COMMON_OPT="%{optflags}" \ + COMMON_OPT="%{optflags} %{?addopt}" \ NUM_THREADS=%{num_threads} V=1 \ OPENBLAS_LIBRARY_DIR=%{p_libdir} \ OPENBLAS_INCLUDE_DIR=%{hpc_includedir} \