From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF505158451 for ; Mon, 8 Jan 2024 21:09:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A4D1E2B9A; Mon, 8 Jan 2024 21:09:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFBB2E2B96 for ; Mon, 8 Jan 2024 21:09:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02F0D3432FA for ; Mon, 8 Jan 2024 21:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6824412F2 for ; Mon, 8 Jan 2024 21:09:41 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1704748086.440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qt6-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f X-VCS-Branch: master Date: Mon, 8 Jan 2024 21:09:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d67fcf11-589f-4110-97d7-1c2a234b0484 X-Archives-Hash: 3c24ed97786740a3c5fd505d68f8f62e commit: 440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 8 15:56:28 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 8 21:08:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440b08f6 qt6-build.eclass: shorten intrin test a bit Felt more correct but do not actually need the header for these. Could alternatively use tc-cpp-is-true too, but fwiw current method allows batching in a single compiler call. Signed-off-by: Ionen Wolkens gentoo.org> eclass/qt6-build.eclass | 3 --- 1 file changed, 3 deletions(-) diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 561a4fe20422..59baaa77ce6d 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -240,9 +240,6 @@ _qt6-build_match_cpu_flags() { done done < <( $(tc-getCXX) -E -P ${CXXFLAGS} ${CPPFLAGS} - <<-EOF | tail -n 2 - #if defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__)) - #include - #endif avx2=__AVX2__ =__BMI__ =__BMI2__ =__F16C__ =__FMA__ =__LZCNT__ =__POPCNT__ avx512f=__AVX512F__ avx512bw=__AVX512BW__ avx512cd=__AVX512CD__ avx512dq=__AVX512DQ__ avx512vl=__AVX512VL__ EOF