From nobody Sat Nov 19 04:13:12 2022 X-Original-To: dev-commits-src-all@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 4NDgHY0nWKz4hgkW; Sat, 19 Nov 2022 04:13:13 +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 4NDgHY07Vtz3qVk; Sat, 19 Nov 2022 04:13:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668831193; 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=pjQhdF60Ls+QPx3tNobtM2xOK4wHnbOvU0Jbf99wigs=; b=AibFysfScOMClWO6gsI5fTZjYKv8tDMEUMBx3w3stWO3L9QtNDeFQ/IKez4rQS1Wb9+6Ot l0pyA9CDCUFOdAn6iBPCVwup/+TSOLs53PmGTsMknotpIAtFfklnhT0vFX8wqVEBtvGed+ rNetc6aV8zuLBdkZVM/tH1DUKjOjuKpnU6t8nuZV0QQoDpSRGC1AQExwUPJ0wLcuty8FC0 dpyD+BUJwjCQdW/E7KtLT2VbleGE42DaUcWwWdmx7jRo1FqlIXoo4yCVOntOPYuhcabZYt 3q03/BusexMsKWvu95HB//nlGYSL83D5siPYTCtEdTxHWW19b7E11fYJzn263A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668831193; 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=pjQhdF60Ls+QPx3tNobtM2xOK4wHnbOvU0Jbf99wigs=; b=aK4kZzI9mGI27MJY8kSxggyTIchnfQextgdqS7FfVrN6Wdtqo3oU1USfN0vVUqbZYCzB2h sPnQSPr4JBOQ86Sv/rLwx00rafWn7/P8wLbWMN+63hq4MqfwM6H8CQLzxTeiTJx4duBgRu 8mId/VIu4Ge7Grr7oxmoy6xcD6UXOsxPX+i9vW/++p5hLCo0UYIGfZ7nhlTpoHvXSIotGh oRVA/XyInQuFkfl86WRVcgyjw3S7oMcgT2d5GWu0p43r4n+rCD4SjwUahxzD1B6n/pS4yw ekOJHYSWWKNVwBWjWkOK8Q+RoGziFinfDVnarPySzmOPT6JefmvhvFgutRB7Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668831193; a=rsa-sha256; cv=none; b=PiA7O9GQMbmyXn4Hpqn3ofRlT1s3EEqyEXDP2XrGZ6ydr7YVqNe3MHm6Qa8cQcsZ8hMbPT xz6sngOHBLiiKPYnGW1cHg3a8euSndFd3q4teetDLJp/xo9B/2Ics9QBrjMcPHTeZUeqfY 0M6CU9KzIJWffzs+If4BKgh2FiEbT5JOLqdIHFwlnVSfslnJuTEBJDHtgE73S/AfChhxIt 9zIEmfDhWMExGlEVspqfOAyrC5BJR6Aihlnwh17NuxDY4GIhxksMJrzVj4QUZBcH/dygrd LenuE6LUJGqzluFIvBfEdMbpsj10+7vhLSOMMtcJ9z0hfG3MhDRpQt2TGZ+3jg== 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 4NDgHX6LK7zXDF; Sat, 19 Nov 2022 04:13:12 +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 2AJ4DC0m070771; Sat, 19 Nov 2022 04:13:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AJ4DCeI070770; Sat, 19 Nov 2022 04:13:12 GMT (envelope-from git) Date: Sat, 19 Nov 2022 04:13:12 GMT Message-Id: <202211190413.2AJ4DCeI070770@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: adc3c128c660 - main - src.opts.mk: Require C++20 for C++ support. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: adc3c128c6603054586a993d117e5dd808deac17 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=adc3c128c6603054586a993d117e5dd808deac17 commit adc3c128c6603054586a993d117e5dd808deac17 Author: John Baldwin AuthorDate: 2022-11-19 04:12:28 +0000 Commit: John Baldwin CommitDate: 2022-11-19 04:12:28 +0000 src.opts.mk: Require C++20 for C++ support. libc++ requires C++20, so mark C++ (MK_CXX) as broken if the compiler does not support C++20. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36893 --- share/mk/src.opts.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index f69208f21556..5089a034350d 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -348,6 +348,11 @@ __DEFAULT_YES_OPTIONS+=OPENMP __DEFAULT_NO_OPTIONS+=OPENMP .endif +# libc++ requires C++20 +.if !${COMPILER_FEATURES:Mc++20} +BROKEN_OPTIONS+=CXX +.endif + .include #