From owner-dev-commits-ports-all@freebsd.org Mon Apr 19 23:38:15 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 DFD225DAF27; Mon, 19 Apr 2021 23:38:15 +0000 (UTC) (envelope-from git@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 4FPNY3606Vz3Fpl; Mon, 19 Apr 2021 23:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BFD6713A; Mon, 19 Apr 2021 23:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13JNcF3S045096; Mon, 19 Apr 2021 23:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13JNcFUt045095; Mon, 19 Apr 2021 23:38:15 GMT (envelope-from git) Date: Mon, 19 Apr 2021 23:38:15 GMT Message-Id: <202104192338.13JNcFUt045095@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 9845a1e63225 - main - audio/madronalib: fix build on powerpc64le MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9845a1e63225422659da4c51d9deee1e8bafe0a1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 23:38:15 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=9845a1e63225422659da4c51d9deee1e8bafe0a1 commit 9845a1e63225422659da4c51d9deee1e8bafe0a1 Author: Piotr Kubaj AuthorDate: 2021-04-19 23:38:12 +0000 Commit: Piotr Kubaj CommitDate: 2021-04-19 23:38:12 +0000 audio/madronalib: fix build on powerpc64le Use GCC with its SSE translation: In file included from /wrkdirs/usr/ports/audio/madronalib/work/madronalib-1.6-1016-g103895f/source/DSP/MLDSPMathSSE.h:32: 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:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); --- audio/madronalib/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/audio/madronalib/Makefile b/audio/madronalib/Makefile index 705f41c40013..40642b803f26 100644 --- a/audio/madronalib/Makefile +++ b/audio/madronalib/Makefile @@ -13,11 +13,20 @@ BROKEN_i386= error: always_inline function '_mm_load_ps' requires target feature LIB_DEPENDS= libjack.so:audio/jack -USES= cmake compiler:c++11-lib localbase:ldflags perl5 +USES= cmake localbase:ldflags perl5 USE_GITHUB= yes GH_ACCOUNT= madronalabs CMAKE_ON= LINUX_JACK +.include + +.if ${ARCH} == powerpc64le +CXXFLAGS+= -DNO_WARN_X86_INTRINSICS +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lib +.endif + .include