diff options
author | Ben Bergen <bergen@lanl.gov> | 2021-12-05 08:02:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 08:02:23 -0700 |
commit | c2def5c2f443caf603805185f6b2cd33dcbaa1cd (patch) | |
tree | 03debef1ec0bcd0c68bccbf039735168f26cfc17 | |
parent | 25a98881023f51086aa591a223c6a69f2cc0f2d4 (diff) | |
download | spack-c2def5c2f443caf603805185f6b2cd33dcbaa1cd.tar.gz spack-c2def5c2f443caf603805185f6b2cd33dcbaa1cd.tar.bz2 spack-c2def5c2f443caf603805185f6b2cd33dcbaa1cd.tar.xz spack-c2def5c2f443caf603805185f6b2cd33dcbaa1cd.zip |
cgdb: add depends_on('gdb', type='run') (#27753)
* Added gdb Dependency
When using spack to install cgdb, a spack-built gdb is necessary to
avoid dynamic link errors.
- Added maintainer: tuxfan
- Set preferred to 'master' (best version for spack currently)
* Update: The gdb dependency added by this PR is for runtime
Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/cgdb/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cgdb/package.py b/var/spack/repos/builtin/packages/cgdb/package.py index 6c9ae9dacd..d5d920d926 100644 --- a/var/spack/repos/builtin/packages/cgdb/package.py +++ b/var/spack/repos/builtin/packages/cgdb/package.py @@ -9,15 +9,17 @@ from spack import * class Cgdb(AutotoolsPackage): """A curses front-end to GDB""" + maintainers = ['tuxfan'] homepage = 'https://cgdb.github.io' url = 'https://cgdb.me/files/cgdb-0.7.1.tar.gz' git = 'https://github.com/cgdb/cgdb.git' - version('master', branch='master', submodule=False, preferred=False) + version('master', branch='master', submodule=False, preferred=True) version('0.7.1', sha256='bb723be58ec68cb59a598b8e24a31d10ef31e0e9c277a4de07b2f457fe7de198') version('0.7.0', sha256='bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423') # Required dependency + depends_on('gdb', type='run') depends_on('ncurses') depends_on('readline') depends_on('autoconf', type='build', when='@master') |