freebsd-ports/misc/lightgbm/Makefile
Yuri Victorovich 75f942e2b5 misc/lightgbm: update 4.4.0 → 4.5.0
Reported by:	portscout
2024-07-26 01:57:58 -07:00

38 lines
1 KiB
Makefile

PORTNAME= lightgbm
DISTVERSIONPREFIX= v
DISTVERSION= 4.5.0
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Gradient boosting framework that uses tree based learning algorithms
WWW= https://lightgbm.readthedocs.io/en/latest/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing compiler:c++11-lang eigen:3
USE_GITHUB= yes
GH_ACCOUNT= microsoft
GH_PROJECT= LightGBM
GH_TUPLE= boostorg:compute:36350b7:boostorg_compute/external_libs/compute \
fmtlib:fmt:f5e5435:fmt/external_libs/fmt \
lemire:fast_double_parser:efec035:fast_double_parser/external_libs/fast_double_parser
CMAKE_TESTING_ON= BUILD_CPP_TEST
CMAKE_TESTING_TARGET=
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
.if !exists(/usr/include/omp.h)
CMAKE_ARGS+= -DUSE_OPENMP:BOOL=OFF
.endif
post-test:
@${WRKSRC}/testlightgbm
# tests fail to open the file examples/binary_classification/binary.test, see https://github.com/microsoft/LightGBM/issues/6486
.include <bsd.port.mk>