From nobody Fri Apr 28 19:55:48 2023 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 4Q7NdK19CVz47tsY; Fri, 28 Apr 2023 19:55:49 +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 4Q7NdK0Y5Zz3HmV; Fri, 28 Apr 2023 19:55:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682711749; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m26TwHUCWkHvvpE+GIkdXCrlE7obA1pPH35d+neikPo=; b=uTGz9liL6zHojt6rd0GcqML0j/E7XZiatvhfeVsO3ii3Araa3zWrWZM94viSCI9ni+OUsu Uny8hDs4Jh+x5ELXSmJkc4UZc0r9KJxDhLhunttPe6l1gT4m0R9+Krv0IVvbulxsQzPLBD oTYtLBt/uLA1y5/QkB8vq0UZilo5uNlQt2aEaYjzTqffriYnATnAamyyFeeMXZ0xuB/ZfM 0HNwDpt9YfH3J1JrrMuzmNW/0hG1efXcl25WzVcLjQ7jfcJ5i7JGYpwD3NOLIoNwUHl/5K Y+V3ex+F8vXfzc0N2BPaR9HMsgCrIq5z2zjXfwXAZl2lHardlEqLEuVi6M0EwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682711749; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m26TwHUCWkHvvpE+GIkdXCrlE7obA1pPH35d+neikPo=; b=NrxUUwNtKjbo55BXwS2pdGoF4i/gPGJoTv3Kqqtp0ZLaNxIYr8PR6sn6rQ2aOdZ3TAIIQz hYh3f6u0jsBl751kNM3OlNOi60iGU5OsbDqqyszaOVbb0uGo+mZqwyyVxLYsFX6zEiMw4M JzhjlWR3IrQgyhrjTX+qkXGWnMvIiE5b0SJbEVIrwVAMN4VnlksuWDXDkDVYq8niEeaQLO 2iBM8N921g7i0ogoh3QN2nxq9jmoKzWP6GF4inJbMCEXPix9s8LAyXfHAyiTh8cjpEcuFp f9Iqfa6druW1Ld+Qy2HPFobwRX86/1gUL6eiiYuwQuQfyTzGTKpPV4FNnIZR0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682711749; a=rsa-sha256; cv=none; b=DIFt8bDi3Jie7TvaK62FH7yAY24ibOLkU/dpD6QwOXt0OdacjSkgB3Dm08ZZajydXukh8K JlvbMgnGyrdw8vxUonM44QlyJ38HQA9QyCdf8iFz1h7WhyFaKGP3MiS2BaPt6F38GQWKKy b4JXWyjS17M0/XNZC8ipLY/3dnyscBuF8cEGXp7eHhb2D9N+8eZnlSQoSzI81AsmFPefvN X/uozXfK18kZ9GkuE/F5qdU77P8utyx3CI0OyAbi4+hMmjoAv9UUB0Uv+vRZ7bxpGM4Yj8 SpxRLw/Qp26dcNzK+vD9pkZ2of1cusZEaGrwzsKjCUdpc8MMltio0QHBl8ctcg== 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 4Q7NdJ6dhWz1C4T; Fri, 28 Apr 2023 19:55:48 +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 33SJtmeT007123; Fri, 28 Apr 2023 19:55:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33SJtmxL007122; Fri, 28 Apr 2023 19:55:48 GMT (envelope-from git) Date: Fri, 28 Apr 2023 19:55:48 GMT Message-Id: <202304281955.33SJtmxL007122@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 89834a7669fb - main - devel/opencl-clang: update to 16.0.0 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 89834a7669fb74b1639f391fc0695a4f665f0dce Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=89834a7669fb74b1639f391fc0695a4f665f0dce commit 89834a7669fb74b1639f391fc0695a4f665f0dce Author: Jan Beich AuthorDate: 2023-04-13 01:08:59 +0000 Commit: Jan Beich CommitDate: 2023-04-28 19:53:17 +0000 devel/opencl-clang: update to 16.0.0 Changes: https://github.com/intel/opencl-clang/releases/tag/v16.0.0 Reported by: GitHub (watch releases) --- devel/opencl-clang/Makefile | 22 +++++++++++++++++++--- devel/opencl-clang/distinfo.llvm16 | 11 +++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/devel/opencl-clang/Makefile b/devel/opencl-clang/Makefile index 8433370f7901..e6211548ce88 100644 --- a/devel/opencl-clang/Makefile +++ b/devel/opencl-clang/Makefile @@ -1,6 +1,7 @@ PORTNAME= opencl-clang DISTVERSIONPREFIX= v DISTVERSION= ${DISTVERSION_${FLAVOR}} +DISTVERSION_llvm16= 16.0.0 DISTVERSION_llvm15= 15.0.0 DISTVERSION_llvm14= 14.0.0 DISTVERSION_llvm13= 13.0.0 @@ -9,6 +10,14 @@ DISTVERSION_llvm11= 11.0.0 CATEGORIES= devel PKGNAMESUFFIX= -${FLAVOR} +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +.if !defined(FLAVOR) || ${FLAVOR} == llvm16 +PATCHFILES+= 529a9188114b.patch:-p1 # https://github.com/intel/opencl-clang/pull/415 +PATCHFILES+= 9f50367661bb.patch:-p1 # https://github.com/intel/opencl-clang/pull/419 +PATCHFILES+= 5491ffa3fde5.patch:-p1 # https://github.com/intel/opencl-clang/pull/416 +PATCHFILES+= cb864cde32c2.patch:-p1 # https://github.com/intel/opencl-clang/issues/422 +.endif + MAINTAINER= jbeich@FreeBSD.org COMMENT= Clang wrapper to compile OpenCL C kernels to SPIR-V modules WWW= https://github.com/intel/opencl-clang @@ -19,7 +28,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libLLVM-${FLAVOR:S/llvm//}.so:devel/${FLAVOR} \ libLLVMSPIRVLib.so.${FLAVOR:S/llvm//}:devel/spirv-llvm-translator@${FLAVOR} -FLAVORS= ${15 14 13 12 11:L:S/^/llvm/} +FLAVORS= ${16 15 14 13 12 11:L:S/^/llvm/} USES= cmake compiler:c++11-lib USE_GITHUB= yes @@ -29,8 +38,15 @@ DISTINFO_FILE= ${.CURDIR}/distinfo.${FLAVOR} CMAKE_ARGS= -DCMAKE_PREFIX_PATH:PATH="${LOCALBASE}/${FLAVOR}" \ -DPREFERRED_LLVM_VERSION:STRING="${FLAVOR:S/llvm//}" CMAKE_INSTALL_PREFIX= ${PREFIX}/${FLAVOR} -_PLIST_FILES= include/cclang/common_clang.h \ - lib/libopencl-clang.so \ +.if defined(FLAVOR) && ${FLAVOR:S/llvm//} < 16 +_PLIST_FILES= include/cclang/common_clang.h +.else +_PLIST_FILES= include/cclang/module.modulemap \ + include/cclang/opencl-c-base.h \ + include/cclang/opencl-c.h \ + include/cclang/opencl_clang.h +.endif +_PLIST_FILES+= lib/libopencl-clang.so \ lib/libopencl-clang.so.${DISTVERSION:R:R} PLIST_FILES= ${_PLIST_FILES:S,^,${FLAVOR}/,} diff --git a/devel/opencl-clang/distinfo.llvm16 b/devel/opencl-clang/distinfo.llvm16 new file mode 100644 index 000000000000..803d27b5c40c --- /dev/null +++ b/devel/opencl-clang/distinfo.llvm16 @@ -0,0 +1,11 @@ +TIMESTAMP = 1681348139 +SHA256 (intel-opencl-clang-v16.0.0_GH0.tar.gz) = 0a1b098cb56dc3af1dbeea6dce3124314238dfe50e30e25161ccd5a9067e7ff5 +SIZE (intel-opencl-clang-v16.0.0_GH0.tar.gz) = 28413 +SHA256 (529a9188114b.patch) = 543ea89c0f74b3a71097327e62004670837545868741cc27c2cf730261ea1e7c +SIZE (529a9188114b.patch) = 967 +SHA256 (9f50367661bb.patch) = fba4ede3454544b670028ab739529b5369686a66bd77876190d406aa9ab97d73 +SIZE (9f50367661bb.patch) = 1665 +SHA256 (5491ffa3fde5.patch) = 06aa137e05f38c642d736ab0fc1ff9b54d57bba8b8248e1cc52a94190c7173f2 +SIZE (5491ffa3fde5.patch) = 727 +SHA256 (cb864cde32c2.patch) = 9d11d43fe55a17eb757976f3f580ff632784f4f8768baecb6aeb4e0d78e2c586 +SIZE (cb864cde32c2.patch) = 3389