From 742b557442a4c8e298146026536b14965a87fcc6 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Sep 25 2021 21:33:46 +0000 Subject: feat: correct flags for s390 builds --- diff --git a/arbor.spec b/arbor.spec index 97a076d..f5bcd85 100644 --- a/arbor.spec +++ b/arbor.spec @@ -204,13 +204,12 @@ pushd build$MPI_COMPILE_TYPE && %else -DARB_VECTORIZE:BOOL=OFF \\\ %endif -%ifarch %{power64} - -DARB_ARCH=power8 \\\ -%endif -DARB_WITH_MPI:BOOL=$MPI_YES \\\ -DARB_WITH_GPU:BOOL=OFF \\\ -%ifnarch armv7hl +%ifnarch s390x s390 -DARB_ARCH:STRING="native" \\\ +%else + -DARB_ARCH:STRING="none" \\\ %endif -DCMAKE_INSTALL_LIBDIR=%{_lib} \\\ -DARB_WITH_PYTHON:BOOL=ON \\\