Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 02:48:56 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548444 - in head/devel/ispc: . files
Message-ID:  <202009130248.08D2muMO055053@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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()
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009130248.08D2muMO055053>