Ignore:
Timestamp:
03/14/18 15:56:53 (6 years ago)
Author:
oabramkina
Message:

Few corrections related to compilation options --use_extern_boost and --use_extern_blitz.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/make_xios

    r1453 r1458  
    6464    echo -e "- uncompress archives ..."          
    6565    for tarname in `ls $install_dir/tools/archive/*.tar.gz` ; do 
     66        if  ( [[ ${tarname} == "${install_dir}/tools/archive/boost.tar.gz" ]] && [[ "$use_extern_boost" == "true" ]] ) || ( [[ ${tarname} == "${install_dir}/tools/archive/blitz.tar.gz" ]] && [[ "$use_extern_blitz" == "true" ]] ) 
     67        then 
     68                continue 
     69        fi 
    6670        gunzip -f "$tarname" 
    6771        tar -xf ${tarname%.gz} 
     
    179183if [[ "$use_extern_boost" == "true" ]] 
    180184then 
     185   rm -r $PWD/extern/boost 
    181186   ln -s $PWD/.void_dir $PWD/extern/boost 
    182187else 
     
    189194if [[ "$use_extern_blitz" == "true" ]] 
    190195then 
     196   rm -r $PWD/extern/blitz 
    191197   ln -s $PWD/.void_dir $PWD/extern/blitz 
    192198else 
Note: See TracChangeset for help on using the changeset viewer.