summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorhealther <healther@users.noreply.github.com>2017-09-21 15:10:51 +0200
committerChristoph Junghans <christoph.junghans@gmail.com>2017-09-21 07:10:51 -0600
commit837c3251600190a6b16c35228d4759ee2583eada (patch)
treee07b7053a1ffd2aba0bc66e9b16cfdc9c398c976 /var
parenta4309e1129ccd8fd02a9483bf4e063c3ffd32cca (diff)
downloadspack-837c3251600190a6b16c35228d4759ee2583eada.tar.gz
spack-837c3251600190a6b16c35228d4759ee2583eada.tar.bz2
spack-837c3251600190a6b16c35228d4759ee2583eada.tar.xz
spack-837c3251600190a6b16c35228d4759ee2583eada.zip
fix install method of cereal (#5094)
* removed unnecessary install method from cereal * attempt to fix flake8 error * adjusted install method * add CMake options instead of manually patching stuff * flake8
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cereal/package.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/cereal/package.py b/var/spack/repos/builtin/packages/cereal/package.py
index 9e779cd99c..6d84866b8b 100644
--- a/var/spack/repos/builtin/packages/cereal/package.py
+++ b/var/spack/repos/builtin/packages/cereal/package.py
@@ -52,18 +52,11 @@ class Cereal(CMakePackage):
depends_on('cmake@2.6.2:', type='build')
- def patch(self):
- # Don't use -Werror
- filter_file(r'-Werror', '', 'CMakeLists.txt')
-
def cmake_args(self):
# Boost is only used for self-tests, which we are not running (yet?)
return [
'-DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE',
'-DSKIP_PORTABILITY_TEST=TRUE',
+ '-DJUST_INSTALL_CEREAL=On',
+ '-DWITH_WERROR=Off',
]
-
- def install(self, spec, prefix):
- with working_dir(self.build_directory):
- install_tree('doc', prefix.doc)
- install_tree('include', prefix.include)