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

Collapse All | Expand All

(-)Makefile (-9 / +16 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
22
OPTIONS_DEFINE_amd64=   FLANG
23
OPTIONS_DEFAULT=        SHARED STATIC
24
PROFILE_DESC=           Build profiling libraries
25
SHARED_DESC=            Build shared libraries and PIC archives
26
STATIC_DESC=            Build (non-PIC) archives
27
FLANG_DESC=             Use experimental flang instead of default Fortran compiler
28
FLANG_USES=             fortran:flang
29
FLANG_USES_OFF=         fortran
22
30
23
OPTIONS_DEFINE=	PROFILE SHARED STATIC
31
MAKE_ENV=               BLASLIB="${BLASLIB}"
24
OPTIONS_DEFAULT=	SHARED STATIC
32
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
33
29
MAKE_ENV=	BLASLIB="${BLASLIB}"
30
PLIST_SUB=	SVERSION="${SVERSION}"
31
32
WRKSRC=			${WRKDIR}/lapack-${PORTVERSION}
34
WRKSRC=			${WRKDIR}/lapack-${PORTVERSION}
33
WRKSRC_PROFILE=		${WRKSRC}_PROFILE
35
WRKSRC_PROFILE=		${WRKSRC}_PROFILE
34
WRKSRC_SHARED=		${WRKSRC}_SHARED
36
WRKSRC_SHARED=		${WRKSRC}_SHARED
Lines 36-41 Link Here
36
38
37
.include <bsd.port.options.mk>
39
.include <bsd.port.options.mk>
38
40
41
.if ${PORT_OPTIONS:MFLANG}
42
EXTRA_PATCHES+=         ${PATCHDIR}/flang-patch-make.inc.example
43
.endif
44
45
39
.if defined(BLAS_SLAVEPORT)
46
.if defined(BLAS_SLAVEPORT)
40
ALL_TARGET=		blaslib
47
ALL_TARGET=		blaslib
41
BLASLIB=		../../libblas.a
48
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