New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2158 for branches/DEV_r1879_FCM/NEMOGCM/TOOLS/maketools – NEMO

Ignore:
Timestamp:
2010-10-05T15:30:03+02:00 (14 years ago)
Author:
rblod
Message:

FCM branch, improve clean option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/maketools

    r2143 r2158  
    145145. ${COMPIL_DIR}/Fcheck_archfile.sh arch_tools.fcm ${CMP_NAM} || exit 
    146146 
    147 #- Mak the building directory 
     147#- Choose a default tool if needed --- 
     148#- REBUILD or last one used --- 
     149. ${COMPIL_DIR}/Fcheck_config.sh tools.txt ${NEW_CONF} || exit 
     150 
     151#- Save new configuration --- 
     152echo "${NEW_CONF} "  > ${COMPIL_DIR}/tools.txt 
     153 
     154#- Make the building directory 
    148155. ${COMPIL_DIR}/Fmake_bld.sh ${TOOLS_DIR} ${NEW_CONF} ${NEMO_TDIR} || exit 
    149156 
     
    159166 
    160167fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/bld_tools.cfg || cd - 
     168if [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/*.exe ]; then 
    161169for i in `ls ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/*.exe` 
    162170   do 
    163    ln -sf ${i}  ${TOOLS_DIR}/${NEW_CONF}/. 
     171      ln -sf ${i}  ${TOOLS_DIR}/${NEW_CONF}/. 
    164172   done 
    165173fi 
    166  
     174fi 
    167175#- 
    168176#- Come back to original directory --- 
Note: See TracChangeset for help on using the changeset viewer.