- Timestamp:
- 2019-10-18T14:33:36+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/build/makenemo
r11692 r11723 52 52 # - TOOLS_DIR : " " " 53 53 # - NEMO_DIR : " " " 54 # - REMOTE_CTL : URL link to a remote resource list for an external configuration 54 # - REMOTE_CTL : URL link to a remote resource list for an external configuration 55 55 # which is not part of the reference suite 56 # - LOCAL_REF : Nearest reference configuration to an external configuration 56 # - LOCAL_REF : Nearest reference configuration to an external configuration 57 57 # which is not part of the reference suite 58 58 # (used to populate work directories if remote access is not available) … … 119 119 Usage: 120 120 ------ 121 ./makenemo -[aru] CONFIG -m ARCH [-[dehjntv] ...] [{list_key,clean,clean_config}] [{add_key,del_key} ...] 122 123 Mandatory: 124 -m Computing architecture (./arch), FCM file describing the compilation settings 121 ./makenemo -[aru] CONFIG -m ARCH [-[dehjntv] ...] [{list_key,clean,clean_config}] 122 [{add_key,del_key} ...] 123 124 Mandatory 125 -m Computing architecture (./arch), FCM file describing the compilation settings 126 125 127 and one of the following option (use 'all' arg to list available items) 126 -r Reference configuration (./cfgs), proven with long-term support until the EOL of the release 127 -a Academic test case (./tests), ready to use at the release start without guarantee or support over time 128 -u Scripted remote configuration (see ./tests/rmt_cfgs.txt) 129 130 Optional: 131 -d New set of sub-components (list from ./src directory) 132 -e Path for alter patch location (default: 'MY_SRC' in configuration folder) 133 -h Print this help 134 -j Number of processes to compile (0: dry run with no build) 135 -n Name for new configuration 136 -s Path for alter source location (default: 'src' root directory) 137 -t Path for alter build location (default: 'BLD' in configuration folder) 138 -v Level of verbosity ([0-3]) 139 140 Examples: 128 129 -r Reference configuration (./cfgs), proven with long-term support 130 -a Academic test case (./tests), ready-to-use configuration with no support over time 131 -u Scripted remote configuration (see ./tests/rmt_cfgs.txt) 132 133 Optional 134 -d New set of sub-components (subfolders from ./src directory) 135 -e Path for alter patch location (default: 'MY_SRC' in configuration folder) 136 -h Print this help 137 -j Number of processes to compile (0: dry run with no build) 138 -n Name for new configuration 139 -s Path for alter source location (default: 'src' root directory) 140 -t Path for alter build location (default: 'BLD' in configuration folder) 141 -v Level of verbosity ([0-3]) 142 143 Examples 141 144 ¤ Configuration creation 142 Build : ./makenemo -[aru] ... [...]145 Build : ./makenemo -[aru] ... [...] 143 146 Copy : ./makenemo -n ... -[aru] ... [...] 144 147 ¤ Configuration management 145 List CPP keys : ./makenemo [...]list_key146 Add-Remove keys: ./makenemo [...]add_key '...' del_key '...'147 Fresh start : ./makenemo [...]clean148 Erasure : ./makenemo [...]clean_config148 List CPP keys : ./makenemo -n ... list_key 149 Add-Remove keys: ./makenemo -n ... add_key '...' del_key '...' 150 Fresh start : ./makenemo -n ... clean 151 Removal : ./makenemo -n ... clean_config 149 152 EOF 150 153 exit 0 ;; … … 258 261 else 259 262 260 ## Reuse a working cfg 263 ## Reuse a working cfg 261 264 if [[ -f ${CONFIG_DIR}/work_cfgs.txt && $( grep "${TML_CONF} " ${CONFIG_DIR}/work_cfgs.txt ) ]]; then 262 265 conf_file=work_cfgs.txt … … 362 365 363 366 ## if AGRIF we do a first preprocessing 364 if [[ ${#x_c} -eq 0 && "$AGRIFUSE" -eq 1 ]]; then 367 if [[ ${#x_c} -eq 0 && "$AGRIFUSE" -eq 1 ]]; then 365 368 fcm build --ignore-lock -j 1 ${COMPIL_DIR}/bld_preproagr.cfg ||{ cd - ; exit 1 ;} 366 369 echo ''
Note: See TracChangeset
for help on using the changeset viewer.