netgauge: Fix for aarch64 (#19462)

* netgauge: Fix for aarch64

* netgauge: Revise the points indicated by the review.
This commit is contained in:
t-nojiri 2020-10-27 10:20:18 +09:00 committed by GitHub
parent e9223062a8
commit cb07d9ddb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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