builtin: add missing deps on gmake (#48545)
This commit is contained in:
@@ -24,6 +24,7 @@ class AbiDumper(Package):
|
||||
depends_on("binutils")
|
||||
depends_on("universal-ctags")
|
||||
depends_on("vtable-dumper@1.1:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make(f"prefix={prefix}", "install")
|
||||
|
@@ -356,6 +356,8 @@ class Acfl(Package, CompilerPackage):
|
||||
provides("lapack")
|
||||
provides("fftw-api@3")
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Licensing - Not required from 22.0.1 on.
|
||||
|
||||
# Run the installer with the desired install directory
|
||||
|
@@ -140,6 +140,7 @@ class Amber(Package, CudaPackage):
|
||||
depends_on("cuda@:11.1", when="@20:+cuda") # when='AmberTools@21:'
|
||||
depends_on("cuda@:10.2.89", when="@18+cuda")
|
||||
depends_on("cuda@7.5.18", when="@:16+cuda")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# conflicts
|
||||
conflicts("+x11", when="platform=cray", msg="x11 amber applications not available for cray")
|
||||
|
@@ -55,6 +55,7 @@ class Apcomp(Package):
|
||||
depends_on("cmake@3.9:", type="build")
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("llvm-openmp", when="+openmp %apple-clang")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
root_cmakelists_dir = "src"
|
||||
|
||||
|
@@ -17,6 +17,7 @@ class Ape(Package):
|
||||
depends_on("gsl")
|
||||
depends_on("libxc@:4", when="@2.3.0:")
|
||||
depends_on("libxc@:2.2.2", when="@:2.2.1")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
args = []
|
||||
|
@@ -406,6 +406,8 @@ class ArmplGcc(Package):
|
||||
provides("lapack")
|
||||
provides("fftw-api@3")
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Run the installer with the desired install directory
|
||||
def install(self, spec, prefix):
|
||||
if spec.platform == "darwin":
|
||||
|
@@ -26,6 +26,7 @@ class Astral(Package):
|
||||
|
||||
depends_on("java@11", type=("build", "run"))
|
||||
depends_on("zip", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make = Executable("./make.sh")
|
||||
|
@@ -35,6 +35,7 @@ class Atlas(Package):
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# not all packages (e.g. Trilinos@12.6.3) stopped using deprecated in 3.6.0
|
||||
# Lapack routines. Stick with 3.5.0 until this is fixed.
|
||||
|
@@ -23,6 +23,7 @@ class Atop(Package):
|
||||
|
||||
depends_on("zlib-api")
|
||||
depends_on("ncurses")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.append_flags("LDFLAGS", "-ltinfo")
|
||||
|
@@ -19,6 +19,7 @@ class Bbcp(Package):
|
||||
depends_on("zlib-api")
|
||||
depends_on("openssl")
|
||||
depends_on("libnsl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
cd("src")
|
||||
|
@@ -43,6 +43,7 @@ class Bcl2fastq2(Package):
|
||||
depends_on("libxslt@1.1.26~crypto")
|
||||
depends_on("libgcrypt")
|
||||
depends_on("zlib-api")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Their cmake macros don't set the flag when they find a library
|
||||
# that makes them happy.
|
||||
|
@@ -33,6 +33,7 @@ class Bedtools2(Package):
|
||||
depends_on("bzip2", when="@2.29:")
|
||||
depends_on("xz", when="@2.29:")
|
||||
depends_on("python", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("bedtools-gcc13.patch", level=1, when="@2.27:2.31.0%gcc@13:")
|
||||
|
||||
|
@@ -19,6 +19,7 @@ class Blat(Package):
|
||||
depends_on("libpng")
|
||||
depends_on("uuid", when="@37:")
|
||||
depends_on("mysql-client", when="@37:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
@when("@37")
|
||||
def patch(self):
|
||||
|
@@ -21,6 +21,7 @@ class Bliss(Package):
|
||||
|
||||
depends_on("gmp")
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.spack.patch")
|
||||
|
||||
|
@@ -20,6 +20,7 @@ class Bmake(Package):
|
||||
version("20171207", sha256="1703667e53a0498c0903b20612ebcbb41b886a94b238624cfeadd91a4111d39a")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
# Do not pre-roff cat pages
|
||||
|
@@ -23,6 +23,7 @@ class Cblas(Package):
|
||||
depends_on("fortran", type="build") # generated
|
||||
|
||||
depends_on("blas")
|
||||
depends_on("gmake", type="build")
|
||||
parallel = False
|
||||
|
||||
def patch(self):
|
||||
|
@@ -23,6 +23,7 @@ class Cdd(Package):
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.spack.patch")
|
||||
|
||||
|
@@ -140,6 +140,7 @@ class Charmpp(Package):
|
||||
# Git versions of Charm++ require automake and autoconf
|
||||
depends_on("automake", when="@develop")
|
||||
depends_on("autoconf", when="@develop")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
conflicts("~tracing", "+papi")
|
||||
|
||||
|
@@ -25,6 +25,7 @@ class Cloog(Package):
|
||||
|
||||
depends_on("gmp")
|
||||
depends_on("isl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure(
|
||||
|
@@ -48,6 +48,7 @@ class Cntk(Package):
|
||||
depends_on("nccl", when="+cuda")
|
||||
depends_on("cntk1bitsgd@c8b77d", when="+1bitsgd")
|
||||
depends_on("multiverso@143187", when="+asgd")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Patch CNTN's build process to use libs installed outside CNTK source tree
|
||||
# multiverso, kaldi, openfst
|
||||
|
@@ -18,6 +18,7 @@ class Colordiff(Package):
|
||||
version("1.0.18", sha256="29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0")
|
||||
|
||||
depends_on("perl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make(
|
||||
|
@@ -43,6 +43,7 @@ def url_for_version(self, version):
|
||||
depends_on("py-scipy", type=("build", "run"), when="+python")
|
||||
depends_on("py-six", type=("build", "run"), when="+python")
|
||||
depends_on("python @2.7:2,3.4:", type=("build", "run"), when="+python")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.patch")
|
||||
patch("errorstop.patch")
|
||||
|
@@ -18,6 +18,7 @@ class Daemonize(Package):
|
||||
version("1.7.8", sha256="20c4fc9925371d1ddf1b57947f8fb93e2036eb9ccc3b43a1e3678ea8471c4c60")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix={0}".format(prefix))
|
||||
|
@@ -31,6 +31,7 @@ class Dia(Package):
|
||||
depends_on("libxrender")
|
||||
depends_on("libxml2")
|
||||
depends_on("freetype")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# TODO: Optional dependencies, not yet supported by Spack
|
||||
# depends_on('libart')
|
||||
|
@@ -28,6 +28,7 @@ class Dire(Package):
|
||||
depends_on("lhapdf")
|
||||
depends_on("hepmc")
|
||||
depends_on("pythia8@8.226:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
conflicts("^pythia8@8.301:", msg="Dire is included in Pythia8 since version 8.301")
|
||||
|
||||
|
@@ -26,6 +26,7 @@ class Dramsim3(Package):
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("cmake", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
cmake = which("cmake")
|
||||
|
@@ -109,6 +109,7 @@ class Dray(Package, CudaPackage):
|
||||
depends_on("mfem+conduit~threadsafe")
|
||||
depends_on("mfem+shared", when="+shared")
|
||||
depends_on("mfem~shared", when="~shared")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.set("CTEST_OUTPUT_ON_FAILURE", "1")
|
||||
|
@@ -144,6 +144,7 @@ class Eospac(Package):
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("fortran", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# This patch allows the use of spack's compile wrapper 'flang'
|
||||
patch("flang.patch", when="@:6.4.0beta.2%clang")
|
||||
|
@@ -20,6 +20,7 @@ class Etcd(Package):
|
||||
version("3.4.23", sha256="055c608c4898d25f23aefbc845ff074bf5e8a07e61ed41dbd5cc4d4f59c93093")
|
||||
|
||||
depends_on("go@1.19:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
# Point GOPATH at the top of the staging dir for the build step.
|
||||
|
@@ -27,6 +27,7 @@ class EtsfIo(Package):
|
||||
|
||||
depends_on("netcdf-fortran")
|
||||
depends_on("hdf5+mpi~cxx", when="+mpi") # required for NetCDF-4 support
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("tests_module.patch")
|
||||
patch("tests_init.patch")
|
||||
|
@@ -39,6 +39,7 @@ class Ferret(Package):
|
||||
depends_on("zlib-api")
|
||||
depends_on("libx11")
|
||||
depends_on("curl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Make Java dependency optional with older versions of Ferret
|
||||
patch(
|
||||
|
@@ -32,6 +32,7 @@ class Ffte(Package):
|
||||
variant("vector", default=False, description="Use vectorized FFT")
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
requires("%nvhpc", when="+cuda", msg="ffte+cuda must use NVHPC compiler")
|
||||
|
||||
|
@@ -14,6 +14,7 @@ class Flashdimmsim(Package):
|
||||
version("master", branch="master")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
build_directory = "src"
|
||||
|
||||
|
@@ -64,6 +64,7 @@ class Fleur(Package):
|
||||
depends_on("spfft+fortran+openmp", when="+spfft+openmp")
|
||||
depends_on("elpa~openmp", when="+elpa~openmp")
|
||||
depends_on("elpa+openmp", when="+elpa+openmp")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
conflicts("%intel@:16.0.4", msg="ifort version <16.0 will most probably not work correctly")
|
||||
conflicts("%gcc@:6.3.0", msg="gfortran is known to work with versions newer than v6.3")
|
||||
|
@@ -21,6 +21,7 @@ class FrHit(Package):
|
||||
|
||||
depends_on("perl")
|
||||
depends_on("python@2.7:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# The patch adds the python interpreter to the beginning of the script
|
||||
# allowing it to be run directly without passing the entire path to the
|
||||
|
@@ -40,6 +40,7 @@ class Freebayes(MesonPackage):
|
||||
depends_on("vcftools", when="@1.3.5:")
|
||||
depends_on("bc", when="@1.3.5:")
|
||||
depends_on("samtools", when="@1.3.5:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
parallel = False
|
||||
|
||||
|
@@ -56,6 +56,7 @@ class Genie(Package):
|
||||
# GENIE does not actually require cmake, but root does.
|
||||
# Spack's concretizer fails with "unsatisfiable constraint" if we don't add this.
|
||||
depends_on("cmake@3:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# GENIE Makefile's think that the spack compiler is invalid.
|
||||
# Disables this check.
|
||||
|
@@ -24,6 +24,7 @@ class Global(Package):
|
||||
|
||||
depends_on("exuberant-ctags", type=("build", "run"))
|
||||
depends_on("ncurses")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("global-ncurse.patch")
|
||||
|
||||
|
@@ -29,5 +29,7 @@ class Gnat(Package):
|
||||
url="http://mirrors.cdn.adacore.com/art/5739cefdc7a447658e0b016b",
|
||||
)
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make("ins-all", "prefix={0}".format(prefix))
|
||||
|
@@ -17,6 +17,7 @@ class Gprolog(Package):
|
||||
version("1.4.5", sha256="bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
parallel = False
|
||||
|
||||
|
@@ -32,6 +32,7 @@ class Grackle(Package):
|
||||
depends_on("tcsh", type="build")
|
||||
depends_on("mpi")
|
||||
depends_on("hdf5+mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
parallel = False
|
||||
|
||||
|
@@ -31,6 +31,7 @@ class Gslib(Package):
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("mpi", when="+mpiio")
|
||||
depends_on("blas", when="+blas")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
conflicts("~mpi", when="+mpiio")
|
||||
|
||||
|
@@ -33,6 +33,7 @@ class HipExamples(Package):
|
||||
for ver in ["5.6.1", "5.6.0", "5.5.1", "5.5.0", "5.4.3"]:
|
||||
depends_on("hip@" + ver, when="@" + ver)
|
||||
depends_on("rocm-openmp-extras@" + ver, when="@" + ver)
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
stage = os.getcwd()
|
||||
|
@@ -31,6 +31,7 @@ class Hmmer(Package):
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("gsl", when="+gsl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# https://github.com/EddyRivasLab/hmmer/issues/283
|
||||
conflicts(
|
||||
|
@@ -37,6 +37,7 @@ class Hpddm(Package):
|
||||
depends_on("scalapack")
|
||||
depends_on("arpack-ng")
|
||||
depends_on("python")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def configure(self):
|
||||
makefile_inc = []
|
||||
|
@@ -41,6 +41,7 @@ class JsonGlib(MesonPackage):
|
||||
depends_on("glib")
|
||||
depends_on("gobject-introspection")
|
||||
depends_on("pkgconfig", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
@when("@:1.5")
|
||||
def meson(self, spec, prefix):
|
||||
|
@@ -44,6 +44,7 @@ class Kaldi(Package): # Does not use Autotools
|
||||
depends_on("openfst@1.6.0:", when="@2019-07-29")
|
||||
depends_on("openfst@1.6.7:1.7.3", when="@2019-09-29:")
|
||||
depends_on("cub", when="@2019-07-29:^cuda@:10")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("openfst-1.4.1.patch", when="@2015-10-07")
|
||||
patch("0001_CMakeLists_txt.patch", when="+cuda@11:")
|
||||
|
@@ -235,6 +235,7 @@ class KokkosLegacy(Package):
|
||||
|
||||
# generate_makefile.bash calls cmake
|
||||
depends_on("cmake@3.10:", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
generate = which(join_path(self.stage.source_path, "generate_makefile.bash"))
|
||||
|
@@ -27,6 +27,7 @@ class Kubernetes(Package):
|
||||
depends_on("bash", type="build")
|
||||
depends_on("go", type="build")
|
||||
depends_on("go@1.23:", type="build", when="@1.32:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
phases = ["build", "install"]
|
||||
|
||||
|
@@ -19,6 +19,7 @@ class Ladot(Package):
|
||||
depends_on("perl", type=("run", "test"))
|
||||
depends_on("graphviz", type=("run", "test"))
|
||||
depends_on("texlive", type="test")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
if self.run_tests:
|
||||
|
@@ -64,6 +64,7 @@ def url_for_version(self, version):
|
||||
depends_on("automake", type="build", when="@:2")
|
||||
depends_on("libtool", type="build", when="@:2")
|
||||
depends_on("gettext", type="build", when="@:2")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
provides("fuse")
|
||||
conflicts("+useroot", when="~system_install", msg="useroot requires system_install")
|
||||
|
@@ -29,6 +29,7 @@ class Libtasn1(Package):
|
||||
version("4.0", sha256="41d044f7644bdd1c4f8a5c15ac1885ca1fcbf32f5f6dd4760a19278b979857fe")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure(
|
||||
|
@@ -28,6 +28,7 @@ class Libtomlc99(Package):
|
||||
version("0.2019.03.06", commit="bd76f1276ee5f5df0eb064f1842af5ad1737cf1e")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
variant("debug", default=False, description="Build with debug enabled.")
|
||||
|
||||
|
@@ -23,6 +23,7 @@ class Libwhich(Package):
|
||||
version("1.0.0", sha256="61d5d643d4cbd4b340b9b48922e1b4fd2a35729b7cfdcc7283aab82a6f742a6c")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make()
|
||||
|
@@ -19,6 +19,7 @@ class Libxstream(Package):
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
kwargs = {"ignore_absent": False, "backup": True, "string": True}
|
||||
|
@@ -106,6 +106,7 @@ class Likwid(Package):
|
||||
# depends_on('gnuplot', type='run')
|
||||
|
||||
depends_on("perl", type=("build", "run"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
files = glob.glob("perl/*.*") + glob.glob("bench/perl/*.*")
|
||||
|
@@ -19,6 +19,7 @@ class Lima(Package):
|
||||
|
||||
depends_on("qemu@9:")
|
||||
depends_on("go@1.22.0:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# NOTE: in truth this is a go build, it fetches many go packages during this build
|
||||
# process, but at least uses the built qemu and local vz on macos
|
||||
|
@@ -25,6 +25,7 @@ class LinuxHeaders(Package):
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "https://www.kernel.org/pub/linux/kernel/v{0}.x/linux-{1}.tar.xz"
|
||||
|
@@ -30,6 +30,7 @@ class Lrslib(Package):
|
||||
# depends_on("boost")
|
||||
depends_on("gmp")
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.spack.patch")
|
||||
# Ref: https://github.com/mkoeppe/lrslib/commit/2e8c5bd6c06430151faea5910f44aa032c4178a9
|
||||
|
@@ -33,6 +33,7 @@ class Lrzip(Package):
|
||||
depends_on("lzo")
|
||||
depends_on("zlib-api")
|
||||
depends_on("bzip2")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
set_executable("./autogen.sh")
|
||||
|
@@ -18,6 +18,8 @@ class Lsof(Package):
|
||||
version("4.90", sha256="27794d3d6499fd5f0f08710b4518b33aed8a4580951d1adf27f6c25898685c9e")
|
||||
version("4.89", sha256="5d08da7ebe049c9d9a6472d6afb81aa5af54c4733a3f8822cbc22b57867633c9")
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
tar = which("tar")
|
||||
tar("xf", "lsof_{0}_src.tar".format(self.version))
|
||||
|
@@ -24,6 +24,7 @@ class Mafft(Package):
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("cxx", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
with working_dir("core"):
|
||||
|
@@ -40,6 +40,7 @@ class Mdb(PythonPackage):
|
||||
depends_on("py-sphinx", type=("build"))
|
||||
depends_on("py-sphinx-rtd-theme", type=("build"))
|
||||
depends_on("py-sphinx-click", type=("build"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
@run_after("install")
|
||||
def build_docs(self):
|
||||
|
@@ -18,6 +18,7 @@ class Mdtest(Package):
|
||||
depends_on("c", type="build") # generated
|
||||
|
||||
depends_on("mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
filter_file("$(CC.$(OS))", spec["mpi"].mpicc, "Makefile", string=True)
|
||||
|
@@ -22,6 +22,7 @@ class Minced(Package):
|
||||
version("0.1.6", sha256="035e343591b4595c571e17b0b3f526a01a23c3a47ebafb66f20ba667b29b3ed7")
|
||||
|
||||
depends_on("java", type=("build", "run"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make()
|
||||
|
@@ -35,6 +35,7 @@ class Minimap2(PythonPackage):
|
||||
|
||||
variant("jstools", default=False, description="Include Javascript tools (paftools)")
|
||||
depends_on("k8", type="run", when="+jstools")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
@run_after("install")
|
||||
def install_minimap2(self):
|
||||
|
@@ -22,6 +22,7 @@ class Mpigraph(Package):
|
||||
version("0.0.1")
|
||||
|
||||
depends_on("mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdirp(prefix.bin)
|
||||
|
@@ -29,6 +29,7 @@ class Mpir(Package):
|
||||
|
||||
# Other dependencies
|
||||
depends_on("yasm")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
# We definitely don't want to have MPIR build its
|
||||
|
@@ -20,6 +20,7 @@ class Mummer(Package):
|
||||
|
||||
depends_on("gnuplot")
|
||||
depends_on("perl", type=("build", "run"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.patch")
|
||||
patch("scripts-Makefile.patch")
|
||||
|
@@ -73,6 +73,7 @@ class Mumps(Package):
|
||||
depends_on("lapack")
|
||||
depends_on("scalapack", when="+mpi")
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("examples.patch", when="@5.1.1%clang^spectrum-mpi")
|
||||
patch("gfortran8.patch", when="@5.1.2")
|
||||
|
@@ -121,6 +121,7 @@ class Ncl(Package):
|
||||
depends_on("udunits", when="+udunits2")
|
||||
depends_on("jasper@:2", when="+grib")
|
||||
depends_on("gsl", when="+eemd")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# We need src files of triangle to appear in ncl's src tree if we want
|
||||
# triangle's features.
|
||||
|
@@ -23,6 +23,7 @@ class Ndiff(Package):
|
||||
version("1.00", sha256="d4be3ab38e4b87da8d689fe47413e01a7bfdf8c8627bfb673aac37953a463a92")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
|
@@ -73,6 +73,7 @@ class NeicFinitefault(PythonPackage):
|
||||
depends_on("proj@=9.2.0", type=("build", "run"))
|
||||
# not a direct dep, but we do need gdal to have these variants
|
||||
depends_on("gdal+jpeg+jxl+openjpeg", type=("build", "run"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
parallel = False
|
||||
|
||||
|
@@ -45,6 +45,7 @@ class Ocaml(Package):
|
||||
when="@:4.11.0 %clang@11:",
|
||||
)
|
||||
depends_on("ncurses")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
sanity_check_file = ["bin/ocaml"]
|
||||
|
||||
|
@@ -42,6 +42,7 @@ class Occa(Package):
|
||||
variant("opencl", default=True, description="Activates support for OpenCL")
|
||||
|
||||
depends_on("cuda", when="+cuda")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
conflicts("%gcc@6:", when="^cuda@:8")
|
||||
conflicts("%gcc@7:", when="^cuda@:9")
|
||||
|
@@ -36,6 +36,7 @@ class Ompss2(Package):
|
||||
depends_on("extrae", when="+extrae")
|
||||
depends_on("boost@1.59.0:")
|
||||
depends_on("numactl")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
resource(
|
||||
name="jemalloc",
|
||||
|
@@ -35,6 +35,7 @@ class Ompss(Package):
|
||||
# depends_on("openmp")
|
||||
depends_on("hwloc")
|
||||
depends_on("extrae")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
if "openmpi" in spec:
|
||||
|
@@ -113,6 +113,7 @@ class Oommf(Package):
|
||||
depends_on("tk", type=("build", "link", "test", "run"))
|
||||
depends_on("tcl", type=("build", "test", "run"))
|
||||
depends_on("xproto", type=("build"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Compilation with clang does not work yet (gcc works fine, nothing else tested)
|
||||
# (https://github.com/spack/spack/pull/26933#pullrequestreview-789754233)
|
||||
|
@@ -22,6 +22,7 @@ class Oras(Package):
|
||||
version("0.12.0", sha256="5e19d61683a57b414efd75bd1b0290c941b8faace5fcc9d488f5e4aa674bf03e")
|
||||
|
||||
depends_on("go", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
# Point GOPATH at the top of the staging dir for the build step.
|
||||
|
@@ -85,6 +85,7 @@ class Pango(MesonPackage):
|
||||
depends_on("fribidi@1.0.6:", when="@1.49:")
|
||||
depends_on("harfbuzz@2.6.0:", when="@1.49:")
|
||||
depends_on("json-glib@1.6.0:", when="@1.49:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "http://ftp.gnome.org/pub/GNOME/sources/pango/{0}/pango-{1}.tar.xz"
|
||||
|
@@ -39,6 +39,7 @@ class Paraver(Package):
|
||||
depends_on("wxpropgrid@1.4:")
|
||||
depends_on("libxml2")
|
||||
depends_on("zlib-api")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
os.chdir("ptools_common_files")
|
||||
|
@@ -24,6 +24,7 @@ class Parmgridgen(Package):
|
||||
variant("mpi", default=True, description="Activate the compilation of parallel libraries")
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make_opts = [
|
||||
|
@@ -15,6 +15,8 @@ class Phylip(Package):
|
||||
|
||||
version("3.697", sha256="9a26d8b08b8afea7f708509ef41df484003101eaf4beceb5cf7851eb940510c1")
|
||||
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
with working_dir("src"):
|
||||
for f in ["Makefile.unx", "Makefile.osx"]:
|
||||
|
@@ -70,6 +70,7 @@ class PlanckLikelihood(Package):
|
||||
depends_on("blas")
|
||||
depends_on("cfitsio +shared")
|
||||
depends_on("lapack")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# Note: Could also install Python bindings
|
||||
|
||||
|
@@ -41,6 +41,7 @@ class Plink(Package):
|
||||
depends_on("zlib-api", when="@1.9-beta6.27:")
|
||||
depends_on("blas", when="@1.9-beta6.27:")
|
||||
depends_on("lapack", when="@1.9-beta6.27:")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("dynamic_zlib.patch", when="@1.9-beta6.27:")
|
||||
|
||||
|
@@ -15,6 +15,7 @@ class PmgrCollective(Package):
|
||||
version("1.0", sha256="c8022d1128ce5e8f637166af6e55c13700e665550e468b8cdb1531441c6bb7f5")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make('PREFIX="' + prefix + '"')
|
||||
|
@@ -41,6 +41,7 @@ class Podman(Package):
|
||||
depends_on("libassuan")
|
||||
depends_on("libgpg-error")
|
||||
depends_on("libseccomp")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
defs = FileFilter("vendor/github.com/containers/common/pkg/config/default.go")
|
||||
|
@@ -43,6 +43,7 @@ class Polymake(Package):
|
||||
depends_on("ppl")
|
||||
depends_on("ppl@1.2:", when="@3.2:")
|
||||
depends_on("readline")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure(
|
||||
|
@@ -18,6 +18,7 @@ class Porta(Package):
|
||||
version("1.4.1", sha256="21e3784f46f4f2154100a0c39cbd9211a26e513ffe0c9f70ab75a3bb2810b059")
|
||||
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("Makefile.spack.patch")
|
||||
|
||||
|
@@ -31,6 +31,7 @@ class Ppl(Package):
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("gmp")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix, "--with-gmp=%s" % spec["gmp"].prefix)
|
||||
|
@@ -18,6 +18,7 @@ class Prank(Package):
|
||||
depends_on("mafft")
|
||||
depends_on("exonerate")
|
||||
depends_on("bpp-suite") # for bppancestor
|
||||
depends_on("gmake", type="build")
|
||||
conflicts("%gcc@7.2.0", when="@:150803")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
|
@@ -48,6 +48,7 @@ class ProcessInProcess(Package):
|
||||
depends_on("systemtap")
|
||||
depends_on("libxml2")
|
||||
depends_on("pigz")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# resources for PiP version 2
|
||||
# PiP-glibc resource
|
||||
|
@@ -31,6 +31,7 @@ class Professor(Package):
|
||||
depends_on("py-matplotlib")
|
||||
depends_on("py-matplotlib backend=wx", when="+interactive")
|
||||
depends_on("root")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
extends("python")
|
||||
|
||||
|
@@ -39,6 +39,7 @@ class PyAdios(PythonPackage):
|
||||
depends_on("mpi", when="+mpi")
|
||||
depends_on("py-mpi4py", type=["run"], when="+mpi")
|
||||
depends_on("py-cython", type=["build"])
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
build_directory = "wrappers/numpy"
|
||||
|
||||
|
@@ -53,6 +53,7 @@ class PyDaskMl(PythonPackage):
|
||||
|
||||
depends_on("py-xgboost+dask", type=("build", "run"), when="+docs")
|
||||
depends_on("py-xgboost+dask", type=("build", "run"), when="+xgboost")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
patch("xgboost_dependency.patch")
|
||||
|
||||
|
@@ -28,6 +28,7 @@ class PyGenders(Package):
|
||||
# FIXME: Missing a dependency on genders
|
||||
# #include <genders.h>
|
||||
depends_on("bison", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
|
@@ -29,6 +29,7 @@ class PyPydmd(PythonPackage):
|
||||
depends_on("texlive", type="build", when="+docs")
|
||||
depends_on("py-sphinx@1.4.0:1.4", type="build", when="+docs")
|
||||
depends_on("py-sphinx-rtd-theme", type="build", when="+docs")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
# https://github.com/mathLab/PyDMD/pull/133
|
||||
patch("isuue-133.patch", when="@0.3")
|
||||
|
@@ -96,6 +96,7 @@ class PyPyside2(PythonPackage):
|
||||
depends_on("libxml2@2.6.32:", when="+doc", type="build")
|
||||
depends_on("libxslt@1.1.19:", when="+doc", type="build")
|
||||
depends_on("py-sphinx", when="+doc", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def patch(self):
|
||||
filter_file(
|
||||
|
@@ -55,6 +55,7 @@ class PySip(PythonPackage):
|
||||
depends_on("python@:3.11", type=("build", "link", "run"))
|
||||
depends_on("flex", type="build")
|
||||
depends_on("bison", type="build")
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
def url_for_version(self, version):
|
||||
if version < Version("5"):
|
||||
|
@@ -41,6 +41,7 @@ class PyVermin(PythonPackage):
|
||||
version("0.10.0", sha256="3458a4d084bba5c95fd7208888aaf0e324a07ee092786ee4e5529f539ab4951f")
|
||||
|
||||
depends_on("py-setuptools", type=("build"))
|
||||
depends_on("gmake", type="build")
|
||||
|
||||
@run_after("install")
|
||||
@on_package_attributes(run_tests=True)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user