View | Details | Raw Unified | Return to bug 209190
Collapse All | Expand All

(-)Makefile (-7 / +2 lines)
Lines 40-46 Link Here
40
AVX_DESC=		Support Advanced Vector Extensions (AVX)
40
AVX_DESC=		Support Advanced Vector Extensions (AVX)
41
AVX2_DESC=		Support Advanced Vector Extensions 2 (AVX2)
41
AVX2_DESC=		Support Advanced Vector Extensions 2 (AVX2)
42
42
43
.if defined(PACKAGE_BUILDING)
43
.if defined(BATCH) || defined(PACKAGE_BUILDING)
44
OPTIONS_DEFAULT=	DYNAMIC_ARCH
44
OPTIONS_DEFAULT=	DYNAMIC_ARCH
45
.endif
45
.endif
46
46
Lines 76-86 Link Here
76
BUILDFLAGS_THREAD+=	USE_OPENMP=1
76
BUILDFLAGS_THREAD+=	USE_OPENMP=1
77
.endif
77
.endif
78
78
79
.if ${PORT_OPTIONS:MQUAD_PRECISION}
80
BROKEN=		QUAD_PRECISION is broken; please disable this option
81
BUILDFLAGS+=	QUAD_PRECISION=1
82
.endif
83
84
.if ! ${PORT_OPTIONS:MAVX}
79
.if ! ${PORT_OPTIONS:MAVX}
85
BUILDFLAGS+=	NO_AVX=1
80
BUILDFLAGS+=	NO_AVX=1
86
.endif
81
.endif
Lines 123-129 Link Here
123
	-e 's+%%FIND%%+${FIND}+' \
118
	-e 's+%%FIND%%+${FIND}+' \
124
	-e 's+%%XARGS%%+${XARGS}+' \
119
	-e 's+%%XARGS%%+${XARGS}+' \
125
	-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
120
	-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
126
	-e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
121
	-e 's+$${CROSS_SUFFIX}+${LOCALBASE}/bin/+' \
127
		${WRKSRC}/Makefile.system
122
		${WRKSRC}/Makefile.system
128
.if ${PORT_OPTIONS:MOPENMP}
123
.if ${PORT_OPTIONS:MOPENMP}
129
	${REINPLACE_CMD} -e "s+OPENBLAS_NUM_THREADS+OMP_NUM_THREADS+g" \
124
	${REINPLACE_CMD} -e "s+OPENBLAS_NUM_THREADS+OMP_NUM_THREADS+g" \

Return to bug 209190