diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2020-06-14 20:07:31 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2020-06-14 20:07:31 +0000 |
commit | 711279bdb98cf522f699a78debed8b0c973d61a4 (patch) | |
tree | 9aec46918fa03638c843635695b1313523e98ce4 /cad/netgen | |
parent | 6862072cd77a890954bfe900a12402ae8a3331fd (diff) | |
download | ports-711279bdb98cf522f699a78debed8b0c973d61a4.tar.gz ports-711279bdb98cf522f699a78debed8b0c973d61a4.zip |
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)
Notes
Notes:
svn path=/head/; revision=538827
Diffstat (limited to 'cad/netgen')
-rw-r--r-- | cad/netgen/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile index dae46f4502db..719b6f952e6c 100644 --- a/cad/netgen/Makefile +++ b/cad/netgen/Makefile @@ -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 |