git: af42298098d7 - main - math/geogram: Only for amd64, i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 May 2022 17:30:03 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af42298098d75f8cd51ed6ac3486f59847bac2cb
commit af42298098d75f8cd51ed6ac3486f59847bac2cb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-20 17:29:29 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-20 17:30:01 +0000
math/geogram: Only for amd64, i386
Reported by: fallout
---
math/geogram/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/math/geogram/Makefile b/math/geogram/Makefile
index 28fe8f5ecca6..879a82366c9c 100644
--- a/math/geogram/Makefile
+++ b/math/geogram/Makefile
@@ -9,6 +9,9 @@ COMMENT= Programming library of geometric algorithms
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/devkit/license.dox
+ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS_REASON= use of inline assembly for these architectures only, at least in src/lib/geogram/basic/atomics.h
+
LIB_DEPENDS= libglfw.so:graphics/glfw
USES= cmake gl localbase:ldflags xorg
@@ -21,6 +24,7 @@ GH_ACCOUNT= alicevision
CMAKE_ON= GEOGRAM_USE_SYSTEM_GLFW3 VORPALINE_BUILD_DYNAMIC
CMAKE_ARGS= -DVORPALINE_PLATFORM:STRING=FreeBSD
+
CFLAGS+= -fcommon # https://github.com/alicevision/geogram/issues/16
CXXFLAGS+= -fcommon # https://github.com/alicevision/geogram/issues/16
LDFLAGS+= -pthread