blob: 72b83c6681a29b9f0a9ac1e0dae7522f4c7ae404 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= gismo
DISTVERSIONPREFIX= v
DISTVERSION= 25.07.0
CATEGORIES= math # geometry
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for isogeometric analysis (IGA)
WWW= https://gismo.github.io/ \
https://github.com/gismo/gismo
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_FreeBSD_15= compilation is broken with clang-19, see https://github.com/gismo/gismo/issues/741
USES= cmake:testing compiler:c++14-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_TESTING_ON= GISMO_BUILD_UNITTESTS
CXXFLAGS_powerpc64= -mvsx
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64
CMAKE_ARGS+= -DTARGET_ARCHITECTURE="cortex-a53"
.elif ${ARCH} == armv6
# Raspberry Pi 1, the only supported armv6 target
CMAKE_ARGS+= -DTARGET_ARCHITECTURE="arm1176jzf-s"
.elif ${ARCH} == armv7
CMAKE_ARGS+= -DTARGET_ARCHITECTURE="cortex-a7"
.endif
# tests as of 25.07.0: 99% tests passed, 1 tests failed out of 90, see https://github.com/gismo/gismo/issues/466
.include <bsd.port.post.mk>
|