From nobody Tue Nov 16 12:10:54 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B4600185017D; Tue, 16 Nov 2021 12:10:54 +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 4HtlJZ4nSVz3MVn; Tue, 16 Nov 2021 12:10:54 +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 850614F42; Tue, 16 Nov 2021 12:10:54 +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 1AGCAs0f078310; Tue, 16 Nov 2021 12:10:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AGCAsd8078309; Tue, 16 Nov 2021 12:10:54 GMT (envelope-from git) Date: Tue, 16 Nov 2021 12:10:54 GMT Message-Id: <202111161210.1AGCAsd8078309@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: a87cbe0b5e6a - main - lang/pocl: port to powerpc64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org 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: a87cbe0b5e6ad85dd21908b7943f6b11e0fb44ef Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a87cbe0b5e6ad85dd21908b7943f6b11e0fb44ef commit a87cbe0b5e6ad85dd21908b7943f6b11e0fb44ef Author: Piotr Kubaj AuthorDate: 2021-11-16 12:03:30 +0000 Commit: Piotr Kubaj CommitDate: 2021-11-16 12:03:30 +0000 lang/pocl: port to powerpc64 --- lang/pocl/Makefile | 11 +++++++++-- lang/pocl/pkg-plist | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lang/pocl/Makefile b/lang/pocl/Makefile index 053e00841a4f..6f6388df4e6d 100644 --- a/lang/pocl/Makefile +++ b/lang/pocl/Makefile @@ -9,7 +9,7 @@ COMMENT= POrtable Computing Language (POCL) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= aarch64 amd64 i386 +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 ONLY_FOR_ARCHS_REASON= only tested on x86 BUILD_DEPENDS= llvm${LLVM_VERSION}>=10:devel/llvm${LLVM_VERSION} \ @@ -28,6 +28,7 @@ CMAKE_ARGS= -DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config ${CMAKE_ARGS_${ARCH}} CMAKE_ARGS_aarch64= -DLLC_HOST_CPU=cortex-a53 +CMAKE_ARGS_powerpc64= -DLLC_HOST_CPU=ppc64 CMAKE_ARGS_amd64= -DKERNELLIB_HOST_CPU_VARIANTS="distro" PLIST_SUB= CONFIGURE_TARGET=${CONFIGURE_TARGET:S/amd64/x86_64/} @@ -44,10 +45,16 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_F .if ${ARCH} == aarch64 PLIST_SUB+= AARCH64="" +PLIST_SUB+= PPC64="@comment " PLIST_SUB+= X86="@comment " -.else +.elif ${ARCH} == amd64 || ${ARCH} == i386 PLIST_SUB+= AARCH64="@comment " +PLIST_SUB+= PPC64="@comment " PLIST_SUB+= X86="" +.else +PLIST_SUB+= AARCH64="@comment " +PLIST_SUB+= PPC64="" +PLIST_SUB+= X86="@comment " .endif PLIST_SUB+= CONFIGURE_TARGET=${CONFIGURE_TARGET:S/amd64/x86_64/} diff --git a/lang/pocl/pkg-plist b/lang/pocl/pkg-plist index 5eb68042fef3..977c3d79d80c 100644 --- a/lang/pocl/pkg-plist +++ b/lang/pocl/pkg-plist @@ -30,3 +30,4 @@ libdata/pkgconfig/pocl.pc %%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-sse41.bc %%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-ssse3.bc %%AARCH64%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-cortex-a53.bc +%%PPC64%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-ppc64.bc