|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= superlu |
4 |
PORTNAME= superlu |
| 5 |
PORTVERSION= 5.2.1 |
5 |
PORTVERSION= 5.2.1 |
| 6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
| 7 |
CATEGORIES= math |
7 |
CATEGORIES= math |
| 8 |
MASTER_SITES= http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ \ |
8 |
MASTER_SITES= http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ \ |
| 9 |
http://crd-legacy.lbl.gov/~xiaoye/:doc |
9 |
http://crd-legacy.lbl.gov/~xiaoye/:doc |
|
Lines 16-22
Link Here
|
| 16 |
LICENSE= BSD3CLAUSE |
16 |
LICENSE= BSD3CLAUSE |
| 17 |
LICENSE_FILE= ${WRKSRC}/License.txt |
17 |
LICENSE_FILE= ${WRKSRC}/License.txt |
| 18 |
|
18 |
|
| 19 |
USES= cmake:outsource fortran |
|
|
| 20 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
| 21 |
|
20 |
|
| 22 |
WRKSRC= ${WRKDIR}/SuperLU_${PORTVERSION} |
21 |
WRKSRC= ${WRKDIR}/SuperLU_${PORTVERSION} |
|
Lines 27-37
Link Here
|
| 27 |
|
26 |
|
| 28 |
PORTDOCS= * |
27 |
PORTDOCS= * |
| 29 |
|
28 |
|
| 30 |
OPTIONS_DEFINE= DOCS |
29 |
OPTIONS_DEFINE= DOCS FLANG |
| 31 |
OPTIONS_SINGLE= BLAS |
30 |
OPTIONS_SINGLE= BLAS |
| 32 |
OPTIONS_SINGLE_BLAS= ATLAS GOTOBLAS OPENBLAS REFERENCE |
31 |
OPTIONS_SINGLE_BLAS= ATLAS GOTOBLAS OPENBLAS REFERENCE |
| 33 |
OPTIONS_DEFAULT= REFERENCE |
32 |
OPTIONS_DEFAULT= REFERENCE |
| 34 |
|
33 |
|
|
|
34 |
NO_FLANG_ARCHS= i386 aarch64 armv6 armv7 |
| 35 |
.for arch in ${NO_FLANG_ARCHS} |
| 36 |
OPTIONS_EXCLUDE_${arch}=FLANG |
| 37 |
.endfor |
| 38 |
|
| 35 |
ATLAS_USES= blaslapack:atlas |
39 |
ATLAS_USES= blaslapack:atlas |
| 36 |
ATLAS_CMAKE_ARGS= -DBLA_VENDOR:STRING="ATLAS" |
40 |
ATLAS_CMAKE_ARGS= -DBLA_VENDOR:STRING="ATLAS" |
| 37 |
DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
41 |
DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
|
Lines 46-52
Link Here
|
| 46 |
REFERENCE_DESC= Reference blas implementation |
50 |
REFERENCE_DESC= Reference blas implementation |
| 47 |
REFERENCE_USES= blaslapack |
51 |
REFERENCE_USES= blaslapack |
| 48 |
REFERENCE_CMAKE_ARGS= -DBLA_VENDOR:STRING="Generic" |
52 |
REFERENCE_CMAKE_ARGS= -DBLA_VENDOR:STRING="Generic" |
| 49 |
|
53 |
FLANG_DESC= Use experimental flang instead of default Fortran compiler |
|
|
54 |
FLANG_USES= cmake:outsource,noninja fortran:flang |
| 55 |
FLANG_USES_OFF= cmake:outsource fortran |
| 56 |
FLANG_PREVENTS= ATLAS GOTOBLAS OPENBLAS |
| 50 |
SLU_DOCS= SLU_general.ps.gz simax-29176.pdf |
57 |
SLU_DOCS= SLU_general.ps.gz simax-29176.pdf |
| 51 |
|
58 |
|
| 52 |
post-patch: |
59 |
post-patch: |