diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2018-11-13 06:56:59 +0100 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-11-12 23:56:59 -0600 |
commit | 077e509dda951cc5fc4e94bdca622056adc8685d (patch) | |
tree | 3f10008b3f821630c3b8a5d85028312da3d00808 | |
parent | c7c3fab7445fbeff79fa645a1dad6c44887faaa1 (diff) | |
download | spack-077e509dda951cc5fc4e94bdca622056adc8685d.tar.gz spack-077e509dda951cc5fc4e94bdca622056adc8685d.tar.bz2 spack-077e509dda951cc5fc4e94bdca622056adc8685d.tar.xz spack-077e509dda951cc5fc4e94bdca622056adc8685d.zip |
gplates package: improvements (#9735)
- Add version 2.1.0
- Now that #9264 has been merged, gplates seems to build fine with newer
versions of gcc (tested with gcc@8)
- When using the ninja generator, gplates can be built in parallel
-rw-r--r-- | var/spack/repos/builtin/packages/gplates/package.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/gplates/package.py b/var/spack/repos/builtin/packages/gplates/package.py index 6d54c80822..d49da2a2c5 100644 --- a/var/spack/repos/builtin/packages/gplates/package.py +++ b/var/spack/repos/builtin/packages/gplates/package.py @@ -17,9 +17,11 @@ class Gplates(CMakePackage): homepage = 'https://www.gplates.org' url = 'https://sourceforge.net/projects/gplates/files/gplates/2.0/gplates-2.0.0-unixsrc.tar.bz2/download' + version('2.1.0', '5a52242520d7e243c541e164c8417b23f4e17fcd79ed81f865b2c13628bb0e07') version('2.0.0', '9e95874b35a01f4c9bff5845a1621ad5') depends_on('cmake@2.6.2:', type='build') + depends_on('ninja', type='build') # Qt 5 does not support (at least) the Q_WS_* constants. depends_on('qt+opengl@4.4.0:4.99') depends_on('qwt@6.0.1:') @@ -34,13 +36,9 @@ class Gplates(CMakePackage): depends_on('boost+python@1.34:1.60') depends_on('python@2:2.99') - # Officially, GPlates only supports GCC 4. Moreover, it requires - # QtXmlPatterns, which Qt 4 only builds with GCC 4. - conflicts('%gcc@5:') - # When built in parallel, headers are not generated before they are used - # (specifically, ViewportWindowUi.h). - parallel = False + # (specifically, ViewportWindowUi.h) with the Makefiles generator. + generator = 'Ninja' def url_for_version(self, version): url = 'https://sourceforge.net/projects/gplates/files/gplates/{0}/gplates-{1}-unixsrc.tar.bz2/download' |