[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2024-07-31 Thread Pacho Ramos
commit: 5736e2b02d3a630b0eea21ec7956d41346311007
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 31 07:43:52 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 31 09:23:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5736e2b0

sci-libs/pastix: support py3.12

Closes: https://bugs.gentoo.org/929785
Signed-off-by: Pacho Ramos  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index f8535d36390e..ad6337f2a1d9 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake fortran-2 python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/files/, sci-libs/pastix/

2024-07-31 Thread Pacho Ramos
commit: 1e34d12ef2f2712ea85969bbb6b6908b9a9c8886
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 31 07:44:31 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 31 09:23:07 2024 +
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..
--- 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

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-12-09 Thread Michał Górny
commit: 0ffb1c1b1056baf2fdd7f1b30d8617e28dc3dcf2
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 16:56:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 17:02:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffb1c1b

sci-libs/pastix: Dekeyword ~ia64

Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index d1d1ab2786c1..f8535d36390e 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit cmake fortran-2 python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-12-09 Thread Arthur Zamarin
commit: ef5fc83db02034a5a8f36a1a2b4334f0f475d22f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  9 16:44:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  9 16:44:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef5fc83d

sci-libs/pastix: unkeyword for ~ia64

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index e1b6ae05a5e4..aa9fc3ed7097 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${PV}/src"
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 8d0557f10591..d1d1ab2786c1 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://files.inria.fr/pastix/releases/v$(ver_cut 
1)/${P}.tar.gz"
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-06-03 Thread Arthur Zamarin
commit: 417fbdab399fe363247357c8845051a2d5044021
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  2 16:12:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun  3 11:12:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417fbdab

sci-libs/pastix: destabilize for ~ppc

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 5c42ec738f5d..0295bf5d62d6 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${PV}/src"
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-05-01 Thread Sam James
commit: 1890680e03050d97cdfd527d2a96bcca658455af
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 08:39:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 08:46:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1890680e

sci-libs/pastix: update HOMEPAGE

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 4 ++--
 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 3d6c4757eed5..f6580c310a43 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ inherit fortran-2 toolchain-funcs
 # package id: change every version, see the link on inriaforge
 PID=218
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="https://pastix.gforge.inria.fr";
+HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/";
 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2";
 S="${WORKDIR}/${PN}_${PV}/src"
 

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index ba08c425ba16..2c2be961eacf 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -10,7 +10,7 @@ inherit cmake fortran-2 python-single-r1
 # package id: changes every version, see the link on inriaforge
 PID=38205
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="https://pastix.gforge.inria.fr";
+HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/";
 SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-05-01 Thread Sam James
commit: 43e107e935933b4af1a740b51bb041daea6d9361
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 08:38:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 08:46:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e107e9

sci-libs/pastix: enable py3.11

Closes: https://bugs.gentoo.org/897222
Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 8d2a0e131f0d..ba08c425ba16 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake fortran-2 python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-05-01 Thread Sam James
commit: 2658d014a4e246dbe8f36644b5e23366dfe9fa01
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 08:41:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 08:46:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2658d014

sci-libs/pastix: add gitlab.inria to HOMEPAGE too

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index f6580c310a43..5c42ec738f5d 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -16,7 +16,7 @@ inherit fortran-2 toolchain-funcs
 # package id: change every version, see the link on inriaforge
 PID=218
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/";
+HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/ 
https://gitlab.inria.fr/solverstack/pastix";
 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2";
 S="${WORKDIR}/${PN}_${PV}/src"
 

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index ddf492ada0ca..8d0557f10591 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -10,7 +10,7 @@ inherit cmake fortran-2 python-single-r1
 # package id: changes every version, see the link on inriaforge
 PID=38205
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/";
+HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/ 
https://gitlab.inria.fr/solverstack/pastix";
 SRC_URI="https://files.inria.fr/pastix/releases/v$(ver_cut 1)/${P}.tar.gz"
 
 LICENSE="CeCILL-C"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-05-01 Thread Sam James
commit: 432f08515a375f184eda2e288ef5a8c9d3b7eb83
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 08:40:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 08:46:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432f0851

sci-libs/pastix: update SRC_URI (gforge is gone)

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 2c2be961eacf..ddf492ada0ca 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -11,7 +11,7 @@ inherit cmake fortran-2 python-single-r1
 PID=38205
 DESCRIPTION="Parallel solver for very large sparse linear systems"
 HOMEPAGE="https://solverstack.gitlabpages.inria.fr/pastix/";
-SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
+SRC_URI="https://files.inria.fr/pastix/releases/v$(ver_cut 1)/${P}.tar.gz"
 
 LICENSE="CeCILL-C"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-04-01 Thread Arthur Zamarin
commit: 24b9dd3a57ab606ffabf46b420e532e52f48f96a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  1 16:07:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  1 16:07:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b9dd3a

sci-libs/pastix: Stabilize 6.0.3 arm64, #899448

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 4ade57bd76e3..8d2a0e131f0d 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2023-03-07 Thread Sam James
commit: 8b52efd792cf7d0e1c80ed7ddda6316797b428de
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 11:54:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 11:54:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b52efd7

sci-libs/pastix: Stabilize 6.0.3 amd64, #899448

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 21e5a632d8c4..4ade57bd76e3 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2022-12-04 Thread WANG Xuerui
commit: 02537caa4bc25bc3148b0272fda2d21a79a012d0
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Dec  3 10:13:39 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Dec  4 09:22:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02537caa

sci-libs/pastix: keyword 6.0.3 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 5d9c36f255c1..3a83582cc218 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/, sci-libs/pastix/files/

2022-01-28 Thread David Seifert
commit: 017a3b4500248d207227590d7728f66f4195db9a
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 29 00:00:15 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 29 00:00:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017a3b45

sci-libs/pastix: fix building against OpenMPI 4.1+

Closes: https://bugs.gentoo.org/692742
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch | 139 +++
 sci-libs/pastix/pastix-5.2.3.ebuild  |   5 +-
 2 files changed, 142 insertions(+), 2 deletions(-)

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
new file mode 100644
index ..d86ec5b78416
--- /dev/null
+++ b/sci-libs/pastix/files/pastix-5.2.3-MPI-3.0.patch
@@ -0,0 +1,139 @@
+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_

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-11-19 Thread Arthur Zamarin
commit: 3f4d3c26602999b20aee0c5e70ea2680ca94df3a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 19 17:35:51 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 19 17:35:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4d3c26

