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 DB9501581E7 for ; Wed, 24 Apr 2024 14:13:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 256522BC01E; Wed, 24 Apr 2024 14:13:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A7D02BC01E for ; Wed, 24 Apr 2024 14:13:18 +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 18CBF3431AA for ; Wed, 24 Apr 2024 14:13:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB144173B for ; Wed, 24 Apr 2024 14:13:16 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1713967939.55da92a78fb0bf296acf20a2b09ae8290c53426d.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/cernlib/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild X-VCS-Directories: sci-physics/cernlib/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 55da92a78fb0bf296acf20a2b09ae8290c53426d X-VCS-Branch: master Date: Wed, 24 Apr 2024 14:13:16 +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: 0a1f9962-bd93-4099-bc1b-9871cc8a95a0 X-Archives-Hash: 29bb75b741b4450c7edb52aaa2764c55 commit: 55da92a78fb0bf296acf20a2b09ae8290c53426d Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Tue Apr 23 14:50:25 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Wed Apr 24 14:12:19 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=55da92a7 sci-physics/cernlib: Fix test failures Closes: https://github.com/gentoo/sci/pull/1268 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> ...-2023.10.31.0-r1.ebuild => cernlib-2023.10.31.0-r2.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild b/sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild similarity index 82% rename from sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild rename to sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild index c5c919678..93220dffb 100644 --- a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild +++ b/sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild @@ -1,7 +1,7 @@ EAPI=8 CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake fortran-2 +inherit cmake fortran-2 flag-o-matic DESCRIPTION="CERN program library for High Energy Physics" HOMEPAGE="https://cernlib.web.cern.ch/cernlib/" @@ -16,7 +16,8 @@ LICENSE=" " SLOT="0" KEYWORDS="~amd64" -IUSE="+free" +# static-libs as default since otherwise test fail... +IUSE="+free +static-libs" RESTRICT="mirror" RDEPEND=" @@ -59,6 +60,12 @@ src_configure() { # docs follow rpm like spliting into packages cernlib, cernlib-devel, etc. # we move them into a folder that agrees with gentoo doc structure. sed -i "s#/doc/#/doc/${PF}/#g" CMakeLists.txt || die + # with -O2 some tests fail + # let upstream decide on optimization (-O0) since code is fragile + filter-flags -O1 -O2 -O3 -Os -Oz -Og -Ofast + local mycmakeargs=( + -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON) + ) cmake_src_configure }