Skip to content

Commit a022a84

Browse files
committed
up #1
add recipe for feelpp
1 parent 383ec19 commit a022a84

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
from spack import *
2+
3+
class Feelpp(CMakePackage):
4+
"""A description of Feel++."""
5+
6+
homepage = "https://docs.feelpp.org"
7+
git = "https://github.com/feelpp/feelpp.git"
8+
9+
maintainers = ['prudhomm']
10+
11+
version('master', branch='master')
12+
13+
# Specify minimum versions for dependencies and ensure petsc is compiled with mumps
14+
depends_on('[email protected]:', type='build')
15+
depends_on('[email protected]:')
16+
depends_on('[email protected]:+mumps+metis+double')
17+
# Add other dependencies as necessary
18+
19+
def cmake_args(self):
20+
args = []
21+
# Add any necessary CMake arguments here
22+
return args
23+
24+
def build(self, spec, prefix):
25+
with working_dir(self.build_directory):
26+
cmake('--preset', 'feelpp')
27+
cmake('--build', '--preset', 'feelpp')
28+
# If ctest is included in the preset, it can be used here as well.
29+
30+
def install(self, spec, prefix):
31+
# Custom installation logic, if necessary
32+
pass

0 commit comments

Comments
 (0)