Last change
on this file since 1906 was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
978 bytes
|
Rev | Line | |
---|
[1677] | 1 | # Compile modes (specified by user): libraries on mercure |
---|
| 2 | # |
---|
| 3 | # Note : - all libraries are compiled with -Pstack |
---|
| 4 | # - the models use their own (stack/static) option |
---|
| 5 | # |
---|
| 6 | if [ $compile_mode = default ]; then |
---|
| 7 | optc=" " |
---|
| 8 | optl=" " |
---|
| 9 | optf=" -Wf,-pvctl noassume " |
---|
| 10 | optf77=" -Wf,-pvctl noassume " |
---|
| 11 | elif [ $compile_mode = debug ]; then |
---|
| 12 | optc=" " |
---|
| 13 | optf=" -Wf,-pvctl noassume -ftrace" |
---|
| 14 | optf77=" -Wf,-pvctl noassume -ftrace" |
---|
| 15 | optl=" -ftrace" |
---|
| 16 | elif [ $compile_mode = profile ]; then |
---|
| 17 | echo "not yet possible" |
---|
| 18 | exit 1 |
---|
| 19 | elif [ $compile_mode = opt ]; then |
---|
| 20 | optc="-Chopt" |
---|
| 21 | optf="-Chopt" |
---|
| 22 | optf77="-Chopt" |
---|
| 23 | optl=" -Wl,-Z 1000000 -pi line=1000" |
---|
| 24 | elif [ $compile_mode = ad_hoc ]; then |
---|
| 25 | echo "with this option the options are set through GUI input" |
---|
| 26 | exit 1 |
---|
| 27 | else |
---|
| 28 | echo "Invalid compile mode" |
---|
| 29 | exit 1 |
---|
| 30 | fi |
---|
| 31 | |
---|
| 32 | # Other compile options |
---|
| 33 | |
---|
| 34 | optdbl="-dw -Wf,-A idbl4" |
---|
| 35 | optnh="" |
---|
| 36 | lstflags="-Wf,-L fmtlist transform" |
---|
Note: See
TracBrowser
for help on using the repository browser.