From owner-svn-ports-head@freebsd.org Tue Mar 2 15:01:56 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07A9156C2BE; Tue, 2 Mar 2021 15:01:56 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqgMR6v1Cz4VHL; Tue, 2 Mar 2021 15:01:55 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF8E718CB3; Tue, 2 Mar 2021 15:01:55 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 122F1tAL033783; Tue, 2 Mar 2021 15:01:55 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 122F1tUo033782; Tue, 2 Mar 2021 15:01:55 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202103021501.122F1tUo033782@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 2 Mar 2021 15:01:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566960 - head/biology/bwa X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/biology/bwa X-SVN-Commit-Revision: 566960 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 15:01:56 -0000 Author: pkubaj Date: Tue Mar 2 15:01:55 2021 New Revision: 566960 URL: https://svnweb.freebsd.org/changeset/ports/566960 Log: biology/bwa: fix build on powerpc64le Use GCC's SSE->Altivec translation: In file included from ksw.c:29: 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/bwa/Makefile Modified: head/biology/bwa/Makefile ============================================================================== --- head/biology/bwa/Makefile Tue Mar 2 14:46:41 2021 (r566959) +++ head/biology/bwa/Makefile Tue Mar 2 15:01:55 2021 (r566960) @@ -31,11 +31,14 @@ GH_ACCOUNT= lh3 PLIST_FILES= bin/bwa bin/qualfa2fq.pl bin/xa2multi.pl man/man1/bwa.1.gz -.include +.include .if ${ARCH} == amd64 || ${ARCH} == i386 # Avoid #error in emmintrin.h CFLAGS+= -msse2 +.elif ${ARCH} == powerpc64le +CFLAGS+= -DNO_WARN_X86_INTRINSICS +USES+= compiler:gcc-c++11-lib .endif do-install: @@ -43,4 +46,4 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include +.include