From 723f132531eab9206276d46f1e44d750bcf09dc4 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de> Date: Mon, 18 Jan 2021 19:44:22 +0100 Subject: python: improve building with Intel (#21134) --- var/spack/repos/builtin/packages/python/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 8c286bd975..4ae9092d5a 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -417,8 +417,8 @@ class Python(AutotoolsPackage): config_args.append('--disable-toolbox-glue') if spec.satisfies('%intel', strict=True) and \ - spec.satisfies('@2.7.12:2.8,3.5.2:', strict=True): - config_args.append('--with-icc') + spec.satisfies('@2.7.12:2.8,3.5.2:3.7', strict=True): + config_args.append('--with-icc={0}'.format(spack_cc)) if '+debug' in spec: config_args.append('--with-pydebug') -- cgit v1.2.3-70-g09d2