From nobody Sun Jun 25 15:52:21 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 4QpwTd4N98z4hRnF; Sun, 25 Jun 2023 15:52:21 +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 4QpwTd3yWhz3JRk; Sun, 25 Jun 2023 15:52:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687708341; 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=8zQW4Z0tp47XSL6dmCn9g2F6YePoeJzjiYenBNGIaBQ=; b=jr8SQT1pSjM06dYP7U/wZOVzjRW8lqHmqw1unfMbXESc3irZvUBK5b102utm1fdJfeAUic Rx6nWasAKmxj4PmwIJ/Oje4ndVTQn+VvK+X9Ie4N1HqVP0sVfjWj5UcPG7b0aRDvPZzE4y 8VDJrTGvbnhm5lXZRevfSJ9Aa8NpXsOzmdVk+xkP23IYmrnRGZs7HJpZWunGmJwFJIUjh2 gOMzBond8PL4aVIgbHTfUFbTKyGkcPJprK04vkv7uTrqz3TYT1DMikZ9dYpoG7F9f84+78 n92Vc9l7AFRp45OznZAsoxuHNQkmaGNTH9bO2Zbr9JS/jzRXlNrrvEqggNsvMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687708341; 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=8zQW4Z0tp47XSL6dmCn9g2F6YePoeJzjiYenBNGIaBQ=; b=j1jjfsaSELNRDRsti3DWog2GDdFjVPWZk+RHzDn+mSvsHrelEVWdgx1o5oB+6ZzGXW/wzU MOQZMjZhc6z3mIX6Td7eyA6U3xWgtgdr39COnBqmLJknzsIsnrz+gkdETdjciJmnqIpjw4 vtxGjCHEucVSTaCu3Er0up1chmQWdXkk1X1jiEDPSGK6/LIuHWaUqJ+/Mxr4JdQ57ZyKzW I7/sZn0AJHbvzzZl3Evb7MKe8+aNn+I5NO+21Ea+LfcOSWYNDClE+ikkYVEOD0ueI8AOou wZZXJR8It0KvLxenmfuZOSAiYRTwr/um3/4xNtph8WrmG+JK6/ZYb13bnTRinw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687708341; a=rsa-sha256; cv=none; b=LmGWhyGVXornczrgk7pRJaqsBikPN+SoKZ33tWEdwqAo2k28fUOWS9gJCslfjKKGyKm2ZS qry5C5XNwalp/ansH3+B17oc/QqQDTejoDwUoXQ/Deqny0qdRDwJhDUVrQqslbmVVVphcv ALyCwi09UGf/kmBTIdon4eYaGidVMDwUky0/y6I1L8bhdPSYPEPzXDO1Yjw+xo/26y4PON cIoet088COeXkOV4OLoFz1Z6n6lil1lX+GPE+XIDLg1nuLlwMKc4FCAOjDKh0Eq9BQvqCu DLVc1CGtpuiOSvZ8hXMXwMBb5cj70UlUn+wVyWacB9/Lr9XA8mVZj6lzK5NLjg== 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 4QpwTd31xSzYd6; Sun, 25 Jun 2023 15:52:21 +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 35PFqLfE073502; Sun, 25 Jun 2023 15:52:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PFqLov073501; Sun, 25 Jun 2023 15:52:21 GMT (envelope-from git) Date: Sun, 25 Jun 2023 15:52:21 GMT Message-Id: <202306251552.35PFqLov073501@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: 32a8753e3fef - main - devel/spirv-llvm-translator: unbreak build with clang 16 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: 32a8753e3fefb32536e2595f56b55c596658c6e7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=32a8753e3fefb32536e2595f56b55c596658c6e7 commit 32a8753e3fefb32536e2595f56b55c596658c6e7 Author: Jan Beich AuthorDate: 2023-06-25 13:40:21 +0000 Commit: Jan Beich CommitDate: 2023-06-25 15:52:08 +0000 devel/spirv-llvm-translator: unbreak build with clang 16 In file included from lib/SPIRV/LLVMToSPIRVDbgTran.cpp:38: In file included from lib/SPIRV/LLVMToSPIRVDbgTran.h:42: In file included from lib/SPIRV/libSPIRV/SPIRVModule.h:44: In file included from lib/SPIRV/libSPIRV/SPIRVEntry.h:44: In file included from lib/SPIRV/libSPIRV/SPIRVEnum.h:44: In file included from lib/SPIRV/libSPIRV/SPIRVOpCode.h:45: lib/SPIRV/libSPIRV/spirv_internal.hpp:182:5: error: integer value 16777216 is outside the valid range of values [0, 16777215] for the enumeration type 'LoopControlMask' [-Wenum-constexpr-conversion] static_cast(ILoopControlLoopCountINTELMask); ^ Reported by: pkg-fallout Regressed by: https://github.com/llvm/llvm-project/commit/b36453530418 See also: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/1d5694629aad --- devel/spirv-llvm-translator/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/spirv-llvm-translator/Makefile b/devel/spirv-llvm-translator/Makefile index f8baa03e2839..bc7915041550 100644 --- a/devel/spirv-llvm-translator/Makefile +++ b/devel/spirv-llvm-translator/Makefile @@ -32,6 +32,7 @@ GH_TUPLE_llvm15=KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-168-g5a12186:h GH_TUPLE_llvm14=KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-124-g20b02de:headers/projects/SPIRV-Headers GH_TUPLE_llvm13=KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-83-gddf3230:headers/projects/SPIRV-Headers DISTINFO_FILE= ${.CURDIR}/distinfo.${FLAVOR} +CXXFLAGS+= ${${FLAVOR:S/llvm//} < 16 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160:?-Wno-enum-constexpr-conversion:} CMAKE_ON= BUILD_SHARED_LIBS LLVM_BUILD_TOOLS LLVM_TOOL_SPIRV_HEADERS_BUILD CMAKE_ARGS= -DLLVM_DIR:PATH="${LOCALBASE}/${FLAVOR}" CMAKE_INSTALL_PREFIX= ${PREFIX}/${FLAVOR}