-
Notifications
You must be signed in to change notification settings - Fork 26
/
fpm.toml
94 lines (76 loc) · 1.95 KB
/
fpm.toml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name = "elphbolt"
license = "GPLv3+"
author = "Nakib Haider Protik"
maintainer = "[email protected]"
copyright = "2023 Contributors of the elphbolt project."
[fortran]
implicit-external = true #Needed for v>=0.7 fpm
[library]
source-dir="src"
[preprocess]
[preprocess.cpp]
[dependencies]
#Pull from github
#testify = { git = "[email protected]:nakib/testify.git" }
#Use local copy
testify = {path = "thirdparty/testify"}
#Pull from github
#fhash = {git = "https://github.com/LKedward/fhash.git"}
#Use local copy
fhash = {path = "thirdparty/fhash"}
#Use local copy from thirdparty directory
spglib = {path = "thirdparty/spglib"}
[build]
#By default, I will use try to use the forlapack and forblas builds from ~/.local/lib/
#These will have been put there by the configuration step.
link = ["forlapack", "forblas"]
#
#Alternatively, you can use your preexisting blas and lapack, or openblas,
#or whatever other implementation by commenting out the above and uncommenting
#one of the following. Modify according to your system.
#link = ["blas", "lapack"]
#link = ["openblas"]
external-modules = ["openacc"]
auto-tests = false
[install]
library = true
[[executable]]
name="elphbolt"
source-dir="app"
main="elphbolt.f90"
[[executable]]
name="superconda"
source-dir="app"
main="superconda.f90"
#[[executable]]
#name="test_V_perm_symm"
#source-dir="app"
#main="test_V_perm_symm.f90"
[[executable]]
name = "screening_comparison"
source-dir="src"
main = "screening_comparison.f90"
[[test]]
name = "test_misc"
source-dir="test"
main = "test_misc.f90"
[[test]]
name = "test_autodiff"
source-dir="test"
main = "test_autodiff.f90"
[[test]]
name = "test_periodictable"
source-dir="test"
main = "test_periodictable.f90"
[[test]]
name = "test_vector"
source-dir="test"
main = "test_vector.f90"
#[[test]]
#name = "check_interactions_symmetries"
#source-dir="test"
#main = "check_interactions_symmetries.f90"
[[test]]
name = "bte_regression"
source-dir="test"
main = "bte_regression.f90"