svn commit: r548444 - in head/devel/ispc: . files
Yuri Victorovich
yuri at FreeBSD.org
Sun Sep 13 02:48:56 UTC 2020
Author: yuri
Date: Sun Sep 13 02:48:55 2020
New Revision: 548444
URL: https://svnweb.freebsd.org/changeset/ports/548444
Log:
devel/ispc: Add the patch to fix amd64 architecture detection in CMakeLists.txt
Added:
head/devel/ispc/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/devel/ispc/Makefile
Modified: head/devel/ispc/Makefile
==============================================================================
--- head/devel/ispc/Makefile Sun Sep 13 01:55:26 2020 (r548443)
+++ head/devel/ispc/Makefile Sun Sep 13 02:48:55 2020 (r548444)
@@ -4,6 +4,7 @@
PORTNAME= ispc
DISTVERSIONPREFIX= v
DISTVERSION= 1.14.1
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri at FreeBSD.org
@@ -33,7 +34,7 @@ PLIST_FILES= bin/ispc \
do-test: # tests are broken with python-3.6
@cd ${WRKSRC} && ISPC_HOME=${WRKSRC} ./run_tests.py
-run-examples:
+run-examples: build
@[ -f ${LOCALBASE}/lib/libtbb.so ] || ! echo "ERROR run-examples target requires devel/tbb package installed"
.for e in simple sort mandelbrot stencil
@cd ${WRKSRC}/examples/${e} && \
Added: head/devel/ispc/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ispc/files/patch-CMakeLists.txt Sun Sep 13 02:48:55 2020 (r548444)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2020-09-13 01:22:29 UTC
++++ CMakeLists.txt
+@@ -45,7 +45,7 @@ set(ISPC_BUILD TRUE)
+ project(${PROJECT_NAME})
+
+ set(X86_HOST FALSE)
+-if (${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "AMD64|86")
++if (${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "amd64|86")
+ set(X86_HOST TRUE)
+ endif()
+
More information about the svn-ports-all
mailing list