spack/var/spack/repos/builtin/packages/gpcnet/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

28 lines
783 B
Python

# Copyright 2013-2023 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)
from spack.package import *
class Gpcnet(MakefilePackage):
"""Global Performance and Congestion Network Test - GPCNeT."""
homepage = "https://github.com/netbench/GPCNET"
git = "https://github.com/netbench/GPCNET.git"
version("master")
depends_on("mpi", type=("build", "run"))
@property
def build_targets(self):
spec = self.spec
return ["all", "CC={}".format(spec["mpi"].mpicc)]
def install(self, spec, prefix):
mkdir(prefix.bin)
install("network_load_test", prefix.bin)
install("network_test", prefix.bin)