Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 10:38:33 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567918 - head/biology/py-scikit-bio
Message-ID:  <202103091038.129AcX1B086332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Mar  9 10:38:33 2021
New Revision: 567918
URL: https://svnweb.freebsd.org/changeset/ports/567918

Log:
  biology/py-scikit-bio: fix build on powerpc64
  
  GCC is also necessary on powerpc64:
  In file included from skbio/alignment/_ssw_wrapper.c:626:
  In file included from skbio/alignment/_lib/ssw.h:17:
  In file included from /usr/lib/clang/11.0.1/include/emmintrin.h:13:
  In file included from /usr/lib/clang/11.0.1/include/xmmintrin.h:13:
  /usr/lib/clang/11.0.1/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
      return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);

Modified:
  head/biology/py-scikit-bio/Makefile

Modified: head/biology/py-scikit-bio/Makefile
==============================================================================
--- head/biology/py-scikit-bio/Makefile	Tue Mar  9 09:59:59 2021	(r567917)
+++ head/biology/py-scikit-bio/Makefile	Tue Mar  9 10:38:33 2021	(r567918)
@@ -33,7 +33,7 @@ USE_PYTHON=	autoplist distutils
 .if ${ARCH} == i386
 CFLAGS+=	-msse2 # workaround for https://github.com/biocore/scikit-bio/issues/1727
 CXXFLAGS+=	-msse2
-.elif ${ARCH} == powerpc64le
+.elif ${ARCH:Mpowerpc64*}
 CFLAGS+=	-DNO_WARN_X86_INTRINSICS
 USE_GCC=	yes
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091038.129AcX1B086332>