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

(-)b/math/blis/Makefile (+4 lines)
Lines 61-66 PLIST_SUB+= ARCH="generic" Link Here
61
61
62
.include <bsd.port.pre.mk>
62
.include <bsd.port.pre.mk>
63
63
64
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 190
65
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-config_knl_make__defs.mk
66
.endif
67
64
.if ${CHOSEN_COMPILER_TYPE} == gcc
68
.if ${CHOSEN_COMPILER_TYPE} == gcc
65
USE_GCC=	yes
69
USE_GCC=	yes
66
.endif
70
.endif
(-)b/math/blis/files/extra-patch-config_knl_make__defs.mk (+20 lines)
Added Link Here
1
--- config/knl/make_defs.mk.orig	2022-04-01 13:12:06 UTC
2
+++ config/knl/make_defs.mk
3
@@ -81,7 +81,7 @@ ifeq ($(CC_VENDOR),clang)
4
 CKVECFLAGS     := -xMIC-AVX512
5
 else
6
 ifeq ($(CC_VENDOR),clang)
7
-CKVECFLAGS     := -mavx512f -mavx512pf -mfpmath=sse -march=knl
8
+CKVECFLAGS     := -mavx512f -mfpmath=sse -march=knl
9
 else
10
 $(error gcc, icc, or clang is required for this configuration.)
11
 endif
12
@@ -105,7 +105,7 @@ ifeq ($(CC_VENDOR),clang)
13
 CRVECFLAGS     := -xMIC-AVX512
14
 else
15
 ifeq ($(CC_VENDOR),clang)
16
-CRVECFLAGS     := -march=knl -mno-avx512f -mno-avx512pf -mno-avx512er -mno-avx512cd -funsafe-math-optimizations -ffp-contract=fast
17
+CRVECFLAGS     := -march=knl -mno-avx512f -mno-avx512cd -funsafe-math-optimizations -ffp-contract=fast
18
 else
19
 $(error gcc, icc, or clang is required for this configuration.)
20
 endif

Return to bug 280783