Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 19:38:37 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510182 - head/misc/adios2
Message-ID:  <201908291938.x7TJcbS1096228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Aug 29 19:38:37 2019
New Revision: 510182
URL: https://svnweb.freebsd.org/changeset/ports/510182

Log:
  misc/adios2: fix build with GCC-based architectures
  
  Needs C++11 compiler to build:
  
  target_compile_features The compiler feature "cxx_auto_type" is not known
  to CXX compiler
  
  "GNU"
  
  version 4.2.1.
  It also tries to link to libepoll-shim.so (installed by libfabric), so link to it and and devel/libepoll-shim to LIB_DEPENDS.
  
  PR:		239635
  Approved by:	yuri (maintainer), linimon (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21400

Modified:
  head/misc/adios2/Makefile

Modified: head/misc/adios2/Makefile
==============================================================================
--- head/misc/adios2/Makefile	Thu Aug 29 19:37:17 2019	(r510181)
+++ head/misc/adios2/Makefile	Thu Aug 29 19:38:37 2019	(r510182)
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	bash:shells/bash
 LIB_DEPENDS=	libblosc.so:archivers/c-blosc \
+		libepoll-shim.so:devel/libepoll-shim \
 		libfabric.so:net/libfabric \
 		libffi.so:devel/libffi \
 		libmpi.so:net/openmpi \
@@ -20,7 +21,8 @@ LIB_DEPENDS=	libblosc.so:archivers/c-blosc \
 		libzfp.so:devel/zfp
 RUN_DEPENDS=	bash:shells/bash
 
-USES=		bison cmake pkgconfig perl5 python shebangfix
+USES=		bison cmake compiler:c++11-lang localbase:ldflags pkgconfig \
+		perl5 python shebangfix
 SHEBANG_FILES=	cmake/install/post/adios2-config.pre.sh.in cmake/install/post/generate-adios2-config.sh.in source/utils/bp4dbg/bp4dbg.py
 USE_GITHUB=	yes
 GH_ACCOUNT=	ornladios
@@ -28,5 +30,6 @@ GH_PROJECT=	ADIOS2
 USE_LDCONFIG=	yes
 
 CMAKE_OFF=	BUILD_TESTING
+LDFLAGS+=	-lepoll-shim
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908291938.x7TJcbS1096228>