blob: d7ed0758bb18af2e9e38daab9eff1f269c0b1d3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
PORTNAME= pastix
PORTVERSION= 6.2.1
DISTVERSIONPREFIX= v
CATEGORIES= science
MAINTAINER= thierry@FreeBSD.org
COMMENT= PaStiX: a sparse direct solver
WWW= https://solverstack.gitlabpages.inria.fr/pastix/
LICENSE= LGPL3
BUILD_DEPENDS= bash:shells/bash \
${PYNUMPY}
LIB_DEPENDS= libcblas.so:math/cblas \
libmetis.so:math/metis \
libscotch.so:cad/scotch \
liblapacke.so:math/lapacke \
libhwloc.so:devel/hwloc2
RUN_DEPENDS= bash:shells/bash \
${PYNUMPY}
USES= cmake blaslapack:openblas fortran pkgconfig python
USE_GITLAB= yes
GL_SITE= https://gitlab.inria.fr/
GL_ACCOUNT= solverstack
GL_PROJECT= pastix spm:s morse_cmake:m
GL_COMMIT= 071d5ae165c744ec3e62f5bdd246b12f8fa90662 \
ebbd88ff3808c50e04119d0b42faf055c6eada2a:s \
31cd2bbb0d76f2b9fd83011d8f079d97540b0ba8:m
GL_SUBDIR= spm:s cmake_modules/morse_cmake:m
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DPASTIX_ORDERING_METIS:BOOL=ON
USE_LDCONFIG= yes
TEST_TARGET= test
OPTIONS_DEFINE= EXAMPLES
EX2FIX= example spm/examples spm/wrappers/fortran90 spm/wrappers/python \
wrappers/fortran90 wrappers/python example/old
pre-configure:
.for ex in ${EX2FIX}
${REINPLACE_CMD} -e 's|DESTINATION examples|DESTINATION ${EXAMPLESDIR}/${ex:C/examples//:C/example//}|' \
${WRKSRC}/${ex}/CMakeLists.txt
.endfor
.include <bsd.port.mk>
|