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 6463315811D for ; Tue, 20 Jun 2023 00:02:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48218E0863; Tue, 20 Jun 2023 00:02:43 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A78EE0863 for ; Tue, 20 Jun 2023 00:02: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 6AEF9340F99 for ; Tue, 20 Jun 2023 00:02:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5564A87 for ; Tue, 20 Jun 2023 00:02:39 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1687219274.4b20407b767f00948a70016fa16c391167f1dc67.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/colamd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/colamd/Manifest sci-libs/colamd/colamd-3.0.3.ebuild sci-libs/colamd/metadata.xml X-VCS-Directories: sci-libs/colamd/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 4b20407b767f00948a70016fa16c391167f1dc67 X-VCS-Branch: master Date: Tue, 20 Jun 2023 00:02:39 +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: 2c78ab4a-5b43-41bb-815f-a205e227544d X-Archives-Hash: 8565ae818e1c15f7d386291b50d8c75b commit: 4b20407b767f00948a70016fa16c391167f1dc67 Author: François Bissey gmail com> AuthorDate: Mon Jun 5 20:59:21 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Jun 20 00:01:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b20407b sci-libs/colamd: add 3.0.3 Signed-off-by: François Bissey gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/colamd/Manifest | 1 + sci-libs/colamd/colamd-3.0.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++ sci-libs/colamd/metadata.xml | 3 +++ 3 files changed, 43 insertions(+) diff --git a/sci-libs/colamd/Manifest b/sci-libs/colamd/Manifest index d892a2a7e321..a699b1aea285 100644 --- a/sci-libs/colamd/Manifest +++ b/sci-libs/colamd/Manifest @@ -1 +1,2 @@ +DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e DIST colamd-2.9.6.tar.bz2 298903 BLAKE2B e1e3cfa0153e21b742854d28fb6d3ede287c2ec22cfef4268a8aba8bb239be527433907f6984dad976341cf6e1ca9cb39f5c97029ad9bed032a874add9aa0e02 SHA512 f302d18f9ba004c9d1b0e1ada76e70f20fa1d11896815e5300983513b7ed4a7b969adef33adb1a57d67ce856a5ded410874c23d9bba42b6bf1a6a790430f5137 diff --git a/sci-libs/colamd/colamd-3.0.3.ebuild b/sci-libs/colamd/colamd-3.0.3.ebuild new file mode 100644 index 000000000000..bb834c744386 --- /dev/null +++ b/sci-libs/colamd/colamd-3.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +Sparse_PV="7.0.0" +Sparse_P="SuiteSparse-${Sparse_PV}" +DESCRIPTION="Column approximate minimum degree ordering algorithm" +HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" +SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${Sparse_P}/${PN^^}" + +multilib_src_configure() { + local mycmakeargs=( + -DNSTATIC=ON + -DDEMO=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + # Run demo files + ./colamd_example > colamd_example.out + diff "${S}"/Demo/colamd_example.out colamd_example.out || die "failed testing colamd_example" + ./colamd_l_example > colamd_l_example.out + diff "${S}"/Demo/colamd_l_example.out colamd_l_example.out || die "failed testing colamd_l_example" +} diff --git a/sci-libs/colamd/metadata.xml b/sci-libs/colamd/metadata.xml index 249c30df3a5c..568cb46d3cfe 100644 --- a/sci-libs/colamd/metadata.xml +++ b/sci-libs/colamd/metadata.xml @@ -15,4 +15,7 @@ matrix M such that M\'*M has the same pattern as A, and then uses COLAMD to compute a column ordering of M. + + DrTimothyAldenDavis/SuiteSparse +