From 68e9a2ed8daf4b43fe19cd062ff37a04c7978c10 Mon Sep 17 00:00:00 2001 From: Alfredo Adolfo Gimenez Date: Sun, 18 Dec 2016 16:27:47 -0800 Subject: Added customization for make targets in 'build' and 'install' phases for AutotoolsPackage (#2464) * Customization for make targets in build and test phases for AutotoolsPackage * Updated Blitz++ to use customized make build and test targets * Removed flake8 error * Removed make test customization, added make install customization, need to figure out issues with multiple make targets * Changed build_targets and install_targets to normal attributes --- var/spack/repos/builtin/packages/blitz/package.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/blitz/package.py b/var/spack/repos/builtin/packages/blitz/package.py index 16ad3bc2ab..d6fd31d637 100644 --- a/var/spack/repos/builtin/packages/blitz/package.py +++ b/var/spack/repos/builtin/packages/blitz/package.py @@ -31,3 +31,9 @@ class Blitz(AutotoolsPackage): url = "https://github.com/blitzpp/blitz/tarball/1.0.0" version('1.0.0', '9f040b9827fe22228a892603671a77af') + + build_targets = ['lib'] + + def check(self): + make('check-testsuite') + make('check-examples') -- cgit v1.2.3-70-g09d2