spack/var/spack/repos/builtin/packages/actsvg/package.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.9 KiB
Python
Raw Normal View History

# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
acts: new versions (#32969) * acts: new versions In the 20.x release line, these are the changes, https://github.com/acts-project/acts/compare/v20.0.0...v20.2.0 - `option(ACTS_SETUP_ACTSVG "Build ActSVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_SYSTEM_ACTSVG "Use the ActSVG system library" OFF)` introduced in v20.1.0 - `option(ACTS_BUILD_PLUGIN_ACTSVG "Build SVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v20.1.0 - `option(ACTS_EXATRKX_ENABLE_ONNX "Build the Onnx backend for the exatrkx plugin" OFF)` introduced in v20.2.0 - `option(ACTS_EXATRKX_ENABLE_TORCH "Build the torchscript backend for the exatrkx plugin" ON)` introduced in v20.2.0 In the 19.x release line, these are the changes: https://github.com/acts-project/acts/compare/v19.7.0...v19.9.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v19.8.0 The new build options have not been implemented in this commit but will be implemented next. * acts: new variant svg * actsvg: new package * actsvg: style fixes * acts: new versions 20.3.0 and 19.10.0 * astsvg: depends_on boost googletest * actsvg: new version 0.4.26 (and style fix) Includes fix to build issue when +examples, https://github.com/acts-project/actsvg/pull/23 * acts: new variant tbb when +examples @19.8:19 @20.1: * acts: set ACTS_USE_EXAMPLES_TBB * acts: no need for ACTS_SETUP_ACTSVG * acts: move tbb variant to examples block * acts: ACTS_USE_SYSTEM_ACTSDD4HEP removed in 20.3 * acts: use new ACTS_USE_SYSTEM_LIBS * acts-dd4hep: new version 1.0.1, maintainer handle fixed * acts: simplify variant tbb condition
2022-10-22 19:56:22 +08:00
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Actsvg(CMakePackage):
"""An SVG based C++17 plotting library for ACTS detectors and
surfaces."""
homepage = "https://github.com/acts-project/actsvg"
url = "https://github.com/acts-project/actsvg/archive/refs/tags/v0.4.22.zip"
list_url = "https://github.com/acts-project/actsvg/tags"
acts: new versions (#32969) * acts: new versions In the 20.x release line, these are the changes, https://github.com/acts-project/acts/compare/v20.0.0...v20.2.0 - `option(ACTS_SETUP_ACTSVG "Build ActSVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_SYSTEM_ACTSVG "Use the ActSVG system library" OFF)` introduced in v20.1.0 - `option(ACTS_BUILD_PLUGIN_ACTSVG "Build SVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v20.1.0 - `option(ACTS_EXATRKX_ENABLE_ONNX "Build the Onnx backend for the exatrkx plugin" OFF)` introduced in v20.2.0 - `option(ACTS_EXATRKX_ENABLE_TORCH "Build the torchscript backend for the exatrkx plugin" ON)` introduced in v20.2.0 In the 19.x release line, these are the changes: https://github.com/acts-project/acts/compare/v19.7.0...v19.9.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v19.8.0 The new build options have not been implemented in this commit but will be implemented next. * acts: new variant svg * actsvg: new package * actsvg: style fixes * acts: new versions 20.3.0 and 19.10.0 * astsvg: depends_on boost googletest * actsvg: new version 0.4.26 (and style fix) Includes fix to build issue when +examples, https://github.com/acts-project/actsvg/pull/23 * acts: new variant tbb when +examples @19.8:19 @20.1: * acts: set ACTS_USE_EXAMPLES_TBB * acts: no need for ACTS_SETUP_ACTSVG * acts: move tbb variant to examples block * acts: ACTS_USE_SYSTEM_ACTSDD4HEP removed in 20.3 * acts: use new ACTS_USE_SYSTEM_LIBS * acts-dd4hep: new version 1.0.1, maintainer handle fixed * acts: simplify variant tbb condition
2022-10-22 19:56:22 +08:00
git = "https://github.com/acts-project/actsvg.git"
maintainers("HadrienG2", "wdconinc")
acts: new versions (#32969) * acts: new versions In the 20.x release line, these are the changes, https://github.com/acts-project/acts/compare/v20.0.0...v20.2.0 - `option(ACTS_SETUP_ACTSVG "Build ActSVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_SYSTEM_ACTSVG "Use the ActSVG system library" OFF)` introduced in v20.1.0 - `option(ACTS_BUILD_PLUGIN_ACTSVG "Build SVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v20.1.0 - `option(ACTS_EXATRKX_ENABLE_ONNX "Build the Onnx backend for the exatrkx plugin" OFF)` introduced in v20.2.0 - `option(ACTS_EXATRKX_ENABLE_TORCH "Build the torchscript backend for the exatrkx plugin" ON)` introduced in v20.2.0 In the 19.x release line, these are the changes: https://github.com/acts-project/acts/compare/v19.7.0...v19.9.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v19.8.0 The new build options have not been implemented in this commit but will be implemented next. * acts: new variant svg * actsvg: new package * actsvg: style fixes * acts: new versions 20.3.0 and 19.10.0 * astsvg: depends_on boost googletest * actsvg: new version 0.4.26 (and style fix) Includes fix to build issue when +examples, https://github.com/acts-project/actsvg/pull/23 * acts: new variant tbb when +examples @19.8:19 @20.1: * acts: set ACTS_USE_EXAMPLES_TBB * acts: no need for ACTS_SETUP_ACTSVG * acts: move tbb variant to examples block * acts: ACTS_USE_SYSTEM_ACTSDD4HEP removed in 20.3 * acts: use new ACTS_USE_SYSTEM_LIBS * acts-dd4hep: new version 1.0.1, maintainer handle fixed * acts: simplify variant tbb condition
2022-10-22 19:56:22 +08:00
version("0.4.35", sha256="693a4cc0e702842072a478c913895ed3596350ffdfa87f5d296ddd6ea36b61c6")
2023-05-16 05:14:45 +08:00
version("0.4.33", sha256="25c93b8382bdb1864b4d8de64b146fe8ea86eec84048d594c375700d2fff1d1d")
2023-03-12 15:30:08 +08:00
version("0.4.30", sha256="f7ffea39b3132914fcbb0fac6ab7395bef295cd6078dfd1c2509fd2d9aab0acb")
version("0.4.29", sha256="971f4f344c3143b654e6a86422534c6916f785f2c2c3785664c4ae7ddf2f5e4b")
version("0.4.28", sha256="12c6f0c41b1aeb21164c949498819976bf91a395968debcb400539713bdfc6b0")
version("0.4.27", sha256="f4b06ad6d0f424505f3b1315503c3197bebb24c900a498bda12c453919b06d27")
acts: new versions (#32969) * acts: new versions In the 20.x release line, these are the changes, https://github.com/acts-project/acts/compare/v20.0.0...v20.2.0 - `option(ACTS_SETUP_ACTSVG "Build ActSVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_SYSTEM_ACTSVG "Use the ActSVG system library" OFF)` introduced in v20.1.0 - `option(ACTS_BUILD_PLUGIN_ACTSVG "Build SVG display plugin" OFF)` introduced in v20.1.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v20.1.0 - `option(ACTS_EXATRKX_ENABLE_ONNX "Build the Onnx backend for the exatrkx plugin" OFF)` introduced in v20.2.0 - `option(ACTS_EXATRKX_ENABLE_TORCH "Build the torchscript backend for the exatrkx plugin" ON)` introduced in v20.2.0 In the 19.x release line, these are the changes: https://github.com/acts-project/acts/compare/v19.7.0...v19.9.0 - `option(ACTS_USE_EXAMPLES_TBB "Use Threading Building Blocks library in examples" ON)` introduced in v19.8.0 The new build options have not been implemented in this commit but will be implemented next. * acts: new variant svg * actsvg: new package * actsvg: style fixes * acts: new versions 20.3.0 and 19.10.0 * astsvg: depends_on boost googletest * actsvg: new version 0.4.26 (and style fix) Includes fix to build issue when +examples, https://github.com/acts-project/actsvg/pull/23 * acts: new variant tbb when +examples @19.8:19 @20.1: * acts: set ACTS_USE_EXAMPLES_TBB * acts: no need for ACTS_SETUP_ACTSVG * acts: move tbb variant to examples block * acts: ACTS_USE_SYSTEM_ACTSDD4HEP removed in 20.3 * acts: use new ACTS_USE_SYSTEM_LIBS * acts-dd4hep: new version 1.0.1, maintainer handle fixed * acts: simplify variant tbb condition
2022-10-22 19:56:22 +08:00
version("0.4.26", sha256="a1dfad15b616cac8191a355c1a87544571c36349400e3de56b9e5be6fa73714c")
variant("examples", default=False, description="Build the example applications")
variant("meta", default=True, description="Build the meta level interface")
depends_on("boost +program_options", type="test")
depends_on("boost +program_options", when="+examples")
depends_on("googletest", when="+examples")
def cmake_args(self):
args = [
self.define_from_variant("ACTSVG_BUILD_EXAMPLES", "examples"),
self.define_from_variant("ACTSVG_BUILD_META", "meta"),
self.define("ACTSVG_BUILD_TESTING", self.run_tests),
]
return args