spack/var/spack/repos/builtin/packages/netgauge/package.py
Todd Gamblin 24c01d57cf
imports: sort imports everywhere in Spack (#24695)
* fix remaining flake8 errors

* imports: sort imports everywhere in Spack

We enabled import order checking in #23947, but fixing things manually drives
people crazy. This used `spack style --fix --all` from #24071 to automatically
sort everything in Spack so PR submitters won't have to deal with it.

This should go in after #24071, as it assumes we're using `isort`, not
`flake8-import-order` to order things. `isort` seems to be more flexible and
allows `llnl` mports to be in their own group before `spack` ones, so this
seems like a good switch.
2021-07-08 22:12:30 +00:00

29 lines
992 B
Python

# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
from spack import *
class Netgauge(AutotoolsPackage):
"""Netgauge is a high-precision network parameter measurement
tool. It supports benchmarking of many different network protocols
and communication patterns. The main focus lies on accuracy,
statistical analysis and easy extensibility.
"""
homepage = "http://unixer.de/research/netgauge/"
url = "http://unixer.de/research/netgauge/netgauge-2.4.6.tar.gz"
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