ufcx: add new package (#29861)

This commit is contained in:
Matthew Archer 2022-04-25 13:50:45 +01:00 committed by GitHub
parent f37e07a882
commit 25d115ba1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2022 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 import *
class Ufcx(CMakePackage):
"""FFCx provides the ufcx.h interface header for finite element kernels,
used by DOLFINx. ufcx.h can be installed from the FFCx repo without
making it dependent on Python.
"""
homepage = 'https://github.com/FEniCS/ffcx'
git = 'https://github.com/FEniCS/ffcx.git'
url = 'https://github.com/FEniCS/ffcx/archive/refs/heads/main.zip'
maintainers = ['ma595']
version('main', branch='main')
root_cmakelists_dir = 'cmake'