From 415639702783eccb96c34eed822620f6c313c8d7 Mon Sep 17 00:00:00 2001 From: Daniele Cesarini Date: Thu, 8 Jun 2023 21:27:06 +0200 Subject: New packages: eprosima-fastdds and dependencies (#38079) --- .../builtin/packages/eprosima-fastcdr/package.py | 17 +++++++++++++++ .../builtin/packages/eprosima-fastdds/package.py | 25 ++++++++++++++++++++++ .../builtin/packages/foonathan-memory/package.py | 16 ++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 var/spack/repos/builtin/packages/eprosima-fastcdr/package.py create mode 100644 var/spack/repos/builtin/packages/eprosima-fastdds/package.py create mode 100644 var/spack/repos/builtin/packages/foonathan-memory/package.py diff --git a/var/spack/repos/builtin/packages/eprosima-fastcdr/package.py b/var/spack/repos/builtin/packages/eprosima-fastcdr/package.py new file mode 100644 index 0000000000..d523ad8695 --- /dev/null +++ b/var/spack/repos/builtin/packages/eprosima-fastcdr/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class EprosimaFastcdr(CMakePackage): + """eProsima Fast CDR is a C++ library that provides two serialization mechanisms. + One is the standard CDR serialization mechanism, while the other is a + faster implementation that modifies the standard.""" + + homepage = "https://www.eprosima.com/" + url = "https://github.com/eProsima/Fast-CDR/archive/v1.0.27.tar.gz" + + version("1.0.27", sha256="a9bc8fd31a2c2b95e6d2fb46e6ce1ad733e86dc4442f733479e33ed9cdc54bf6") diff --git a/var/spack/repos/builtin/packages/eprosima-fastdds/package.py b/var/spack/repos/builtin/packages/eprosima-fastdds/package.py new file mode 100644 index 0000000000..f3898409a8 --- /dev/null +++ b/var/spack/repos/builtin/packages/eprosima-fastdds/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class EprosimaFastdds(CMakePackage): + """eprosima Fast DDS (formerly Fast RTPS) is a C++ implementation of the DDS + (Data Distribution Service) standard of the OMG (Object Management Group). + eProsima Fast DDS implements the RTPS (Real Time Publish Subscribe) protocol, + which provides publisher-subscriber communications over unreliable transports + such as UDP, as defined and maintained by the Object Management Group (OMG) consortium.""" + + homepage = "https://www.eprosima.com/" + url = "https://github.com/eProsima/Fast-DDS/archive/v2.10.1.tar.gz" + + version("2.10.1", sha256="2cc2682db5dc7e87684b7f23166e2f32faf8d5c4b4a8c94c6c21211a8a38f553") + + depends_on("asio") + depends_on("tinyxml2") + depends_on("openssl") + depends_on("foonathan-memory") + depends_on("eprosima-fastcdr") diff --git a/var/spack/repos/builtin/packages/foonathan-memory/package.py b/var/spack/repos/builtin/packages/foonathan-memory/package.py new file mode 100644 index 0000000000..2941cc0a0a --- /dev/null +++ b/var/spack/repos/builtin/packages/foonathan-memory/package.py @@ -0,0 +1,16 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class FoonathanMemory(CMakePackage): + """STL compatible C++ memory allocator library using a new RawAllocator concept + that is similar to an Allocator but easier to use and write.""" + + homepage = "https://memory.foonathan.net/" + url = "https://github.com/foonathan/memory/archive/v0.7.tar.gz" + + version("0.7", sha256="01a7cc5a5ebddbd71bec69c89562a4a2ecd7c29334c0a29d38d83e7f7f66eb53") -- cgit v1.2.3-60-g2f50