New packages: eprosima-fastdds and dependencies (#38079)

This commit is contained in:
Daniele Cesarini 2023-06-08 21:27:06 +02:00 committed by GitHub
parent b4bbe5e305
commit 4156397027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 0 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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")