blob: e6e016c2099365059816603745ccc17f99e3b319 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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 FenicsUfcx(CMakePackage):
"""FFCx provides the ufcx.h interface header for generated finite element
kernels, used by DOLFINx. ufcx.h can be installed from the FFCx repo
without a Python build or runtime dependancy."""
homepage = "https://github.com/FEniCS/ffcx"
git = "https://github.com/FEniCS/ffcx.git"
url = "https://github.com/FEniCS/ffcx/archive/v0.4.2.tar.gz"
maintainers("ma595", "jhale")
version("main", branch="main")
version(
"0.5.0.post0", sha256="039908c9998b51ba53e5deb3a97016062c262f0a4285218644304f7d3cd35882"
)
version("0.5.0", sha256="3413409e5885e41e220f99e0f95cc817e94c4931143d1f700c6e0c5e1bfad1f6")
version("0.4.2", sha256="3be6eef064d6ef907245db5b6cc15d4e603762e68b76e53e099935ca91ef1ee4")
depends_on("cmake@3.19:", type="build")
root_cmakelists_dir = "cmake"
|