svn commit: r538827 - head/cad/netgen

Mark Linimon linimon at FreeBSD.org
Sun Jun 14 20:07:32 UTC 2020


Author: linimon
Date: Sun Jun 14 20:07:31 2020
New Revision: 538827
URL: https://svnweb.freebsd.org/changeset/ports/538827

Log:
  Mark as ONLY_FOR x86: rdtsc() is not available on other archs:
  
    In file included from /wrkdirs/usr/ports/cad/netgen/work/netgen-6.2.2004/libsrc/core/utils.hpp:14:
    In file included from /usr/lib/clang/10.0.1/include/x86intrin.h:13:
    /usr/lib/clang/10.0.1/include/ia32intrin.h:188:10: error: use of undeclared identifier '__builtin_ia32_readeflags_u32'
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/cad/netgen/Makefile

Modified: head/cad/netgen/Makefile
==============================================================================
--- head/cad/netgen/Makefile	Sun Jun 14 19:19:12 2020	(r538826)
+++ head/cad/netgen/Makefile	Sun Jun 14 20:07:31 2020	(r538827)
@@ -12,6 +12,9 @@ COMMENT=	Automatic 3D tetrahedral mesh generator
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	relies on rdtsc() call and the TSC is specific to x86
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 		git:devel/git
 


More information about the svn-ports-all mailing list