forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'spack:develop' into develop
- Loading branch information
Showing
12 changed files
with
229 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,6 +200,9 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage): | |
depends_on("aws-sdk-cpp", when="+aws") | ||
depends_on("libcatalyst@2", when="+libcatalyst") | ||
|
||
# error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'} | ||
conflicts("^[email protected]:", when="@:2.7") | ||
|
||
# Fix findmpi when called by dependees | ||
# See https://github.com/ornladios/ADIOS2/pull/1632 | ||
patch("cmake-update-findmpi.patch", when="@2.4.0") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2013-2024 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 ByteLite(CMakePackage): | ||
"""byte lite - A C++17-like byte type for C++98, C++11 and later | ||
in a single-file header-only library""" | ||
|
||
homepage = "https://github.com/martinmoene/byte-lite" | ||
url = "https://github.com/martinmoene/byte-lite/archive/refs/tags/v0.3.0.tar.gz" | ||
|
||
license("BSL-1.0", checked_by="pranav-sivaraman") | ||
|
||
version("0.3.0", sha256="1a19e237b12bb098297232b0a74ec08c18ac07ac5ac6e659c1d5d8a4ed0e4813") | ||
|
||
depends_on("cxx", type="build") | ||
depends_on("[email protected]:", type="build") | ||
|
||
conflicts("%gcc@:4.7") | ||
conflicts("%clang@:3.4") | ||
conflicts("%apple-clang@:5") | ||
conflicts("%mvsc@:5") | ||
|
||
def cmake_args(self): | ||
return [self.define("BYTE_LITE_OPT_BUILD_TESTS", self.run_tests)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Copyright 2013-2024 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 Gem5(SConsPackage): | ||
"""The gem5 simulator is a modular platform for computer-system | ||
architecture research, encompassing system-level architecture as | ||
well as processor microarchitecture. gem5 is a community led | ||
project with an open governance model. gem5 was originally | ||
conceived for computer architecture research in academia, but it | ||
has grown to be used in computer system design by academia, | ||
industry for research, and in teaching.""" | ||
|
||
homepage = "https://www.gem5.org" | ||
git = "https://github.com/gem5/gem5" | ||
url = "https://github.com/gem5/gem5/archive/refs/tags/v24.0.0.0.tar.gz" | ||
|
||
version("24.0.0.1", tag="v24.0.0.1", commit="b1a44b89c7bae73fae2dc547bc1f871452075b85") | ||
version("24.0.0.0", tag="v24.0.0.0", commit="43769abaf05120fed1e4e0cfbb34619edbc10f3f") | ||
|
||
depends_on("c", type="build") | ||
depends_on("cxx", type="build") | ||
depends_on("scons", type="build") | ||
depends_on("py-mypy", type="build") | ||
depends_on("py-pybind11", type="build") | ||
depends_on("python") | ||
depends_on("gettext") | ||
depends_on("hdf5+cxx") | ||
depends_on("protobuf") | ||
depends_on("gperftools") | ||
depends_on("graphviz+pangocairo", type=("build", "run")) | ||
depends_on("py-pydot", type=("build", "run")) | ||
depends_on("capstone") | ||
|
||
def patch(self): | ||
filter_file( | ||
" Environment(tools=[", | ||
" Environment(ENV=os.environ, tools=[", | ||
"SConstruct", | ||
string=True, | ||
) | ||
filter_file( | ||
"""conf.env['CONF']['HAVE_PERF_ATTR_EXCLUDE_HOST'] = conf.CheckMember(""", | ||
"""conf.env['CONF']['HAVE_PERF_ATTR_EXCLUDE_HOST'] = bool(conf.CheckMember(""", | ||
"src/cpu/kvm/SConsopts", | ||
string=True, | ||
) | ||
filter_file( | ||
"""perf_event_attr', 'exclude_host')""", | ||
"""perf_event_attr', 'exclude_host'))""", | ||
"src/cpu/kvm/SConsopts", | ||
string=True, | ||
) | ||
|
||
def install(self, spec, prefix): | ||
mkdirp(prefix.bin) | ||
install("build/ALL/gem5.opt", prefix.bin) | ||
|
||
def build_args(self, spec, prefix): | ||
args = [] | ||
args.append("build/ALL/gem5.opt") | ||
args.append(f"-j{spack.config.determine_number_of_jobs(parallel=True)}") | ||
args.append("--ignore-style") | ||
|
||
return args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 2013-2024 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 Opencolorio(CMakePackage): | ||
"""OpenColorIO (OCIO) is a complete color management solution geared towards motion | ||
picture production with an emphasis on visual effects and computer animation.""" | ||
|
||
homepage = "https://opencolorio.readthedocs.io" | ||
git = "https://github.com/AcademySoftwareFoundation/OpenColorIO" | ||
url = ( | ||
"https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v2.4.0.tar.gz" | ||
) | ||
license("Apache-2.0") | ||
|
||
version("2.4.0", sha256="0ff3966b9214da0941b2b1cbdab3975a00a51fc6f3417fa860f98f5358f2c282") | ||
|
||
# Core dependencies | ||
depends_on("[email protected]:", type="build") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:") | ||
|
||
# Optional dependencies | ||
variant("lcms", default=False, description="Little CMS for ociobakelut") | ||
depends_on("[email protected]:", when="+lcms") | ||
|
||
variant("python", default=False, description="Build python bindings") | ||
extends("python", when="+python") | ||
depends_on("py-pybind11", when="+python", type=("build", "run")) | ||
|
||
def cmake_args(self): | ||
args = ["-DOCIO_BUILD_PYTHON={0}".format("ON" if "+python" in self.spec else "OFF")] | ||
return args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,9 @@ class Openimageio(CMakePackage): | |
variant("qt", default=False, description="Build qt viewer") | ||
depends_on("[email protected]:+opengl", when="+qt") | ||
|
||
variant("ocio", default=False, description="Support video frames") | ||
depends_on("[email protected]:", when="+ocio") | ||
|
||
def url_for_version(self, version): | ||
if version >= Version("2"): | ||
return super().url_for_version(version) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ class PyAliveProgress(PythonPackage): | |
version("2.4.1", sha256="089757c8197f27ad972ba27e1060f6db92368d83c736884e159034fd74865323") | ||
version("1.6.2", sha256="642e1ce98becf226c8c36bf24e10221085998c5465a357a66fb83b7dc618b43e") | ||
|
||
depends_on("[email protected]:3.8", type=("build", "run")) | ||
depends_on("[email protected]:3", type=("build", "run")) | ||
depends_on("[email protected]:3", type=("build", "run"), when="@2:") | ||
depends_on("[email protected]:3", type=("build", "run"), when="@2.2:") | ||
depends_on("py-setuptools", type="build") | ||
|
30 changes: 30 additions & 0 deletions
30
var/spack/repos/builtin/packages/py-olcf-velocity/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright 2013-2024 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 PyOlcfVelocity(PythonPackage): | ||
"""A tool to help with the maintenance of container build scripts on multiple systems, | ||
backends (e.g podman or apptainer) and distros.""" | ||
|
||
homepage = "https://olcf.github.io/velocity/index.html" | ||
pypi = "olcf_velocity/olcf_velocity-0.1.3.tar.gz" | ||
|
||
maintainers("AcerP-py") | ||
|
||
license("UNKNOWN", checked_by="AcerP-py") | ||
|
||
version("0.1.3", sha256="08bd82d464e8cab6c61cab095d460b927a18e082cadb663bd5f935cf651b5c03") | ||
|
||
depends_on("[email protected]:", type=("build", "run")) | ||
|
||
depends_on("py-pyyaml", type="run") | ||
depends_on("py-networkx", type="run") | ||
depends_on("py-colorama", type="run") | ||
depends_on("py-loguru", type="run") | ||
depends_on("py-typing-extensions", type="run") | ||
|
||
depends_on("py-setuptools", type="build") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2013-2024 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 Pystring(CMakePackage): | ||
"""Pystring is a collection of C++ functions which match the interface and behavior | ||
of python's string class methods using std::string.""" | ||
|
||
git = "https://github.com/imageworks/pystring" | ||
url = "https://github.com/imageworks/pystring/archive/refs/tags/v1.1.4.tar.gz" | ||
|
||
license("Apache-2.0") | ||
|
||
version("1.1.4", sha256="49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb") | ||
|
||
# Core dependencies | ||
depends_on("[email protected]:", type="build") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters