summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/buddy/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/buddy/package.py b/var/spack/repos/builtin/packages/buddy/package.py
new file mode 100644
index 0000000000..d6e92bb9b3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/buddy/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2020 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 import *
+import platform
+
+
+class Buddy(AutotoolsPackage):
+ """A Binary Decision Diagram library."""
+
+ homepage = "https://sourceforge.net/projects/buddy/"
+ url = "https://sourceforge.net/projects/buddy/files/buddy/BuDDy%202.4/buddy-2.4.tar.gz"
+ list_url = "https://sourceforge.net/projects/buddy/files/buddy"
+ list_depth = 1
+
+ version('2.4', sha256='d3df80a6a669d9ae408cb46012ff17bd33d855529d20f3a7e563d0d913358836')
+
+ def configure_args(self):
+ if platform.machine() == 'aarch64':
+ config_args = [
+ '--build=aarch64-unknown-linux-gnu',
+ ]
+ return config_args