summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDaniele Cesarini <d.cesarini@cineca.it>2023-06-08 21:27:06 +0200
committerGitHub <noreply@github.com>2023-06-08 12:27:06 -0700
commit415639702783eccb96c34eed822620f6c313c8d7 (patch)
tree323f657df51d78c808c2fb315db1ef41eb6ea733 /var
parentb4bbe5e3051ebfaa14e789e4f43ee521267a9713 (diff)
downloadspack-415639702783eccb96c34eed822620f6c313c8d7.tar.gz
spack-415639702783eccb96c34eed822620f6c313c8d7.tar.bz2
spack-415639702783eccb96c34eed822620f6c313c8d7.tar.xz
spack-415639702783eccb96c34eed822620f6c313c8d7.zip
New packages: eprosima-fastdds and dependencies (#38079)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/eprosima-fastcdr/package.py17
-rw-r--r--var/spack/repos/builtin/packages/eprosima-fastdds/package.py25
-rw-r--r--var/spack/repos/builtin/packages/foonathan-memory/package.py16
3 files changed, 58 insertions, 0 deletions
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")