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 E5369159C9B for ; Wed, 31 Jul 2024 09:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A71E2A98; Wed, 31 Jul 2024 09:24:25 +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 53996E2A98 for ; Wed, 31 Jul 2024 09:24:25 +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 4544234300E for ; Wed, 31 Jul 2024 09:24:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A916A1E85 for ; Wed, 31 Jul 2024 09:24:22 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1722417787.1e34d12ef2f2712ea85969bbb6b6908b9a9c8886.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/files/, sci-libs/pastix/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/pastix/Manifest sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch sci-libs/pastix/pastix-5.2.3.ebuild X-VCS-Directories: sci-libs/pastix/files/ sci-libs/pastix/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 1e34d12ef2f2712ea85969bbb6b6908b9a9c8886 X-VCS-Branch: master Date: Wed, 31 Jul 2024 09:24:22 +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: 7b5ca781-93ed-405f-9c3a-70511312b22d X-Archives-Hash: 1f50334937627d312ba757cf6baa347e commit: 1e34d12ef2f2712ea85969bbb6b6908b9a9c8886 Author: Pacho Ramos gentoo org> AuthorDate: Wed Jul 31 07:44:31 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 31 09:23:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e34d12e sci-libs/pastix: drop 5.2.3 Signed-off-by: Pacho Ramos gentoo.org> sci-libs/pastix/Manifest | 1 - sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch | 139 ----------------------- sci-libs/pastix/pastix-5.2.3.ebuild | 118 ------------------- 3 files changed, 258 deletions(-) diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest index 67a373f23211..2d332d8ba962 100644 --- a/sci-libs/pastix/Manifest +++ b/sci-libs/pastix/Manifest @@ -1,2 +1 @@ DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69 SHA512 5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544 -DIST pastix_5.2.3.tar.bz2 2246903 BLAKE2B b13cb31bbc2aeb122e932b2a934598ec975a55f327483bf1383280976584858426c56982f6980b52f32f04e05c6e6c8de1cf35e378e61a7be9dddb705b1c033a SHA512 69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95 diff --git a/sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch b/sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch deleted file mode 100644 index d86ec5b78416..000000000000 --- a/sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch +++ /dev/null @@ -1,139 +0,0 @@ -https://bugs.gentoo.org/692742 -rename MPI 1.0 to 3.0+ functions: -- MPI_Address -> MPI_Get_address -- MPI_Type_struct -> MPI_Type_create_struct - ---- a/common/src/nompi.h -+++ b/common/src/nompi.h -@@ -127,9 +127,9 @@ - #define MPI_Start(request) - #define MPI_Startall(count, array_of_requests) - #define MPI_Type_contiguous(count, oldtype, newtype) --#define MPI_Type_struct(count, array_of_blocklengths, array_of_displacement, \ -+#define MPI_Type_create_struct(count, array_of_blocklengths, array_of_displacement, \ - oldtype, newtype) --#define MPI_Address(location, newtype) -+#define MPI_Get_address(location, newtype) - #define MPI_Type_commit(datatype) - #define MPI_Type_free(datatype) - #define MPI_Request_free(request) ---- a/sopalin/src/sopalin_sendrecv.c -+++ b/sopalin/src/sopalin_sendrecv.c -@@ -1300,10 +1300,10 @@ - thread_data->gtaboffs[packnbr] = FANIN_INFOTAB(t); - thread_data->gtaboffs[packnbr+1] = FANIN_COEFTAB(t); - #else /* NO_MPI_TYPE */ -- CALL_MPI MPI_Address(FANIN_INFOTAB(t),&(thread_data->gtaboffs[packnbr])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Address(FANIN_COEFTAB(t),&(thread_data->gtaboffs[packnbr+1])); -- TEST_MPI("MPI_Address"); -+ CALL_MPI MPI_Get_address(FANIN_INFOTAB(t),&(thread_data->gtaboffs[packnbr])); -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Get_address(FANIN_COEFTAB(t),&(thread_data->gtaboffs[packnbr+1])); -+ TEST_MPI("MPI_Get_address"); - #endif /* NO_MPI_TYPE */ - - /* Add other contribution for the same task */ -@@ -1410,12 +1410,12 @@ - thread_data->gtaboffs[packnbr] = FANIN_INFOTAB(t); - thread_data->gtaboffs[packnbr+1] = FANIN_COEFTAB(t); - #else /* NO_MPI_TYPE */ -- CALL_MPI MPI_Address(FANIN_INFOTAB(t), -+ CALL_MPI MPI_Get_address(FANIN_INFOTAB(t), - &(thread_data->gtaboffs[packnbr])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Address(FANIN_COEFTAB(t), -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Get_address(FANIN_COEFTAB(t), - &(thread_data->gtaboffs[packnbr+1])); -- TEST_MPI("MPI_Address"); -+ TEST_MPI("MPI_Get_address"); - #endif /* NO_MPI_TYPE */ - - if (queueSize(sendqueue)) -@@ -1508,10 +1508,10 @@ - TEST_MPI("MPI_Rsend"); - # endif - #else /* NO_MPI_TYPE */ -- CALL_MPI MPI_Type_struct(2*(packnbr/2+1), thread_data->gtabsize, -+ CALL_MPI MPI_Type_create_struct(2*(packnbr/2+1), thread_data->gtabsize, - thread_data->gtaboffs, - thread_data->gtabtype, &newtype); -- TEST_MPI("MPI_Type_struct"); -+ TEST_MPI("MPI_Type_create_struct"); - CALL_MPI MPI_Type_commit(&newtype); - TEST_MPI("MPI_Type_commit"); - # ifdef TEST_ISEND -@@ -1602,15 +1602,15 @@ - (long)me, (unsigned int)(intptr_t)BTAG_COEFTAB(t)); - - #ifndef NO_MPI_TYPE -- CALL_MPI MPI_Address(BTAG_BTAGTAB(t),&(taboffs[0])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Address(BTAG_BCOFTAB(t),&(taboffs[1])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Address((void *)BTAG_COEFTAB(t),&(taboffs[2])); -- TEST_MPI("MPI_Address"); -+ CALL_MPI MPI_Get_address(BTAG_BTAGTAB(t),&(taboffs[0])); -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Get_address(BTAG_BCOFTAB(t),&(taboffs[1])); -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Get_address((void *)BTAG_COEFTAB(t),&(taboffs[2])); -+ TEST_MPI("MPI_Get_address"); - -- CALL_MPI MPI_Type_struct(3,tabsize,taboffs,tabtype,&newtype); -- TEST_MPI("MPI_Type_struct"); -+ CALL_MPI MPI_Type_create_struct(3,tabsize,taboffs,tabtype,&newtype); -+ TEST_MPI("MPI_Type_create_struct"); - - CALL_MPI MPI_Type_commit(&newtype); - TEST_MPI("MPI_Type_commit"); ---- a/sopalin/src/updo_sendrecv.c -+++ b/sopalin/src/updo_sendrecv.c -@@ -347,12 +347,12 @@ - tabtype[0] = COMM_INT; - tabtype[1] = COMM_FLOAT; - -- CALL_MPI MPI_Address(infotab,&(taboffs[0])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Address(FANIN_COEFTAB(SOLV_FTGTIND(j)),&(taboffs[1])); -- TEST_MPI("MPI_Address"); -- CALL_MPI MPI_Type_struct(2,tabsize,taboffs,tabtype,&newtype); -- TEST_MPI("MPI_Type_struct"); -+ CALL_MPI MPI_Get_address(infotab,&(taboffs[0])); -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Get_address(FANIN_COEFTAB(SOLV_FTGTIND(j)),&(taboffs[1])); -+ TEST_MPI("MPI_Get_address"); -+ CALL_MPI MPI_Type_create_struct(2,tabsize,taboffs,tabtype,&newtype); -+ TEST_MPI("MPI_Type_create_struct"); - CALL_MPI MPI_Type_commit(&newtype); - TEST_MPI("MPI_Type_commit"); - # endif /* NO_MPI_TYPE */ -@@ -974,8 +974,8 @@ - - tabtype[0] = COMM_INT; - -- CALL_MPI MPI_Address(infotab,&(taboffs[0])); -- TEST_MPI("MPI_Address"); -+ CALL_MPI MPI_Get_address(infotab,&(taboffs[0])); -+ TEST_MPI("MPI_Get_address"); - - /* If schur, send empty data */ - if ((sopalin_data->sopar->iparm[IPARM_SCHUR] == API_YES && -@@ -988,12 +988,12 @@ - for (iter=1; iter config.in || die - sed -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' -i Makefile || die -} - -src_configure() { - if use amd64; then - sed -e 's/^\(VERSIONBIT\s*=\).*/\1 _64bit/' \ - -i config.in || die - fi - - if use int64; then - sed -e '/VERSIONINT.*_int64/s/#//' \ - -e '/CCTYPES.*INTSSIZE64/s/#//' \ - -i config.in || die - fi - - if ! use mpi; then - sed -e '/VERSIONMPI.*_nompi/s/#//' \ - -e '/CCTYPES.*NOMPI/s/#//' \ - -e '/MPCCPROG\s*= $(CCPROG)/s/#//' \ - -e '/MCFPROG\s*= $(CFPROG)/s/#//' \ - -e 's/-DDISTRIBUTED//' \ - -e 's/-lptscotch/-lscotch/g' \ - -i config.in || die - fi - - if ! use smp; then - sed -e '/VERSIONSMP.*_nosmp/s/#//' \ - -e '/CCTYPES.*NOSMP/s/#//' \ - -i config.in || die - fi - - if use starpu; then - sed -e '/libstarpu/s/#//g' -i config.in || die - fi -} - -src_compile() { - emake all drivers -} - -src_test() { - # both test and tests targets are defined and do not work - emake examples - echo -} - -src_install() { - default - sed -e "s:${D}::g" -i "${ED}"/usr/bin/pastix-conf || die - # quick and dirty (static libs should really be built without pic) - cd .. || die - dodoc README.txt doc/refcard/refcard.pdf -}