- Timestamp:
- 2018-06-07T19:15:39+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/build/makenemo
r9735 r9765 119 119 Usage: 120 120 ------ 121 ./makenemo -[a dru] ... -m ... [-h] [-[dejntv] ...] [{list_key,clean,clean_config}] [{add_key,del_key} ...]122 123 The previous build is reused by default if no given options124 125 Mandatory: 'all' to list available arguments by option126 -a Demonstrationcase (./tests)121 ./makenemo -[aru] CONFIG -m ARCH [-[dehjntv] ...] [{list_key,clean,clean_config}] [{add_key,del_key} ...] 122 123 The previous build is reused by default if no mandatory option given 124 125 Mandatory: 126 -a Academic test case (./tests) 127 127 -m Computing architecture (./arch) 128 128 -r Reference configuration (./cfgs) 129 129 -u Scripted remote configuration (./tests/rmt_cfgs.txt) 130 Pass 'all' to any option to list available arguments 130 131 131 132 Optional: 132 133 -d Set of new sub-components (space separated list from ./src directory) 133 134 -e Path for alternative patch location (default: 'MY_SRC' in configuration folder) 135 -h Print this help 134 136 -j Number of processes to compile (0: no build) 135 137 -n Name for new configuration … … 139 141 140 142 Examples: 141 ¤ Configuration build142 Creation : ./makenemo -[adru] ... -m... [...]143 Duplication : ./makenemo - r ... -n... [...]143 ¤ Configuration creation 144 Build : ./makenemo -[aru] ... [...] 145 Duplication : ./makenemo -n ... -[aru] ... [...] 144 146 ¤ Configuration management 145 147 List CPP keys : ./makenemo [...] list_key … … 147 149 Fresh start : ./makenemo [...] clean 148 150 Erasure : ./makenemo [...] clean_config 149 150 151 EOF 151 152 exit 0 ;; … … 259 260 else 260 261 262 ## Reuse a working cfg 261 263 if [[ -f ${CONFIG_DIR}/work_cfgs.txt && $( grep "${TML_CONF} " ${CONFIG_DIR}/work_cfgs.txt ) ]]; then 262 264 conf_file=work_cfgs.txt 263 265 fi 264 266 267 ## If new cfg exists, work in it 265 268 [ -z "${NEW_CONF}" ] && NEW_CONF=${TML_CONF} 266 269 … … 380 383 rm -rf ${NEMO_TDIR}/${NEW_CONF}/AGRIFLIB 381 384 rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 385 rm -f ${NEMO_TDIR}/${NEW_CONF}/EXP00/nemo 382 386 rm -rf ${NEMO_TDIR}/${NEW_CONF}/LONG 383 387 rm -rf ${NEMO_TDIR}/${NEW_CONF}/NEMOFILES … … 385 389 rm -rf ${NEMO_TDIR}/${NEW_CONF}/SHORT 386 390 rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 387 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/nemo 388 rm -f ${COMPIL_DIR}/*history ${COMPIL_DIR}/*fcm ${COMPIL_DIR}/*txt 391 rm -f ${COMPIL_DIR}/*history ${COMPIL_DIR}/*fcm ${COMPIL_DIR}/*txt 389 392 echo "cleaning ${NEW_CONF} AGRIFLIB, BLD, LONG, NEMOFILES, REPRO_*, SHORT, WORK" 390 393 fi
Note: See TracChangeset
for help on using the changeset viewer.