1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/dmlc-core/Makefile
Piotr Kubaj 086a104102 devel/dmlc-core: fix build on powerpc
LLVM on powerpc doesn't have libomp working.
Not using compiler:openmp here, because it effectively sets USE_GCC=yes for everyone.
2021-06-10 08:57:33 +00:00

28 lines
502 B
Makefile

PORTNAME= dmlc-core
DISTVERSIONPREFIX= v
DISTVERSION= 0.3-123
DISTVERSIONSUFFIX= -gb3a4c71
CATEGORIES= devel # machine-learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Common library for scalable and portable distributed machine learning
LICENSE= APACHE20
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= dmlc
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang
.endif
.include <bsd.port.mk>