sci-libs/pastix: Keyword 6.0.3 arm64, #730636

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 7131f14b3a7e..5d9c36f255c1 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-11-14 Thread Sam James
commit: c10e16ef2fd5b2138f19ee5d3ca7c4fb5389e4bb
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 14 23:50:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 14 23:50:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10e16ef

sci-libs/pastix: Stabilize 5.2.3 ppc, #813567

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 9e3d9459f74b..1c39191c4bfd 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-11-14 Thread Sam James
commit: 402d7c6075e82eb032985047b25074c14d52a3f8
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 14 23:51:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 14 23:51:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402d7c60

sci-libs/pastix: Stabilize 5.2.3 ppc64, #813567

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 1c39191c4bfd..2b9322818a96 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-11-10 Thread Sam James
commit: a71c16f6e616fdbc3e161884f34bc1dc9a9d2971
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 11 03:48:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 11 03:48:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71c16f6

sci-libs/pastix: Keyword 6.0.3 ia64, #807568

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 499b8e68c76..7131f14b3a7 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-10-24 Thread Sam James
commit: 183dafa8a73296c934613128773ea52374cd33a9
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 24 21:14:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 24 21:14:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183dafa8

sci-libs/pastix: Stabilize 5.2.3 arm64, #813567

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 4e2083d49a7..9e3d9459f74 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/files/

2021-10-06 Thread Jakov Smolić
commit: 73e5f335040ab412cb217dd6db339b8b17e3f5c8
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Oct  6 16:06:23 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Oct  6 16:17:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e5f335

sci-libs/pastix: remove unused patches

Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Jakov Smolić  gentoo.org>

 ...pastix-5.2.2.22-isnan-floating-point-cast.patch | 47 --
 .../pastix-5.2.2.22-nosmp-undefined-variable.patch | 15 ---
 2 files changed, 62 deletions(-)

diff --git 
a/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch 
b/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch
deleted file mode 100644
index 8aa7c06e5c9..000
--- a/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Add missing cast to floating-point type:
-* sopalin/src/variable_csc.c: In function ‘vcsc_add_node’:
-* sopalin/src/variable_csc.c:138:13: error: non-floating-point argument in 
call to function ‘__builtin_isnan’
-*  if (isnan(vcsc->values[COL-1][i*dof2 + ii])) {
-See also:
-https://bugs.gentoo.org/show_bug.cgi?id=580422
-
 src/common/src/errors.h
-+++ src/common/src/errors.h
-@@ -140,7 +140,7 @@
-  *   expr - The value to check.
-  */
- #define CHECK_NAN(expr) { \
--ASSERT_DEBUG(!isnan(expr), DBG_SOPALIN_NAN);  \
-+ASSERT_DEBUG(!isnan(((double) expr)), DBG_SOPALIN_NAN);   \
- ASSERT_DEBUG(!isinf(expr), DBG_SOPALIN_INF);  \
-   }
- #else
 src/sopalin/src/variable_csc.c
