diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-08-10 18:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 18:41:33 +0200 |
commit | 4ec70ca2ffb3f96e577d0c0c53e3c4390c7ecf21 (patch) | |
tree | 0cb318ee40c2de4f79af4308654daa7e1685ddc3 /var | |
parent | afc1134fe6047e64fd743506eabccfa5c572cb1f (diff) | |
download | spack-4ec70ca2ffb3f96e577d0c0c53e3c4390c7ecf21.tar.gz spack-4ec70ca2ffb3f96e577d0c0c53e3c4390c7ecf21.tar.bz2 spack-4ec70ca2ffb3f96e577d0c0c53e3c4390c7ecf21.tar.xz spack-4ec70ca2ffb3f96e577d0c0c53e3c4390c7ecf21.zip |
elfio: new package (#25335)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/elfio/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/elfio/package.py b/var/spack/repos/builtin/packages/elfio/package.py new file mode 100644 index 0000000000..72a937552a --- /dev/null +++ b/var/spack/repos/builtin/packages/elfio/package.py @@ -0,0 +1,30 @@ +# Copyright 2013-2021 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 * + + +class Elfio(CMakePackage): + """ + ELFIO is a header-only C++ library intended for reading and generating + files in the ELF binary format. + """ + + homepage = "https://github.com/serge1/ELFIO" + url = "https://github.com/serge1/ELFIO/releases/download/Release_3.9/elfio-3.9.tar.gz" + + maintainers = ['haampie'] + + version('3.9', sha256='767b269063fc35aba6d361139f830aa91c45dc6b77942f082666876c1aa0be0f') + version('3.8', sha256='9553ce2b8d8aa2fb43f0e9be9bcbd10cd52f40b385110ea54173889c982f9ac4') + version('3.7', sha256='0af2452214c32639f8dbe520b31e03802be184581ab5ad65e99ed745274dbd5d') + + depends_on('cmake@3.10:', type='build') + + def cmake_args(self): + return [ + self.define('ELFIO_BUILD_EXAMPLES', 'OFF'), + self.define('ELFIO_BUILD_TESTS', 'OFF'), + ] |