|
| 1 | +[modes] |
| 2 | +modes = gnu gnu-debug gnu-coverage |
| 3 | + intel intel-debug |
| 4 | + errors-analysis |
| 5 | + gnu-pure gnu-debug-pure gnu-coverage-pure |
| 6 | + intel-pure intel-debug-pure |
| 7 | + |
| 8 | +[common-variables] |
| 9 | +$CSTATIC_GNU = -cpp -c -frealloc-lhs |
| 10 | +$CSTATIC_INT = -cpp -c -assume realloc_lhs |
| 11 | +$DEBUG_GNU = -Og -g3 -Warray-bounds -Wcharacter-truncation -Wline-truncation -Wimplicit-interface -Wimplicit-procedure -Wunderflow -Wuninitialized -fcheck=all -fmodule-private -ffree-line-length-132 -fimplicit-none -fbacktrace -fdump-core -finit-real=nan -std=f2008 -fall-intrinsics |
| 12 | +$DEBUG_INT = -O0 -debug all -check all -warn all -extend-source 132 -traceback -gen-interfaces -fp-stack-check -fstack-protector-all -ftrapuv -no-ftz -std08 |
| 13 | +$OPTIMIZE = -O2 |
| 14 | +$EXDIRS = src/tests/parallel/ src/tests/regression/ |
| 15 | + PENF/src/tests/ |
| 16 | + FACE/src/tests/ FACE/src/third_party/ |
| 17 | + FLAP/src/tests/ FLAP/src/third_party/ |
| 18 | + WenOOF/src/tests/ WenOOF/src/third_party/ |
| 19 | + |
| 20 | +# main modes |
| 21 | +[gnu] |
| 22 | +help = Build test in release mode with GNU gfortran |
| 23 | +compiler = gnu |
| 24 | +cflags = $CSTATIC_GNU $OPTIMIZE |
| 25 | +lflags = $OPTIMIZE |
| 26 | +template = template-common |
| 27 | + |
| 28 | +[gnu-debug] |
| 29 | +help = Build test in debug mode with GNU gfortran |
| 30 | +compiler = gnu |
| 31 | +cflags = $CSTATIC_GNU $DEBUG_GNU |
| 32 | +lflags = $DEBUG_GNU |
| 33 | +template = template-common |
| 34 | + |
| 35 | +[gnu-coverage] |
| 36 | +help = Build test in release coverage mode with GNU gfortran |
| 37 | +compiler = gnu |
| 38 | +cflags = $CSTATIC_GNU $DEBUG_GNU |
| 39 | +lflags = $DEBUG_GNU |
| 40 | +coverage = True |
| 41 | +template = template-common |
| 42 | + |
| 43 | +[intel] |
| 44 | +help = Build test in release mode with Intel Fortran |
| 45 | +compiler = intel |
| 46 | +cflags = $CSTATIC_INT $OPTIMIZE |
| 47 | +lflags = $OPTIMIZE |
| 48 | +template = template-common |
| 49 | + |
| 50 | +[intel-debug] |
| 51 | +help = Build test in debug mode with Intel Fortran |
| 52 | +compiler = intel |
| 53 | +cflags = $CSTATIC_INT $DEBUG_INT |
| 54 | +lflags = $DEBUG_INT |
| 55 | +template = template-common |
| 56 | + |
| 57 | +[errors-analysis] |
| 58 | +help = Build test in release mode (for errors analysis) with GNU gfortran |
| 59 | +compiler = gnu |
| 60 | +cflags = $CSTATIC_GNU $OPTIMIZE |
| 61 | +lflags = $OPTIMIZE |
| 62 | +cflags_heritage = True |
| 63 | +target = src/tests/lcc/foodie_test_lcce.f90 |
| 64 | +exclude_dirs = $EXDIRS |
| 65 | +mod_dir = mod |
| 66 | +obj_dir = obj |
| 67 | +src = src/ |
| 68 | +colors = True |
| 69 | +quiet = False |
| 70 | +log = True |
| 71 | +jobs = 10 |
| 72 | + |
| 73 | +# pure modes for testing FOODIE ADT with "pure" procedures |
| 74 | +[gnu-pure] |
| 75 | +help = Build test in release mode with GNU gfortran |
| 76 | +compiler = gnu |
| 77 | +cflags = $CSTATIC_GNU $OPTIMIZE |
| 78 | +lflags = $OPTIMIZE |
| 79 | +preproc = -DPURE |
| 80 | +template = template-common |
| 81 | + |
| 82 | +[gnu-debug-pure] |
| 83 | +help = Build test in debug mode with GNU gfortran |
| 84 | +compiler = gnu |
| 85 | +cflags = $CSTATIC_GNU $DEBUG_GNU |
| 86 | +lflags = $DEBUG_GNU |
| 87 | +preproc = -DPURE |
| 88 | +template = template-common |
| 89 | + |
| 90 | +[gnu-coverage-pure] |
| 91 | +help = Build test in release coverage mode with GNU gfortran |
| 92 | +compiler = gnu |
| 93 | +cflags = $CSTATIC_GNU $OPTIMIZE |
| 94 | +lflags = $OPTIMIZE |
| 95 | +preproc = -DPURE |
| 96 | +coverage = True |
| 97 | +template = template-common |
| 98 | + |
| 99 | +[intel-pure] |
| 100 | +help = Build test in release mode with Intel Fortran |
| 101 | +compiler = intel |
| 102 | +cflags = $CSTATIC_INT $OPTIMIZE |
| 103 | +lflags = $OPTIMIZE |
| 104 | +preproc = -DPURE |
| 105 | +template = template-common |
| 106 | + |
| 107 | +[intel-debug-pure] |
| 108 | +help = Build test in debug mode with Intel Fortran |
| 109 | +compiler = intel |
| 110 | +cflags = $CSTATIC_INT $DEBUG_INT |
| 111 | +lflags = $DEBUG_INT |
| 112 | +preproc = -DPURE |
| 113 | +template = template-common |
| 114 | + |
| 115 | +# templates |
| 116 | +[template-common] |
| 117 | +cflags_heritage = True |
| 118 | +build_dir = build/tests/lcc/ |
| 119 | +mod_dir = mod |
| 120 | +obj_dir = obj |
| 121 | +src = src/ |
| 122 | +target = src/tests/lcc/foodie_test_lcce.f90 |
| 123 | +exclude_dirs = $EXDIRS |
| 124 | +colors = True |
| 125 | +quiet = False |
| 126 | +log = True |
| 127 | +jobs = 10 |
0 commit comments