-+++ src/sopalin/src/variable_csc.c
-@@ -135,7 +135,7 @@
- #endif
- 
-   for (ii = 0; ii < dof2; ii++) {
--if (isnan(vcsc->values[COL-1][i*dof2 + ii])) {
-+if (isnan(((double) vcsc->values[COL-1][i*dof2 + ii]))) {
-   vcsc->values[COL-1][i*dof2 + ii] = VALUE[ii];
- } else {
-   vcsc->values[COL-1][i*dof2 + ii] = 
op(vcsc->values[COL-1][i*dof2 + ii],
-@@ -252,7 +252,7 @@
- vcsc->rows[COL_NODE][i]);
-   }
- #endif
--  if (isnan(vcsc->values[COL_NODE][idx])) {
-+  if (isnan(((double) vcsc->values[COL_NODE][idx]))) {
- vcsc->values[COL_NODE][idx] = VALUE;
-   } else {
- vcsc->values[COL_NODE][idx] = op(vcsc->values[COL_NODE][idx],
-@@ -660,7 +660,7 @@
-   } else {
- INTS iterdof;
- for (iterdof = 0; iterdof < dof2; iterdof++) {
--  if (!isnan(vcsc->values[MYCOL-1][dof2*iter2+iterdof])) {
-+  if (!isnan(((double) 
vcsc->values[MYCOL-1][dof2*iter2+iterdof]))) {
- /* ignore NaN values from VCSC */
- (*values_o)[dof2*iter3+iterdof] = op(
-   (*values_o)[dof2*iter3+iterdof],

diff --git 
a/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch 
b/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch
deleted file mode 100644
index c01b02bb8f7..000
--- a/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 ./sopalin/src/updo.c.orig  2016-02-23 01:42:00.0 +
-+++ ./sopalin/src/updo.c   2016-02-23 01:42:10.0 +
-@@ -940,8 +940,10 @@
- i = TASK_CBLKNUM(i);
- #define END_LOOP(a) } SMP_END_LOOP(a)
- #  else /* SMP_SOPALIN */
--#define START_LOOP for (i=0;i

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-10-04 Thread Jakov Smolić
commit: 556db31675a9add2e29363af9fa903eaaa94c5d5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Oct  4 08:28:07 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Oct  4 09:03:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556db316

sci-libs/pastix: Remove old 5.2.2.22

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/pastix/Manifest  |   1 -
 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 127 --
 2 files changed, 128 deletions(-)

diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
index 54351d75797..67a373f2321 100644
--- a/sci-libs/pastix/Manifest
+++ b/sci-libs/pastix/Manifest
@@ -1,3 +1,2 @@
 DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 
9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69
 SHA512 
5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544
-DIST pastix_5.2.2.22.tar.bz2 2664470 BLAKE2B 
b1fbd12bf2c882aa8fd2c4891a6890df4bdc4488cedca2a7861e676ec5678063927f2e4a4edc47aa7ca0422b283f8f012aa1032af7212fe39f4c55e7f0f7adc4
 SHA512 
15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70
 DIST pastix_5.2.3.tar.bz2 2246903 BLAKE2B 
b13cb31bbc2aeb122e932b2a934598ec975a55f327483bf1383280976584858426c56982f6980b52f32f04e05c6e6c8de1cf35e378e61a7be9dddb705b1c033a
 SHA512 
69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
deleted file mode 100644
index dbb6464862a..000
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit fortran-2 toolchain-funcs
-
-# TODO:
-# testing: emake examples?
-# better doc instalation and building
-# pypastix (separate package?)
-# multilib with eselect?
-# static libs building without pic
-# metis?
-
-# package id: change every version, see the link on inriaforge
-PID=35070
-# commit id: change every version
-#CID=351ef60
-# leave empty if this is not a post release bug fix
-#PPV=bugfix9_
-#MYPN=pastix_release
-#SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
-
-DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="https://pastix.gforge.inria.fr";
-SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
-
-LICENSE="CeCILL-C"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc int64 mpi +smp starpu static-libs"
-
-RDEPEND="
-   sci-libs/scotch:0=[int64?,mpi?]
-   sys-apps/hwloc:0=
-   virtual/blas
-   mpi? ( virtual/mpi )
-   starpu? ( dev-libs/starpu:0= )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${P}-nosmp-undefined-variable.patch"
-   "${FILESDIR}/${P}-isnan-floating-point-cast.patch"
-)
-S="${WORKDIR}/${PN}_${PV}/src"
-
-src_prepare() {
-   default
-   sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
-   -e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-   -e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
-   -e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
-   -e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
-   -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
-   -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
-   -e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
-   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \
-   -e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
-   -e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
-   -e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \
-   -e 's:^#\s*\(SHARED\s*=\).*:\1 1:' \
-   -e 's:^#\s*\(SOEXT\s*=\).*:\1 .so:' \
-   -e '/fPIC/s/^#//g' \
-   -e "s:^#\s*\(SHARED_FLAGS\s*=.*\):\1 ${LDFLAGS}:" \
-   -e "s:pkg-config:$(tc-getPKG_CONFIG):g" \
-   -e "s:^\(BLASLIB\s*=\).*:\1 $($(tc-getPKG_CONFIG) --libs 
blas):" \
-   -e "s:^\s*\(HWLOC_HOME\s*?=\).*:\1 ${EPREFIX}/usr:" \
-   -e "s:-I\$(HWLOC_INC):$($(tc-getPKG_CONFIG) --cflags hwloc):" \
-   -e "s:-L\$(HWLOC_LIB) -lhwloc:$($(tc-getPKG_CONFIG) --libs 
hwloc):" \
-   -e "s:^\s*\(SCOTCH_HOME\s*?=\).*:\1 ${EPREFIX}/usr:" \
-   -e "s:^\s*\(SCOTCH_INC\s*?=.*\):\1/scotch:" \
-   -e "s:^\s*\(SCOTCH_LIB\s*?=.*\)lib:\1$(get_libdir):" \
-   config/LINUX-GNU.in > config.in || die
-   sed -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' -i Makefile || die
-}
-
-src_configure() {
- 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-10-02 Thread Sam James
commit: 49a7a1eeebea75958d12d957cee5231bfbd1d298
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  2 23:16:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  2 23:16:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a7a1ee

sci-libs/pastix: Stabilize 5.2.3 arm, #813567

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 79b393d3665..4e2083d49a7 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-08-10 Thread Marek Szuba
commit: 95d8535d8763352f66758db15eed91cc128afefa
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug 10 13:04:10 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 10 13:04:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d8535d

sci-libs/pastix: unkeyword 6.0.3 for ~ia64

Missing dependency.

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 7131f14b3a7..499b8e68c76 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-24 Thread Matt Turner
commit: 72a5e705e31d571b75705f60feca0b17521adfed
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Jul 24 19:57:53 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Jul 24 20:23:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a5e705

sci-libs/pastix: Drop ~alpha keywords, bug #764023

Signed-off-by: Matt Turner  gentoo.org>

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild   | 2 +-
 sci-libs/pastix/pastix-6.0.3.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 16806da1420..dbb6464862a 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 767d81754b5..79b393d3665 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index a711d69037f..7131f14b3a7 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/${PID}/${P}.tar.gz";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cuda examples +fortran int64 metis mpi +python +scotch starpu test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-16 Thread Marek Szuba
commit: cd473c2c41f1a57c48019ba8a0417ca33ee19184
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 16 13:57:51 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 16 13:59:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd473c2c

sci-libs/pastix: update HOMEPAGE

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 4e380890001..16806da1420 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,7 +23,7 @@ PID=35070
 
#SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
 
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="http://pastix.gforge.inria.fr";
+HOMEPAGE="https://pastix.gforge.inria.fr";
 SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-16 Thread Marek Szuba
commit: 443b2f4d91260b27f78fff96f39727733d005a81
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 16 13:28:04 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 16 13:59:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443b2f4d

sci-libs/pastix-6.0.3: enable py3.10

Using this Python version causes the sandbox to complain once per each
Python test - but interestingly enough the tests are able to recover and
produce expected results anyway. Without sandbox all is quiet.

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index bf965e7b51c..a711d69037f 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_9 )
+PYTHON_COMPAT=( python3_{9,10} )
 
 inherit cmake fortran-2 python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-16 Thread Marek Szuba
commit: 9702c8b79a1eaa26533cf79d946d4a67efdc8b45
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 16 11:34:49 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 16 11:43:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9702c8b7

sci-libs/pastix: older METIS versions always used 64-bit ints

This will be safe to remove once sci-libs/metis-5.1.0-r4 has been
removed from the tree.

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index 4b9cde70ecf..bf965e7b51c 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -34,7 +34,7 @@ RDEPEND="sys-apps/hwloc:0=
virtual/lapack
virtual/lapacke
cuda? ( dev-util/nvidia-cuda-toolkit )
-   metis? ( sci-libs/metis[int64=] )
+   metis? ( sci-libs/metis[int64(+)=] )
mpi? (
virtual/mpi[fortran]
metis? ( sci-libs/parmetis )



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-16 Thread Marek Szuba
commit: aca710d1a596ec448088cb5df154ca3e0d9823d0
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 16 11:30:33 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 16 11:43:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca710d1

sci-libs/pastix: update METIS and Scotch dependencies

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-6.0.3.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-libs/pastix/pastix-6.0.3.ebuild 
b/sci-libs/pastix/pastix-6.0.3.ebuild
index e2dce19cca2..4b9cde70ecf 100644
--- a/sci-libs/pastix/pastix-6.0.3.ebuild
+++ b/sci-libs/pastix/pastix-6.0.3.ebuild
@@ -34,8 +34,11 @@ RDEPEND="sys-apps/hwloc:0=
virtual/lapack
virtual/lapacke
cuda? ( dev-util/nvidia-cuda-toolkit )
-   metis? ( sci-libs/metis[int64?] )
-   mpi? ( virtual/mpi[fortran] )
+   metis? ( sci-libs/metis[int64=] )
+   mpi? (
+   virtual/mpi[fortran]
+   metis? ( sci-libs/parmetis )
+   )
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
@@ -43,7 +46,7 @@ RDEPEND="sys-apps/hwloc:0=
dev-python/scipy[${PYTHON_USEDEP}]
')
)
-   scotch? ( sci-libs/scotch:0=[int64?,mpi?] )
+   scotch? ( >=sci-libs/scotch-6.1.0-r1:0=[int64=,mpi?] )
starpu? ( >=dev-libs/starpu-1.3.0:0= )"
 DEPEND="${RDEPEND}"
 BDEPEND="${PYTHON_DEPS}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-07-14 Thread Marek Szuba
commit: 94326424f66b7e7465fe0dabb180ecbc38332a36
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 13 23:17:24 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 14 16:14:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94326424

sci-libs/pastix: keyword 5.2.3 for ~riscv, update EAPI 6 -> 7

Builds and installs fine, unfortunately had to disable the tests due to
it attempting to write files to / (see Bug #619316).

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 3cd36ee0e4b..767d81754b5 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit fortran-2 toolchain-funcs
 
@@ -16,12 +16,12 @@ inherit fortran-2 toolchain-funcs
 # package id: change every version, see the link on inriaforge
 PID=218
 DESCRIPTION="Parallel solver for very large sparse linear systems"
-HOMEPAGE="http://pastix.gforge.inria.fr";
+HOMEPAGE="https://pastix.gforge.inria.fr";
 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="
@@ -30,8 +30,8 @@ RDEPEND="
virtual/blas
mpi? ( virtual/mpi )
starpu? ( dev-libs/starpu:0= )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${PN}_${PV}/src"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/, profiles/, profiles/base/, sci-libs/pastix/files/

2021-07-14 Thread Marek Szuba
commit: 472f36bcd300da19c6f6953ece0811b63a3134e0
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 14 16:03:10 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 14 16:14:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472f36bc

sci-libs/pastix: add 6.0.3, masked

The ebuild in principle works but there are several features which for
various reasons remain problematic (see the package.use.mask entry), and
with this being a new major version chances are not all revdeps will be
happy with it (hence the overall mask). Testing very much encouraged!

Bug: https://bugs.gentoo.org/751034
Signed-off-by: Marek Szuba  gentoo.org>

 profiles/base/package.use.mask |  20 +
 profiles/package.mask  |   5 +
 sci-libs/pastix/Manifest   |   1 +
 .../pastix-6.0.3-cmake-examples-optional.patch | 170 +
 .../files/pastix-6.0.3-cmake-installdirs.patch | 424 +
 .../files/pastix-6.0.3-cmake-python-optional.patch |  64 
 .../files/pastix-6.0.3-cmake-spm-project.patch |  12 +
 .../pastix-6.0.3-multiple-coeftabMemory.patch  |  11 +
 sci-libs/pastix/metadata.xml   |   8 +-
 sci-libs/pastix/pastix-6.0.3.ebuild|  84 
 10 files changed, 797 insertions(+), 2 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 83513d5d82c..3bcead9090d 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,26 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Marek Szuba  (2021-07-14)
+# Several known issues (possibly with older pastix versions as well but
+# in v6 they result in clear errors):
+# * CUDA support needs testing, may or may not work as it is;
+# * All sci-libs/scotch ebuilds currently in the tree seem to always use
+#   32-bit integer representation, even when built USE=int64. Seeing as
+#   metis ordering has got more complicated issues (see below), just
+#   stick with 32 bits for now;
+# * sci-libs/metis currently always uses whatever integer representation
+#   is native to the target architecture even though upstream allows for
+#   using 32-bit integers on 64-bit arches, this will have to be implemented
+#   so that pastix can pass int64? to it;
+# * With MPI enabled two tests fail (when linked against openmpi, at least)
+#   due to incorrect implementation of either MPI support itself or
+#   said tests - example_drv_facto0_d_reentrant tries to initialise MPI
+#   more than once, test_bvec_gemv_tests calls MPI_Query_thread() after
+#   invocation of MPI_FINALIZE;
+# * dev-libs/starpu needs a version bump.
+>=sci-libs/pastix-6.0.0 cuda int64 metis mpi starpu
+
 # Alfredo Tupone  (2021-06-27)
 # lto does not work on dev-lang/gnat-gpl-2021
 dev-lang/gnat-gpl:10 lto

diff --git a/profiles/package.mask b/profiles/package.mask
index 25612156c60..6a20d46213b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -32,6 +32,11 @@
 
 #--- END OF EXAMPLES ---
 
+# Marek Szuba  (2021-07-14)
+# New, considerably refactored major version with a new build system.
+# Masked for further testing.
+>=sci-libs/pastix-6.0.0
+
 # Marco Scardovi  (2021-07-13)
 # These packages were only ported for netbox. Not useful for anything else
 # No revdeps. Removal in 30 days (Bug #801991)

diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
index ebbea05dd67..54351d75797 100644
--- a/sci-libs/pastix/Manifest
+++ b/sci-libs/pastix/Manifest
@@ -1,2 +1,3 @@
+DIST pastix-6.0.3.tar.gz 1793579 BLAKE2B 
9e0ee71c80b2c93c6762c1a824b2e1262fd1a9f406194fb99eeecbfc172cf82f497d23a541b56c44e5487c3c228cab781f47f683ee04c6cdf426da6126750a69
 SHA512 
5bf8dfa6ed02ee7e236c63e21c80bd45af807b465b21a8c0520b1328e179095f1416f925be9f8b5ec0e8078ca9bc4398bf0d091fdc8e9ea51b9af12a06d9a544
 DIST pastix_5.2.2.22.tar.bz2 2664470 BLAKE2B 
b1fbd12bf2c882aa8fd2c4891a6890df4bdc4488cedca2a7861e676ec5678063927f2e4a4edc47aa7ca0422b283f8f012aa1032af7212fe39f4c55e7f0f7adc4
 SHA512 
15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70
 DIST pastix_5.2.3.tar.bz2 2246903 BLAKE2B 
b13cb31bbc2aeb122e932b2a934598ec975a55f327483bf1383280976584858426c56982f6980b52f32f04e05c6e6c8de1cf35e378e61a7be9dddb705b1c033a
 SHA512 
69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95

diff --git a/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch 
b/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch
new file mode 100644
index 000..5f070116827
--- /dev/null
+++ b/sci-libs/pastix/files/pastix-6.0.3-cmake-examples-optional.patch
@@ -0,0 +1,170 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -94,6 +94,9 @@
+   "Build PaStiX with PaRSEC runtime s

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-06-08 Thread Sam James
commit: 02be1d636140e46f46f5eb75ff4378fa9a927816
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  8 09:35:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  8 09:35:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02be1d63

sci-libs/pastix: Keyword 5.2.3 arm, #760803

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index f304384adf9..3cd36ee0e4b 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-02-18 Thread Sam James
commit: 2aa7051796721edec9121012946f5fc685d4d9d7
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:38:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:38:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa70517

sci-libs/pastix: Stabilize 5.2.3 amd64, #765760

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index e037c0db69a..f304384adf9 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2021-02-18 Thread Sam James
commit: f5a7d0022ba67eccfff30164daf88a3a20c53ae9
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:35:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:35:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a7d002

sci-libs/pastix: Stabilize 5.2.3 x86, #765760

Signed-off-by: Sam James  gentoo.org>

 sci-libs/pastix/pastix-5.2.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 427056e8950..e037c0db69a 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2020-11-13 Thread Thomas Deutschmann
commit: c76a86485fd5a62ef58ab060d7afde31750fe41a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Nov 14 01:47:19 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Nov 14 01:48:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76a8648

sci-libs/pastix: x86 stable (bug #738380)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 58b61bc3195..4e380890001 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2020-02-08 Thread David Seifert
commit: 9566c9c8bad5b9ccf8582d61c0b747e4c8c7c16f
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 16:52:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 16:52:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9566c9c8

sci-libs/pastix: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert  gentoo.org>

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 2b4809a5bde..812c67fafe8 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -56,7 +56,7 @@ src_prepare() {
-e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
-e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
-e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
-   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX%/}/usr:" \
+   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \
-e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
-e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
-e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index de4649c9db4..430541e32cd 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -45,7 +45,7 @@ src_prepare() {
-e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
-e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
-e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
-   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX%/}/usr:" \
+   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \
-e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
-e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
-e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-11-27 Thread Sergei Trofimovich
commit: e957f9aded344c374da662d48b9dc5d01b6e21dc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 27 19:40:19 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 27 19:46:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e957f9ad

sci-libs/pastix: keyworded 5.2.2.22-r1 for sparc, bug #575366 (thanks to Rolf 
Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 42f5eecb2ad..2b4809a5bde 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-11-27 Thread Sergei Trofimovich
commit: e684bd63d6f4e201fda77a425317ae217172c123
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 27 19:42:54 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 27 19:46:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e684bd63

sci-libs/pastix: keyworded 5.2.3 for sparc, bug #575366 (thanks to Rolf Eike 
Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index c307ed61b06..de4649c9db4 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-09-29 Thread Sergei Trofimovich
commit: d5783a472db765341b9956463d7b3425425a143f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 30 02:57:18 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 30 02:58:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5783a47

sci-libs/pastix: keyworded 5.2.3 for ppc/ppc64, bug #575366

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc ppc64"

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index ae1a1ad6a74..42f5eecb2ad 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index f76314f8ec9..c307ed61b06 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-09-02 Thread Michael Palimaka
commit: a57182f3ca62d9f7b29544d8e07776146e8220d3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Aug 31 12:09:59 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 13:18:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57182f3

sci-libs/pastix: drop hppa keywords

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 699e5c02c19..ae1a1ad6a74 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 75703d2868d..f76314f8ec9 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-07-01 Thread Sergei Trofimovich
commit: 4083b9328d56e1cd6703630ca27845a722fe5f5d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul  1 09:48:12 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul  1 09:48:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4083b932

sci-libs/pastix: ia64 keyworded, bug #575366

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/pastix/pastix-5.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 538325c1851..75703d2868d 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-07-01 Thread Sergei Trofimovich
commit: 9942907d88f84a7824ca06fcee5df379c409e2b9
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul  1 09:42:20 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul  1 09:42:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9942907d

sci-libs/pastix: ia64 keyworded, bug #575366

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index dde2416b7e7..699e5c02c19 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-04-29 Thread Jeroen Roovers
commit: 09597586d10dbf81a9fd4c86da1b527d768c497b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 29 16:18:23 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 29 16:20:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09597586

sci-libs/pastix: Mark ~hppa (bug #575366).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index bcf99da3cc0..dde2416b7e7 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index 5c9dfdd3592..538325c1851 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-04-05 Thread Michael Weber
commit: 26b78da919ea37902f1a85ee7269a2be0aae6557
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Apr  5 15:34:34 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Apr  5 15:36:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b78da9

sci-libs/pastix: add ~arm ~ppc64 keyword (bug 575366)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 8ce2b925ea5..bcf99da3cc0 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -28,7 +28,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2017-03-06 Thread Sebastien Fabbro
commit: faf6e33a4ba7dafac9568d115c6d146b812563bb
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Mar  6 18:05:18 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Tue Mar  7 00:17:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf6e33a

sci-libs/pastix: version bump and fix obsolete mpi calls to compilers

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 sci-libs/pastix/Manifest   |  1 +
 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild  |  5 +
 ...stix-5.2.2.22-r1.ebuild => pastix-5.2.3.ebuild} | 23 +-
 3 files changed, 7 insertions(+), 22 deletions(-)

diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
index 2d3e4d75aa7..bac15ddd9fa 100644
--- a/sci-libs/pastix/Manifest
+++ b/sci-libs/pastix/Manifest
@@ -1 +1,2 @@
 DIST pastix_5.2.2.22.tar.bz2 2664470 SHA256 
30f771a666719e6b116f549a6e4da451beabab99c2ecabc0745247c3654acbed SHA512 
15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70
 WHIRLPOOL 
7031f822d3c2f89bd520175a124200303adc2dda56cbae4eb9e011b90d5119c5b96958d648c7e18d034e2845a32ad80385714bfb424260aa62c9f6484a18ce6b
+DIST pastix_5.2.3.tar.bz2 2246903 SHA256 
641978e6b0607e201a409549adc78d5618ec159f44cafc7bddeaca4f4bee1e47 SHA512 
69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95
 WHIRLPOOL 
e03c04dcf4b932d284d90a06d5c22fe608fc6953eee40190103ef3269938aa04df3b83f769efb02c5c67237482b98f88bfd4100880908db71a89ab3aafcff0ec

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index ab592e07379..8ce2b925ea5 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -52,9 +52,6 @@ src_prepare() {
-e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
-e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
-   -e "s:^\(MPCCPROG\s*=\).*:\1 mpicc -cc=$(tc-getCC):" \
-   -e "s:^\(MPCXXPROG\s*=\).*:\1 mpic++ -cxx=$(tc-getCXX):" \
-   -e "s:^\(MCFPROG\s*=\).*:\1 mpif90 -f90=$(tc-getFC):" \
-e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
-e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
-e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
similarity index 81%
copy from sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
copy to sci-libs/pastix/pastix-5.2.3.ebuild
index ab592e07379..5c9dfdd3592 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,21 +14,14 @@ inherit fortran-2 toolchain-funcs
 # metis?
 
 # package id: change every version, see the link on inriaforge
-PID=35070
-# commit id: change every version
-#CID=351ef60
-# leave empty if this is not a post release bug fix
-#PPV=bugfix9_
-#MYPN=pastix_release
-#SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
-
+PID=218
 DESCRIPTION="Parallel solver for very large sparse linear systems"
 HOMEPAGE="http://pastix.gforge.inria.fr";
-SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
+SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="
@@ -40,10 +33,6 @@ RDEPEND="
 DEPEND="${RDEPEND}
virtual/pkgconfig"
 
-PATCHES=(
-   "${FILESDIR}/${P}-nosmp-undefined-variable.patch"
-   "${FILESDIR}/${P}-isnan-floating-point-cast.patch"
-)
 S="${WORKDIR}/${PN}_${PV}/src"
 
 src_prepare() {
@@ -52,9 +41,6 @@ src_prepare() {
-e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
-e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
-   -e "s:^\(MPCCPROG\s*=\).*:\1 mpicc -cc=$(tc-getCC):" \
-   -e "s:^\(MPCXXPROG\s*=\).*:\1 mpic++ -cxx=$(tc-getCXX):" \
-   -e "s:^\(MCFPROG\s*=\).*:\1 mpif90 -f90=$(tc-getFC):" \
-e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
-e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
-e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
@@ -118,6 +104,7 @@ src_compile() {
 
 src_test() {
# both test and tests targets are defined and do not wo

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2016-06-07 Thread Tobias Klausmann
commit: 6d3024403dd26a530e4a70c961b72dadd230f636
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Jun  7 16:45:47 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Jun  7 16:47:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d302440

sci-libs/pastix-5.2.2.22-r1: add ~alpha keyword

Gentoo-Bug: 575366

Package-Manager: portage-2.3.0_rc1

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index ee079b1..5949d96 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -29,7 +29,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/files/, sci-libs/pastix/

2016-05-05 Thread David Seifert
commit: c3c7b1fd5e5c3f2925ad71c73bd5ae12eb2e5956
Author: David Seifert  gentoo  org>
AuthorDate: Thu May  5 19:06:06 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May  5 19:06:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c7b1fd

sci-libs/pastix: Add cast to double for C99 isnan macro

Gentoo-Bug: 580422
* Move patches into PATCHES bash array

Package-Manager: portage-2.2.28

 ...pastix-5.2.2.22-isnan-floating-point-cast.patch | 47 ++
 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild  |  5 ++-
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git 
a/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch 
b/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch
new file mode 100644
index 000..8aa7c06
--- /dev/null
+++ b/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch
@@ -0,0 +1,47 @@
+Add missing cast to floating-point type:
+* sopalin/src/variable_csc.c: In function ‘vcsc_add_node’:
+* sopalin/src/variable_csc.c:138:13: error: non-floating-point argument in 
call to function ‘__builtin_isnan’
+*  if (isnan(vcsc->values[COL-1][i*dof2 + ii])) {
+See also:
+https://bugs.gentoo.org/show_bug.cgi?id=580422
+
+--- src/common/src/errors.h
 src/common/src/errors.h
+@@ -140,7 +140,7 @@
+  *   expr - The value to check.
+  */
+ #define CHECK_NAN(expr) { \
+-ASSERT_DEBUG(!isnan(expr), DBG_SOPALIN_NAN);  \
++ASSERT_DEBUG(!isnan(((double) expr)), DBG_SOPALIN_NAN);   \
+ ASSERT_DEBUG(!isinf(expr), DBG_SOPALIN_INF);  \
+   }
+ #else
+--- src/sopalin/src/variable_csc.c
 src/sopalin/src/variable_csc.c
+@@ -135,7 +135,7 @@
+ #endif
+ 
+   for (ii = 0; ii < dof2; ii++) {
+-if (isnan(vcsc->values[COL-1][i*dof2 + ii])) {
++if (isnan(((double) vcsc->values[COL-1][i*dof2 + ii]))) {
+   vcsc->values[COL-1][i*dof2 + ii] = VALUE[ii];
+ } else {
+   vcsc->values[COL-1][i*dof2 + ii] = 
op(vcsc->values[COL-1][i*dof2 + ii],
+@@ -252,7 +252,7 @@
+ vcsc->rows[COL_NODE][i]);
+   }
+ #endif
+-  if (isnan(vcsc->values[COL_NODE][idx])) {
++  if (isnan(((double) vcsc->values[COL_NODE][idx]))) {
+ vcsc->values[COL_NODE][idx] = VALUE;
+   } else {
+ vcsc->values[COL_NODE][idx] = op(vcsc->values[COL_NODE][idx],
+@@ -660,7 +660,7 @@
+   } else {
+ INTS iterdof;
+ for (iterdof = 0; iterdof < dof2; iterdof++) {
+-  if (!isnan(vcsc->values[MYCOL-1][dof2*iter2+iterdof])) {
++  if (!isnan(((double) 
vcsc->values[MYCOL-1][dof2*iter2+iterdof]))) {
+ /* ignore NaN values from VCSC */
+ (*values_o)[dof2*iter3+iterdof] = op(
+   (*values_o)[dof2*iter3+iterdof],

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index de59c9a..0fff267 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -41,11 +41,14 @@ RDEPEND="
 DEPEND="${RDEPEND}
virtual/pkgconfig"
 
+PATCHES=(
+   "${FILESDIR}/${P}-nosmp-undefined-variable.patch"
+   "${FILESDIR}/${P}-isnan-floating-point-cast.patch"
+)
 S="${WORKDIR}/${PN}_${PV}/src"
 
 src_prepare() {
default
-   epatch "${FILESDIR}"/${P}-nosmp-undefined-variable.patch
sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
-e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/files/, sci-libs/pastix/

2016-02-23 Thread Sebastien Fabbro
commit: f2fb1a2fcf3dba3c60979819a04caa4b91a3eeab
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Feb 23 17:44:05 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Tue Feb 23 17:44:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2fb1a2f

sci-libs/pastix: re-add smp flag with patch and set it as default

Package-Manager: portage-2.2.27

 .../pastix-5.2.2.22-nosmp-undefined-variable.patch | 15 ++
 ...x-5.2.2.22.ebuild => pastix-5.2.2.22-r1.ebuild} | 56 --
 2 files changed, 45 insertions(+), 26 deletions(-)

diff --git 
a/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch 
b/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch
new file mode 100644
index 000..c01b02b
--- /dev/null
+++ b/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch
@@ -0,0 +1,15 @@
+--- ./sopalin/src/updo.c.orig  2016-02-23 01:42:00.0 +
 ./sopalin/src/updo.c   2016-02-23 01:42:10.0 +
+@@ -940,8 +940,10 @@
+ i = TASK_CBLKNUM(i);
+ #define END_LOOP(a) } SMP_END_LOOP(a)
+ #  else /* SMP_SOPALIN */
+-#define START_LOOP for (i=0;ihttps://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
 
 DESCRIPTION="Parallel solver for very large sparse linear systems"
 HOMEPAGE="http://pastix.gforge.inria.fr";
@@ -29,8 +30,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 LICENSE="CeCILL-C"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-#IUSE="doc int64 mpi smp starpu static-libs"
-IUSE="doc int64 mpi starpu static-libs"
+IUSE="doc int64 mpi +smp starpu static-libs"
 
 RDEPEND="
sci-libs/scotch:0=[int64?,mpi?]
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${PN}_${PV}/src"
 
 src_prepare() {
+   default
+   epatch "${FILESDIR}"/${P}-nosmp-undefined-variable.patch
sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
-e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
-e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
@@ -72,42 +74,39 @@ src_prepare() {
-e "s:^\s*\(SCOTCH_INC\s*?=.*\):\1/scotch:" \
-e "s:^\s*\(SCOTCH_LIB\s*?=.*\)lib:\1$(get_libdir):" \
config/LINUX-GNU.in > config.in || die
-   sed -i -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' Makefile || die
-   default
+   sed -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' -i Makefile || die
 }
 
 src_configure() {
if use amd64; then
-   sed -i \
-   -e 's/^\(VERSIONBIT\s*=\).*/\1 _64bit/' config.in || die
+   sed -e 's/^\(VERSIONBIT\s*=\).*/\1 _64bit/' \
+   -i config.in || die
fi
 
if use int64; then
-   sed -i \
-   -e '/VERSIONINT.*_int64/s/#//' \
-   -e '/CCTYPES.*INTSSIZE64/s/#//' config.in || die
+   sed -e '/VERSIONINT.*_int64/s/#//' \
+   -e '/CCTYPES.*INTSSIZE64/s/#//' \
+   -i config.in || die
fi
 
if ! use mpi; then
-   sed -i \
-   -e '/VERSIONMPI.*_nompi/s/#//' \
+   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' \
-   config.in || die
+   -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 smp; then
+   sed -e '/VERSIONSMP.*_nosmp/s/#//' \
+   -e '/CCTYPES.*NOSMP/s/#//' \
+   -i config.in || die
+   fi
 
if use starpu; then
-   sed -i -e '/libstarpu/s/#//g' config.in || die
+   sed -e '/libstarpu/s/#//g' -i config.in || die
fi
 }
 
@@ -115,10 +114,15 @@ src_compile() {
emake all drivers
 }
 
+src_test() {
+   # both test and tests targets are defined and do not work
+   echo
+}
+
 src_install() {
default
-   sed -i -e "s:${D}::g" "${ED}"/usr/bin/pastix-conf || die
+   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
+   cd .. || die
dodoc README.txt doc/refcard/refcard.pdf
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2016-02-23 Thread Justin Lecher
commit: f1afa13d5bac109cfd22d2084bc58c4894c3632b
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb 23 08:53:04 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb 23 09:05:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1afa13d

sci-libs/pastix: Version Bump

* drop SMP support for now

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575392

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/pastix/Manifest   |  2 +-
 ...stix-5.2.2_p9.ebuild => pastix-5.2.2.22.ebuild} | 28 --
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
index 882d924..2d3e4d7 100644
--- a/sci-libs/pastix/Manifest
+++ b/sci-libs/pastix/Manifest
@@ -1 +1 @@
-DIST pastix_release_bugfix9_351ef60.tar.bz2 2526795 SHA256 
58f8cc3aa0fdd9029114b48cc8923ea111919ade94a8c43c9fc5cd016110a90d SHA512 
2cc25f5861fd7cd1235a7deea8fbdd5a56b6b7812aefb74d6cf4804c1e954fa86b616602f6db91b9abb430be9ee3e2fcd8a91f7c06cebf1edd4bac132d04b2a5
 WHIRLPOOL 
5e96b630a1d8e4b34cbcc1ed40538019d24b1fe79231996dbc38c1aedc0d9d62545676c47beb87a617bc1ad891fc70ae388733ffae7f03fd90ef4b6b47430654
+DIST pastix_5.2.2.22.tar.bz2 2664470 SHA256 
30f771a666719e6b116f549a6e4da451beabab99c2ecabc0745247c3654acbed SHA512 
15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70
 WHIRLPOOL 
7031f822d3c2f89bd520175a124200303adc2dda56cbae4eb9e011b90d5119c5b96958d648c7e18d034e2845a32ad80385714bfb424260aa62c9f6484a18ce6b

diff --git a/sci-libs/pastix/pastix-5.2.2_p9.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22.ebuild
similarity index 89%
rename from sci-libs/pastix/pastix-5.2.2_p9.ebuild
rename to sci-libs/pastix/pastix-5.2.2.22.ebuild
index e51bebe..19e3f24 100644
--- a/sci-libs/pastix/pastix-5.2.2_p9.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils fortran-2 toolchain-funcs multilib
 
@@ -15,21 +15,22 @@ inherit eutils fortran-2 toolchain-funcs multilib
 # metis?
 
 # commit id: change every version
-CID=351ef60
+CID=
 # package id: change every version, see the link on inriaforge
-PID=33558
+PID=35070
 # leave empty if this is not a post release bug fix
-PPV=bugfix9_
+PPV=bugfix10_
 MYPN=pastix_release
 
 DESCRIPTION="Parallel solver for very large sparse linear systems"
 HOMEPAGE="http://pastix.gforge.inria.fr";
-SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
+SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2";
 
 LICENSE="CeCILL-C"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc int64 mpi smp starpu static-libs"
+#IUSE="doc int64 mpi smp starpu static-libs"
+IUSE="doc int64 mpi starpu static-libs"
 
 RDEPEND="
sci-libs/scotch:0=[int64?,mpi?]
@@ -40,7 +41,7 @@ RDEPEND="
 DEPEND="${RDEPEND}
virtual/pkgconfig"
 
-S="${WORKDIR}/${MYPN}_${CID}/src"
+S="${WORKDIR}/${PN}_${PV}/src"
 
 src_prepare() {
sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
@@ -72,6 +73,7 @@ src_prepare() {
-e "s:^\s*\(SCOTCH_LIB\s*?=.*\)lib:\1$(get_libdir):" \
config/LINUX-GNU.in > config.in || die
sed -i -e 's/__SO_NAME__,$@/__SO_NAME__,$(notdir $@)/g' Makefile || die
+   default
 }
 
 src_configure() {
@@ -97,12 +99,12 @@ src_configure() {
config.in || die
fi
 
-   if ! use smp; then
-   sed \
-   -e '/VERSIONSMP.*_nosmp/s/#//' \
-   -e '/CCTYPES.*NOSMP/s/#//' \
-   -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 -i -e '/libstarpu/s/#//g' config.in || die



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/

2016-02-22 Thread Justin Lecher
commit: 00087329d3e4694c25f0610a3e453ffebfb23728
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Feb 22 07:05:28 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Feb 22 09:33:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00087329

sci-libs/pastix: Import from science overlay

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/pastix/Manifest   |   1 +
 sci-libs/pastix/metadata.xml   |  23 +++
 sci-libs/pastix/pastix-5.2.2_p9.ebuild | 122 +
 3 files changed, 146 insertions(+)

diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
new file mode 100644
index 000..882d924
--- /dev/null
+++ b/sci-libs/pastix/Manifest
@@ -0,0 +1 @@
+DIST pastix_release_bugfix9_351ef60.tar.bz2 2526795 SHA256 
58f8cc3aa0fdd9029114b48cc8923ea111919ade94a8c43c9fc5cd016110a90d SHA512 
2cc25f5861fd7cd1235a7deea8fbdd5a56b6b7812aefb74d6cf4804c1e954fa86b616602f6db91b9abb430be9ee3e2fcd8a91f7c06cebf1edd4bac132d04b2a5
 WHIRLPOOL 
5e96b630a1d8e4b34cbcc1ed40538019d24b1fe79231996dbc38c1aedc0d9d62545676c47beb87a617bc1ad891fc70ae388733ffae7f03fd90ef4b6b47430654

diff --git a/sci-libs/pastix/metadata.xml b/sci-libs/pastix/metadata.xml
new file mode 100644
index 000..387eff2
--- /dev/null
+++ b/sci-libs/pastix/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+s...@gentoo.org
+Gentoo Science Project
+  
+  
+  PaStiX (Parallel Sparse matriX package) is a scientific library that
+  provides a high performance parallel solver for very large sparse
+  linear systems based on direct methods.  Numerical algorithms are
+  implemented in single or double precision (real or complex) using
+  LLt, LDLt and LU with static pivoting (for non symmetric matrices
+  having a symmetric pattern).  This solver provides also an adaptive
+  blockwise iLU(k) factorization that can be used as a parallel
+  preconditioner using approximated supernodes to build a coarser
+  block structure of the incomplete factors.
+
+  
+Build the 64 bits integer library
+Build and link with dev-libs/starpu
+  
+

diff --git a/sci-libs/pastix/pastix-5.2.2_p9.ebuild 
b/sci-libs/pastix/pastix-5.2.2_p9.ebuild
new file mode 100644
index 000..e51bebe
--- /dev/null
+++ b/sci-libs/pastix/pastix-5.2.2_p9.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fortran-2 toolchain-funcs multilib
+
+# TODO:
+# testing: emake examples?
+# better doc instalation and building
+# pypastix (separate package?)
+# multilib with eselect?
+# static libs building without pic
+# metis?
+
+# commit id: change every version
+CID=351ef60
+# package id: change every version, see the link on inriaforge
+PID=33558
+# leave empty if this is not a post release bug fix
+PPV=bugfix9_
+MYPN=pastix_release
+
+DESCRIPTION="Parallel solver for very large sparse linear systems"
+HOMEPAGE="http://pastix.gforge.inria.fr";
+SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2";
+
+LICENSE="CeCILL-C"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc int64 mpi smp starpu static-libs"
+
+RDEPEND="
+   sci-libs/scotch:0=[int64?,mpi?]
+   sys-apps/hwloc:0=
+   virtual/blas
+   mpi? ( virtual/mpi )
+   starpu? ( dev-libs/starpu:0= )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${MYPN}_${CID}/src"
+
+src_prepare() {
+   sed -e 's/^\(HOSTARCH\s*=\).*/\1 ${HOST}/' \
+   -e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
+   -e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
+   -e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
+   -e "s:^\(MPCCPROG\s*=\).*:\1 mpicc -cc=$(tc-getCC):" \
+   -e "s:^\(MPCXXPROG\s*=\).*:\1 mpic++ -cxx=$(tc-getCXX):" \
+   -e "s:^\(MCFPROG\s*=\).*:\1 mpif90 -f90=$(tc-getFC):" \
+   -e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
+   -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
+   -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
+   -e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
+   -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX%/}/usr:" \
+   -e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
+   -e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
+   -e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \
+   -e 's:^#\s*\(SHARED\s*=\).*:\1 1:' \
+   -e 's:^#\s*\(SOEXT\s*=\).*:\1 .so:' \
+   -e '/fPIC/s/^#//g' \
+   -e "s:^#\s*\(SHARED_FLAGS\s*=.*\):\1 ${LDFLAGS}:" \
+   -e "s:pkg-config:$(tc-getPKG_CONFIG):g" \
+   -e "s:^\(BLASLIB\s*=\).*:\1 $($(tc-getPKG_CONFIG) --libs 
blas):" \
+   -e "s:^\s*\(HWLOC_HOME\s*?=\).*:\1 ${EPREFIX}/usr:" \
+   -e "s:-I\$(HWLOC