summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authort-nojiri <68096132+t-nojiri@users.noreply.github.com>2020-10-27 10:20:18 +0900
committerGitHub <noreply@github.com>2020-10-26 20:20:18 -0500
commitcb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3 (patch)
tree0e4468cc819fe06fcbcc3c55015d07744a1c5d48 /var
parente9223062a8f4f74f6bcf24849753f798d5e168cf (diff)
downloadspack-cb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3.tar.gz
spack-cb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3.tar.bz2
spack-cb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3.tar.xz
spack-cb07d9ddb1e744c8e0f1aded64ab3f5bf9e5bae3.zip
netgauge: Fix for aarch64 (#19462)
* netgauge: Fix for aarch64 * netgauge: Revise the points indicated by the review.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/netgauge/package.py7
1 files changed, 7 insertions, 0 deletions
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