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 5A290158013 for ; Mon, 23 Sep 2024 10:59:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89A45E2A30; Mon, 23 Sep 2024 10:59:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 711E9E2A30 for ; Mon, 23 Sep 2024 10:59:04 +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 B6913343252 for ; Mon, 23 Sep 2024 10:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4384397F for ; Mon, 23 Sep 2024 10:59:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1727089111.ccf2eb2b7d4a99074731f23ebf69c88df75aee81.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/swig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/swig/swig-4.2.1.ebuild X-VCS-Directories: dev-lang/swig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ccf2eb2b7d4a99074731f23ebf69c88df75aee81 X-VCS-Branch: master Date: Mon, 23 Sep 2024 10:59:02 +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: 449c08e8-201b-458c-90f5-7d1621e2eef3 X-Archives-Hash: ef0f462a23221af597945bbc0db01a39 commit: ccf2eb2b7d4a99074731f23ebf69c88df75aee81 Author: Sam James gentoo org> AuthorDate: Mon Sep 23 10:57:50 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 23 10:58:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf2eb2b dev-lang/swig: test improvements * Fix tests on HPPA by passing -fdata-sections -ffunction-sectons * Make both build & tests more verbose * Fully respect *FLAGS in tests Bug: https://bugs.gentoo.org/935318 Signed-off-by: Sam James gentoo.org> dev-lang/swig/swig-4.2.1.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev-lang/swig/swig-4.2.1.ebuild b/dev-lang/swig/swig-4.2.1.ebuild index 0ef5fe9d6afb..4e11cb8a2fcd 100644 --- a/dev-lang/swig/swig-4.2.1.ebuild +++ b/dev-lang/swig/swig-4.2.1.ebuild @@ -43,10 +43,22 @@ src_configure() { $(use_with pcre) } +src_compile() { + # Override these variables per Makefile.in to get verbose logs + emake FLAGS="-k" RUNPIPE="" +} + src_test() { # The tests won't get run w/o an explicit call, broken Makefiles? # java skipped for bug #921504 - emake skip-java=true check + # *-sections for bug #935318 + emake check \ + skip-java=true \ + FLAGS="-k" \ + RUNPIPE="" \ + CFLAGS="${CFLAGS} -ffunction-sections -fdata-sections" \ + CXXFLAGS="${CXXFLAGS} -ffunction-sections -fdata-sections" \ + LDFLAGS="${LDFLAGS}" } src_install() {