Skip to content

Commit f4af286

Browse files
committed
Add FPM response file.
1 parent 57883ef commit f4af286

File tree

4 files changed

+43
-5
lines changed

4 files changed

+43
-5
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,22 @@ $ make install PREFIX=/opt
9797
Using FPM, a preprocessor flag has to be passed to GNU Fortran. On FreeBSD:
9898

9999
```
100-
$ fpm build --profile release --flag "-D__FreeBSD__"
100+
$ fpm @freebsd-build
101+
$ fpm @freebsd-install
101102
```
102103

103104
On Linux (x86-64):
104105

105106
```
106-
$ fpm build --profile release --flag "-D__linux__"
107+
$ fpm @linux-amd64-build
108+
$ fpm @linux-amd64-install
107109
```
108110

109111
On Linux (aarch64):
110112

111113
```
112-
$ fpm build --profile release --flag "-D__linux__ -D__aarch64__"
114+
$ fpm @linux-aarch64-build
115+
$ fpm @linux-aarch64-install
113116
```
114117

115118
## Source Code Documentation

ford.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project: fortran-unix
2-
version: 0.2.0
2+
version: 0.3.0
33
license: isc
44
doc_license: by
55
graph: false

fpm.rsp

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@freebsd-build
2+
option build --profile release --flag "-D__FreeBSD__"
3+
4+
@freebsd-install
5+
option install --profile release --flag "-D__FreeBSD__"
6+
7+
@freebsd-run
8+
option run --profile release --flag "-D__FreeBSD__"
9+
10+
@freebsd-test
11+
option test --profile release --flag "-D__FreeBSD__"
12+
13+
@linux-aarch64-build
14+
option build --profile release --flag "-D__linux__ -D__aarch64__"
15+
16+
@linux-aarch64-install
17+
option install --profile release --flag "-D__linux__ -D__aarch64__"
18+
19+
@linux-aarch64-run
20+
option run --profile release --flag "-D__linux__ -D__aarch64__"
21+
22+
@linux-aarch64-test
23+
option test --profile release --flag "-D__linux__ -D__aarch64__"
24+
25+
@linux-amd64-build
26+
option build --profile release --flag "-D__linux__"
27+
28+
@linux-amd64-install
29+
option install --profile release --flag "-D__linux__"
30+
31+
@linux-amd64-run
32+
option run --profile release --flag "-D__linux__"
33+
34+
@linux-amd64-test
35+
option test --profile release --flag "-D__linux__"

fpm.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "fortran-unix"
2-
version = "0.2.0"
2+
version = "0.3.0"
33
license = "ISC"
44
author = "Philipp Engel"
55
maintainer = "@interkosmos"

0 commit comments

Comments
 (0)