summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMatthew Archer <36638242+ma595@users.noreply.github.com>2022-04-25 13:50:45 +0100
committerGitHub <noreply@github.com>2022-04-25 14:50:45 +0200
commit25d115ba1aa56a3c9e5535d9020186524b298697 (patch)
treef764e767bfdc950f2aea02bf054a1d1d8b5a182e /var
parentf37e07a882cb314ad3adb34f9ab55ac96858b1a1 (diff)
downloadspack-25d115ba1aa56a3c9e5535d9020186524b298697.tar.gz
spack-25d115ba1aa56a3c9e5535d9020186524b298697.tar.bz2
spack-25d115ba1aa56a3c9e5535d9020186524b298697.tar.xz
spack-25d115ba1aa56a3c9e5535d9020186524b298697.zip
ufcx: add new package (#29861)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ufcx/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ufcx/package.py b/var/spack/repos/builtin/packages/ufcx/package.py
new file mode 100644
index 0000000000..fa1b0e487f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ufcx/package.py
@@ -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'