-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfpm.rsp
More file actions
175 lines (158 loc) · 6.79 KB
/
fpm.rsp
File metadata and controls
175 lines (158 loc) · 6.79 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
################################################################################
# NOTE:
# must
# + specify optional --target keyword
# + use --keyword value, not --keyword=value
# + quote option strings starting with dash
################################################################################
# os: [ubuntu-latest, macos-latest, windows-latest]
# compiler: [gfortran, ifx, lfortran, flang-new, nvfortran]
################################################################################
#
@test_ubuntu-latest_gfortran_debug
print RESPONSE: ubuntu-latest
option test --target '*' --compiler gfortran --profile debug
option --flag "-DRSP"
@test_ubuntu-latest_ifx_debug
print RESPONSE: ubuntu-latest
option test --target '*' --compiler ifx --profile debug
option --flag "-DRSP"
@test_ubuntu-latest_lfortran_debug
print RESPONSE: ubuntu-latest
option test --target '*' --compiler lfortran --profile debug
option --flag "-DRSP --no-style-warnings --cpp"
@test_ubuntu-latest_flang-new_debug
print RESPONSE: ubuntu-latest
option test --target '*' --compiler flang-new --profile debug
option --flag "-DRSP"
@test_ubuntu-latest_nvfortran_debug
print RESPONSE: ubuntu-latest
option test --target '*' --compiler nvfortran --profile debug
option --flag "-DRSP"
#------------------------------------------------------------------------------#
#
@test_macos-latest_gfortran_debug
print RESPONSE: macos-latest
option test --target '*' --compiler gfortran --profile debug
option --flag "-DRSP"
@test_macos-latest_ifx_debug
print RESPONSE: macos-latest
option test --target '*' --compiler ifx --profile debug
option --flag "-DRSP"
@test_macos-latest_lfortran_debug
print RESPONSE: macos-latest
option test --target '*' --compiler lfortran --profile debug
option --flag "-DRSP --no-style-warnings --cpp"
@test_macos-latest_flang-new_debug
print RESPONSE: macos-latest
option test --target '*' --compiler flang-new --profile debug
option --flag "-DRSP"
@test_macos-latest_nvfortran_debug
print RESPONSE: macos-latest
option test --target '*' --compiler nvfortran --profile debug
option --flag "-DRSP"
#------------------------------------------------------------------------------#
#
@test_windows-latest_gfortran_debug
print RESPONSE: windows-latest gfortran debug
option test --target "*" --compiler gfortran
option --flag "-DRSP -D_WIN32 -Wall -Wextra -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -fcoarray=single -fimplicit-none -Werror=implicit-interface"
@test_windows-latest_ifx_debug
print RESPONSE: windows-latest ifx debug
option test --target "*" --compiler ifx --profile debug
option --flag "/fpp /D RSP"
@test_windows-latest_lfortran_debug
print RESPONSE: windows-latest lfortran debug
option test --target "*" --compiler lfortran --profile debug
option --flag "-DRSP -D_WIN32 --no-style-warnings --cpp"
@test_windows-latest_flang-new_debug
print RESPONSE: windows-latest flang-new debug
option test --target "*" --compiler flang-new
option --flag "-DRSP -D_WIN32"
@test_windows-latest_nvfortran_debug
print RESPONSE: windows-latest
option test --target "*" --compiler nvfortran --profile debug
option --flag "-DRSP -D_WIN32"
#------------------------------------------------------------------------------#
@test_ubuntu-latest_gfortran_release
option test --target '*' --compiler gfortran --profile release
option --flag "-DRSP -D_WIN32"
@test_ubuntu-latest_ifx_release
option test --target '*' --compiler ifx --profile release
option --flag "-DRSP -D_WIN32"
@test_ubuntu-latest_lfortran_release
option test --target '*' --compiler lfortran --profile release
option --flag "-DRSP --no-style-warnings --cpp"
@test_ubuntu-latest_flang-new_release
option test --target '*' --compiler flang-new --profile release
option --flag "-DRSP -D_WIN32"
@test_ubuntu-latest_nvfortran_release
option test --target '*' --compiler nvfortran --profile release
option --flag "-DRSP -D_WIN32"
#------------------------------------------------------------------------------#
@test_macos-latest_gfortran_release
option test --target '*' --compiler gfortran --profile release
option --flag "-DRSP"
@test_macos-latest_ifx_release
option test --target '*' --compiler ifx --profile release
option --flag "-DRSP"
@test_macos-latest_lfortran_release
option test --target '*' --compiler lfortran --profile release
option --flag "-DRSP --no-style-warnings --cpp"
@test_macos-latest_flang-new_release
option test --target '*' --compiler flang-new --profile release
option --flag "-DRSP"
@test_macos-latest_nvfortran_release
option test --target '*' --compiler nvfortran --profile release
option --flag "-DRSP"
#------------------------------------------------------------------------------#
@test_windows-latest_gfortran_release
option test --target "*" --compiler gfortran
option --flag "-DRSP -D_WIN32 -O3 -funroll-loops -Wimplicit-interface -fmax-errors=1 -fcoarray=single -fimplicit-none -Werror=implicit-interface"
@test_windows-latest_ifx_release
option test --target "*" --compiler ifx --profile release
option --flag "/fpp /D RSP"
@test_windows-latest_lfortran_release
option test --target "*" --compiler lfortran --profile release
option --flag "-DRSP -D_WIN32 --no-style-warnings --cpp"
@test_windows-latest_flang-new_release
option test --target "*" --compiler flang-new
option --flag "-DRSP -D_WIN32"
@test_windows-latest_nvfortran_release
option test --target "*" --compiler nvfortran --profile release
option --flag "-DRSP -D_WIN32"
#------------------------------------------------------------------------------#
################################################################################
@declare2
> found it
################################################################################
@debugg
option build --target '*'
option --compiler gfortran --profile debug
option --flag '-fdump-fortran-global'
option --link-flag '-fdump-fortran-global'
option --verbose
################################################################################
@rung
print run all apps with gfortran
# note --target is required in a response file
option run --target '*' --compiler gfortran --profile release
################################################################################
@testi
print run test apps with ifx
option test --target '*' --compiler ifx --profile release --verbose
################################################################################
@runi
print run all apps with ifx
option run --target '*' --compiler ifx --profile release
################################################################################
@runn
system banner RUNN
option run --compiler nvfortran --flag "-cuda -Mpreprocess"
@buildn
option build --compiler nvfortran --flag "-cuda -Mpreprocess"
@testn
option test --compiler nvfortran --flag "-cuda -Mpreprocess"
################################################################################
@box_month
options run --target demo_box_month --example --profile release --verbose