diff options
author | Russell J. Hewett <rhewett@vt.edu> | 2019-08-12 15:47:54 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-12 14:47:54 -0500 |
commit | 31f9135cbce3606d93377795b86922f2934bed43 (patch) | |
tree | 902e3774f35d731bc526decdb9b24b295448ce18 /var | |
parent | 6de750d86023b69e81aa449156a172db03ededae (diff) | |
download | spack-31f9135cbce3606d93377795b86922f2934bed43.tar.gz spack-31f9135cbce3606d93377795b86922f2934bed43.tar.bz2 spack-31f9135cbce3606d93377795b86922f2934bed43.tar.xz spack-31f9135cbce3606d93377795b86922f2934bed43.zip |
blaze: converted to CMakePackage (#12357)
The previous version does not properly install the required cmake
configuration files for blaze-lib, so find_package does not work
correctly.
This patch converts the blaze-lib package to use CMakePackage,
adds the required cmake dependency, and removes the install()
member function, which is not working correctly and is no longer
needed.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/blaze/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/blaze/package.py b/var/spack/repos/builtin/packages/blaze/package.py index 5fe6472ca4..e2eef8c4df 100644 --- a/var/spack/repos/builtin/packages/blaze/package.py +++ b/var/spack/repos/builtin/packages/blaze/package.py @@ -7,7 +7,7 @@ from spack import * -class Blaze(Package): +class Blaze(CMakePackage): """Blaze is an open-source, high-performance C++ math library for dense and sparse arithmetic. With its state-of-the-art Smart Expression Template implementation Blaze combines the elegance and ease of use of a @@ -19,6 +19,9 @@ class Blaze(Package): url = "https://bitbucket.org/blaze-lib/blaze/downloads/blaze-3.5.tar.gz" git = "https://bitbucket.org/blaze-lib/blaze.git" + # Blaze requires at least cmake 3.8.0 for C++14 features. + depends_on('cmake@3.8.0:', type='build') + version('master', branch='master') version('3.5', sha256='f50d4a57796b8012d3e6d416667d9abe6f4d95994eb9deb86cd4491381dec624') version('3.4', sha256='fd474ab479e81d31edf27d4a529706b418f874caa7b046c67489128c20dda66f') @@ -39,6 +42,3 @@ class Blaze(Package): version('1.2', 'b1511324456c3f70fce198a2b63e71ef') version('1.1', '5e52ebe68217f2e50d66dfdb9803d51e') version('1.0', 'a46508a2965ace9d89ded30a386d9548') - - def install(self, spec, prefix): - install_tree('blaze', join_path(prefix.include, 'blaze')) |