View | Details | Raw Unified | Return to bug 228007 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +15 lines)
Lines 18-34 Link Here
18
LICENSE=	BSD3CLAUSE
18
LICENSE=	BSD3CLAUSE
19
LICENSE_FILE=	${WRKSRC}/LICENSE
19
LICENSE_FILE=	${WRKSRC}/LICENSE
20
20
21
USES=		fortran
21
OPTIONS_DEFINE=         PROFILE SHARED STATIC FLANG
22
OPTIONS_DEFAULT=        SHARED STATIC
23
PROFILE_DESC=           Build profiling libraries
24
SHARED_DESC=            Build shared libraries and PIC archives
25
STATIC_DESC=            Build (non-PIC) archives
26
FLANG_DESC=             Use experimental flang instead of default Fortran compiler
27
FLANG_USES=             fortran:flang
28
FLANG_USES_OFF=         fortran
22
29
23
OPTIONS_DEFINE=	PROFILE SHARED STATIC
30
MAKE_ENV=               BLASLIB="${BLASLIB}"
24
OPTIONS_DEFAULT=	SHARED STATIC
31
PLIST_SUB=              SVERSION="${SVERSION}"
25
PROFILE_DESC=	Build profiling libraries
26
SHARED_DESC=	Build shared libraries and PIC archives
27
STATIC_DESC=	Build (non-PIC) archives
28
32
29
MAKE_ENV=	BLASLIB="${BLASLIB}"
30
PLIST_SUB=	SVERSION="${SVERSION}"
31
32
WRKSRC=			${WRKDIR}/lapack-${PORTVERSION}
33
WRKSRC=			${WRKDIR}/lapack-${PORTVERSION}
33
WRKSRC_PROFILE=		${WRKSRC}_PROFILE
34
WRKSRC_PROFILE=		${WRKSRC}_PROFILE
34
WRKSRC_SHARED=		${WRKSRC}_SHARED
35
WRKSRC_SHARED=		${WRKSRC}_SHARED
Lines 36-41 Link Here
36
37
37
.include <bsd.port.options.mk>
38
.include <bsd.port.options.mk>
38
39
40
.if ${PORT_OPTIONS:MFLANG}
41
EXTRA_PATCHES+=         ${PATCHDIR}/flang-patch-make.inc.example
42
.endif
43
44
39
.if defined(BLAS_SLAVEPORT)
45
.if defined(BLAS_SLAVEPORT)
40
ALL_TARGET=		blaslib
46
ALL_TARGET=		blaslib
41
BLASLIB=		../../libblas.a
47
BLASLIB=		../../libblas.a
(-)files/flang-patch-make.inc.example (+17 lines)
Line 0 Link Here
1
--- make.inc.example.orig       2018-05-05 11:59:27.891022000 -0700
2
+++ make.inc.example    2018-05-05 11:59:38.966638000 -0700
3
@@ -22,11 +22,11 @@
4
 # Timer for the SECOND and DSECND routines
5
 #
6
 # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
7
-#TIMER    = EXT_ETIME
8
+TIMER    = EXT_ETIME
9
 # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
10
 # TIMER    = EXT_ETIME_
11
 # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
12
-TIMER    = INT_ETIME
13
+#TIMER    = INT_ETIME
14
 # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
15
 # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
16
 # TIMER    = INT_CPU_TIME
17

Return to bug 228007