aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-01-13 22:23:36 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-01-13 22:26:25 +0000
commit427b549432cf3606803c0802d53f9d32abb4d713 (patch)
tree98418a6ba54693359660e0915f9744017c15ffa9
parent3b3d94989977c6f525d86c135082cde2ed98efd8 (diff)
downloadports-427b549432cf3606803c0802d53f9d32abb4d713.tar.gz
ports-427b549432cf3606803c0802d53f9d32abb4d713.zip
devel/ispc: Revert the previous LLVM version change to 13 back to 11
Various systems have llvm-13 crashing with assertions on ISPC. PR: 261185 Reported by: ddrinnon@cdor.net, fallout
-rw-r--r--devel/ispc/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/devel/ispc/Makefile b/devel/ispc/Makefile
index 9008d20dd145..8ed00522aaf9 100644
--- a/devel/ispc/Makefile
+++ b/devel/ispc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ispc
DISTVERSIONPREFIX= v
DISTVERSION= 1.16.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -54,12 +54,14 @@ GENX_PLIST_FILES= include/ispcrt/ispcrt.h \
lib/libispcrt.so.${PORTVERSION} \
lib/libispcrt_static.a
-.include <bsd.port.options.mk>
-.if ${LLVM_DEFAULT:M[7891]0} || ${LLVM_DEFAULT:M1[12]} # max(LLVM_DEFAULT,13)
-LLVM_VERSION= 13
-.else
-LLVM_VERSION= ${LLVM_DEFAULT}
-.endif
+#.include <bsd.port.options.mk>
+#.if ${LLVM_DEFAULT:M[7891]0} || ${LLVM_DEFAULT:M1[12]} # max(LLVM_DEFAULT,13)
+#LLVM_VERSION= 13
+#.else
+#LLVM_VERSION= ${LLVM_DEFAULT}
+#.endif
+
+LLVM_VERSION= 11 # 13 fails on some systems with: Assertion failed: (PointeeType && "Must specify element type"), function Create
do-test: # some tests fail: https://github.com/ispc/ispc/issues/1868
@cd ${WRKSRC} && ISPC_HOME=${BUILD_WRKSRC}/bin ./run_tests.py