From dcb8754b92457377a1bee610f1080794f4252f3e Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 19 Dec 2018 01:33:39 +0000 Subject: [PATCH] New port: net/aluminum: Generic interface to high-performance communication libraries --- net/Makefile | 1 + net/aluminum/Makefile | 31 +++++++++++++++++++++++++++++++ net/aluminum/distinfo | 3 +++ net/aluminum/pkg-descr | 6 ++++++ net/aluminum/pkg-plist | 15 +++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 net/aluminum/Makefile create mode 100644 net/aluminum/distinfo create mode 100644 net/aluminum/pkg-descr create mode 100644 net/aluminum/pkg-plist diff --git a/net/Makefile b/net/Makefile index 526ef9af31aa..ca059d06adec 100644 --- a/net/Makefile +++ b/net/Makefile @@ -18,6 +18,7 @@ SUBDIR += akonadi-mime SUBDIR += akonadi-notes SUBDIR += akonadi-search + SUBDIR += aluminum SUBDIR += anet SUBDIR += aoe SUBDIR += apinger diff --git a/net/aluminum/Makefile b/net/aluminum/Makefile new file mode 100644 index 000000000000..5c9ea263e20e --- /dev/null +++ b/net/aluminum/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= Aluminum +DISTVERSIONPREFIX= v +DISTVERSION= 0.1-90 +DISTVERSIONSUFFIX= -g60962ae +CATEGORIES= net + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Generic interface to high-performance communication libraries + +LICENSE= APACHE20 + +LIB_DEPENDS= libhwloc.so:devel/hwloc \ + libmpi.so:net/openmpi + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= LLNL +USE_LDCONFIG= yes + +CONFLICTS_BUILD= openmp # because OpenMP detection is broken in cmake even with port clang, see bug#234050 +LDFLAGS+= ${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libomp.so # see above + +# OpenMP detection is broken with base clang, see bug#223678 +BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} +CPP= clang-cpp${LLVM_DEFAULT} +CC= clang${LLVM_DEFAULT} +CXX= clang++${LLVM_DEFAULT} + +.include diff --git a/net/aluminum/distinfo b/net/aluminum/distinfo new file mode 100644 index 000000000000..052ee50c7df2 --- /dev/null +++ b/net/aluminum/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1545179373 +SHA256 (LLNL-Aluminum-v0.1-90-g60962ae_GH0.tar.gz) = ad5aa87ee5fd1c4220b900426e3101d37fb4e53344d4042cc5678e405bb3fa95 +SIZE (LLNL-Aluminum-v0.1-90-g60962ae_GH0.tar.gz) = 67324 diff --git a/net/aluminum/pkg-descr b/net/aluminum/pkg-descr new file mode 100644 index 000000000000..96ecf26eec51 --- /dev/null +++ b/net/aluminum/pkg-descr @@ -0,0 +1,6 @@ +Aluminum provides a generic interface to high-performance communication +libraries, with a focus on allreduce algorithms. Blocking and non-blocking +algorithms and GPU-aware algorithms are supported. Aluminum also contains +custom implementations of select algorithms to optimize for certain situations. + +WWW: https://github.com/LLNL/Aluminum diff --git a/net/aluminum/pkg-plist b/net/aluminum/pkg-plist new file mode 100644 index 000000000000..1fe28ea21fcd --- /dev/null +++ b/net/aluminum/pkg-plist @@ -0,0 +1,15 @@ +include/aluminum/Al.hpp +include/aluminum/Al_config.hpp +include/aluminum/base.hpp +include/aluminum/internal.hpp +include/aluminum/mempool.hpp +include/aluminum/mpi_impl.hpp +include/aluminum/progress.hpp +include/aluminum/tuning_params.hpp +lib/cmake/aluminum/AluminumConfig.cmake +lib/cmake/aluminum/AluminumConfigVersion.cmake +lib/cmake/aluminum/AluminumTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/aluminum/AluminumTargets.cmake +lib/cmake/aluminum/FindHWLOC.cmake +lib/cmake/aluminum/FindNCCL.cmake +lib/libAl.so