-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfpm.toml
More file actions
55 lines (50 loc) · 1.87 KB
/
fpm.toml
File metadata and controls
55 lines (50 loc) · 1.87 KB
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
name = "AniGFAna"
version = "0.1.0"
license = "MIT"
author = "Ryan Bignell"
maintainer = "Ryan07bignell+github@gmail.com"
copyright = "Copyright 2025, Ryan Bignell"
[preprocess]
[preprocess.cpp]
suffixes = ["F90", "f90"]
[library]
source-dir = "src"
[build]
auto-executables = true
auto-tests = true
#auto-examples = true
module-naming = false # breaks for stdlib + more
#[[test]]
#name = "sample"
#source-dir = "test"
#main = "main_tests.f90"
[install]
library = true
[fortran]
implicit-typing = false
implicit-external = false
source-form = "free"
[dependencies]
stdlib = '*'
# test-drive = { git = "https://github.com/fortran-lang/test-drive.git" }
bspline-fortran = { git="https://github.com/jacobwilliams/bspline-fortran.git" }
pyplot-fortran = { git="https://github.com/jacobwilliams/pyplot-fortran.git" }
roots-fortran = { git="https://github.com/jacobwilliams/roots-fortran.git" }
toml-f = { git = "https://github.com/toml-f/toml-f" }
csv-fortran = { git="https://github.com/jacobwilliams/csv-fortran.git" }
#FJsample = { git="https://gitlab.com/fastsum/wilsonflow/FJsample.git", preprocess.cpp.macros=['LOCALITYSUPPORT=1'] } # use if using modern compiler (gfortran15+, IFX 2024+, NVHPC)
FJsample = { git="https://gitlab.com/fastsum/wilsonflow/FJsample.git"}
[extra.fortitude.check]
ignore = [
"MOD011", # allows (/ /)
"MOD021", # allows .gt.
# "C132", # allows default public accessiblility
# "E001", # ignores syntax errors - useful as pre-processor support is tough
"S241", # allows strings with single quotes,
# "C011", # allows missing default in select case statements
]
preview = true
line-length = 132 # 132 is apparently an implicit standard in compilers?
# not sure this is actually working here...
[extra.fortitude.check.per-file-ignores]
"src/colours.f90" = ["C132"] # allows default public accessibility