1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00
Mark Linimon b2b3e92d3e Mark as BROKEN on powerpc64 due to variants of:
/usr/local/include/dmlc/./serializer.h:63:11: error: no member named 'Write' in 'dmlc::serializer::UndefinedSerializerFor<xgboost::DataType>'

Approved by:	portmgr (tier-2 blanket)
2020-05-18 01:08:24 +00:00

36 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= xgboost
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.2
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM)
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_12_powerpc64= fails to build: /usr/local/include/dmlc/serializer.h:63:16: 'Write' is not a member of 'dmlc::serializer::UndefinedSerializerFor<xgboost::DataType>'
BROKEN_FreeBSD_13_powerpc64= fails to build: /usr/local/include/dmlc/./serializer.h:63:11: no member named 'Write' in 'dmlc::serializer::UndefinedSerializerFor<xgboost::DataType>'
LIB_DEPENDS= libdmlc.so:devel/dmlc-core
USES= cmake compiler:c++11-lang localbase
USE_GITHUB= yes
GH_ACCOUNT= dmlc
GH_TUPLE= dmlc:rabit:2f25347:rabit/rabit \
NVlabs:cub:b20808b:cub/cub
USE_LDCONFIG= yes
LDFLAGS+= ${LOCALBASE}/lib/libdmlc.so -lexecinfo
OPTIONS_DEFINE= OPENMP
OPENMP_CMAKE_BOOL= USE_OPENMP
post-patch: # https://github.com/dmlc/rabit/issues/131
@${FIND} ${WRKSRC} -name "*.h" -o -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -i '' -e 's| _assert(| _xassert(|; s| _assert)| _xassert)|'
.include <bsd.port.mk>