Files
ports/devel/glaze/Makefile
Yuri Victorovich f157e17345 devel/glaze: update 5.5.3 → 5.5.4
Reported by:	portscout
2025-07-17 00:45:57 -07:00

38 lines
1.1 KiB
Makefile

PORTNAME= glaze
DISTVERSIONPREFIX= v
DISTVERSION= 5.5.4
CATEGORIES= devel textproc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast, in memory, JSON and interface library for modern C++
WWW= https://github.com/stephenberry/glaze
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
#BROKEN_FreeBSD_15= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276265
BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio
#TEST_DEPENDS= ut>0:devel/ut # the old version 0.3.0 is used
USES= cmake:testing compiler:c++23-lang eigen:3 localbase
USE_GITHUB= yes
GH_ACCOUNT= stephenberry
CMAKE_OFF= BUILD_TESTING \
glaze_ENABLE_AVX2 \
glaze_DEVELOPER_MODE
CMAKE_ARGS= -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
CMAKE_TESTING_ON= BUILD_TESTING glaze_DEVELOPER_MODE
CMAKE_TESTING_ARGS= -DFREEBSD_STAGEDIR_PREFIX=${STAGEDIR}${DATADIR} \
-DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=OFF
LDFLAGS+= -pthread
NO_ARCH= yes
# tests as of 5.5.4: 97% tests passed, 1 tests failed out of 34 (34 - rest_test (Timeout), see https://github.com/stephenberry/glaze/issues/1860)
.include <bsd.port.mk>