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 9AFE0158086 for ; Sat, 30 Oct 2021 06:44:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C57D5E081A; Sat, 30 Oct 2021 06:44:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA743E081A for ; Sat, 30 Oct 2021 06:44:30 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8A9734318B for ; Sat, 30 Oct 2021 06:44:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 691D67A for ; Sat, 30 Oct 2021 06:44:28 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1635576263.b1e719993d5cbc7e14c7d50950b097ee74f7d328.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/dealii/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/dealii/dealii-9.3.1-r1.ebuild X-VCS-Directories: sci-libs/dealii/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: b1e719993d5cbc7e14c7d50950b097ee74f7d328 X-VCS-Branch: master Date: Sat, 30 Oct 2021 06:44:28 +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: 33800169-b019-4c46-8daf-ee3f79ebb697 X-Archives-Hash: e2e06f38ddcbb6f6679a93a0831db9a5 commit: b1e719993d5cbc7e14c7d50950b097ee74f7d328 Author: Matthias Maier gentoo org> AuthorDate: Sat Oct 30 06:42:15 2021 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sat Oct 30 06:44:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e71999 sci-libs/dealii: allow sse2/avx2/avx512 instructions when enabled Closes: https://bugs.gentoo.org/820809 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthias Maier gentoo.org> sci-libs/dealii/dealii-9.3.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/dealii/dealii-9.3.1-r1.ebuild b/sci-libs/dealii/dealii-9.3.1-r1.ebuild index dd024050fed..ef012f290e0 100644 --- a/sci-libs/dealii/dealii-9.3.1-r1.ebuild +++ b/sci-libs/dealii/dealii-9.3.1-r1.ebuild @@ -8,7 +8,7 @@ EAPI=7 # any of these modules: CMAKE_REMOVE_MODULES_LIST="" -inherit cmake multilib +inherit cmake flag-o-matic multilib DESCRIPTION="Solving partial differential equations with the finite element method" HOMEPAGE="https://www.dealii.org/" @@ -138,10 +138,13 @@ src_configure() { # variables if a "higher" variant is set if use cpu_flags_x86_avx512f; then mycmakeargs+=( -DDEAL_II_HAVE_AVX512=yes ) + append-cxxflags "-mavx512f" elif use cpu_flags_x86_avx; then mycmakeargs+=( -DDEAL_II_HAVE_AVX=yes ) + append-cxxflags "-mavx2" elif use cpu_flags_x86_avx; then mycmakeargs+=( -DDEAL_II_HAVE_SSE2=yes ) + append-cxxflags "-msse2" fi cmake_src_configure