From 6c81cf1a789b7ed5a7b2af917bf3f37f2140b0e2 Mon Sep 17 00:00:00 2001 From: fpruvost Date: Sun, 17 Dec 2017 03:43:46 +0100 Subject: build lapacke with tmg (#6654) --- var/spack/repos/builtin/packages/netlib-lapack/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/netlib-lapack/package.py b/var/spack/repos/builtin/packages/netlib-lapack/package.py index f6dfcd40a1..3763d7aed5 100644 --- a/var/spack/repos/builtin/packages/netlib-lapack/package.py +++ b/var/spack/repos/builtin/packages/netlib-lapack/package.py @@ -121,7 +121,10 @@ class NetlibLapack(Package): '-DBUILD_SHARED_LIBS:BOOL=%s' % ('ON' if shared else 'OFF'), '-DCMAKE_BUILD_TYPE:STRING=%s' % ( 'Debug' if '+debug' in spec else 'Release'), - '-DLAPACKE:BOOL=%s' % ('ON' if '+lapacke' in spec else 'OFF')] + '-DLAPACKE:BOOL=%s' % ( + 'ON' if '+lapacke' in spec else 'OFF'), + '-DLAPACKE_WITH_TMG:BOOL=%s' % ( + 'ON' if '+lapacke' in spec else 'OFF')] if spec.satisfies('@3.6.0:'): cmake_args.extend(['-DCBLAS=ON']) # always build CBLAS -- cgit v1.2.3-70-g09d2