mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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
This commit is contained in:
parent
6ff958cc9b
commit
4522ef8f18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510182
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user