From cb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3 Mon Sep 17 00:00:00 2001 From: t-nojiri <68096132+t-nojiri@users.noreply.github.com> Date: Tue, 27 Oct 2020 10:20:18 +0900 Subject: [PATCH] netgauge: Fix for aarch64 (#19462) * netgauge: Fix for aarch64 * netgauge: Revise the points indicated by the review. --- var/spack/repos/builtin/packages/netgauge/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/netgauge/package.py b/var/spack/repos/builtin/packages/netgauge/package.py index b367b6aecd..3c5d36e1fa 100644 --- a/var/spack/repos/builtin/packages/netgauge/package.py +++ b/var/spack/repos/builtin/packages/netgauge/package.py @@ -3,6 +3,7 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os from spack import * @@ -18,3 +19,9 @@ class Netgauge(AutotoolsPackage): version('2.4.6', sha256='dc9398e4e042efec70881f2c7074ff18cc5b74bc5ffc4b8a4aaf813b39f83444') depends_on("mpi") + + def configure_args(self): + args = [] + args.append('MPICC=%s' % os.path.basename(self.spec['mpi'].mpicc)) + args.append('MPICXX=%s' % os.path.basename(self.spec['mpi'].mpicxx)) + return args