Changeset 1458 for XIOS/trunk


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.

Location:
XIOS/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/arch/arch-XC30_Cray.path

    r1452 r1458  
    1111HDF5_LIB="" 
    1212 
    13 BOOST_INCDIR="-I $BOOST_INCDIR" 
    14 BOOST_LIBDIR="-L $BOOST_LIBDIR" 
     13BOOST_INCDIR="-I$BOOST_INCDIR" 
     14BOOST_LIBDIR="-L$BOOST_LIBDIR" 
    1515BOOST_LIB="" 
    1616 
    17 BLITZ_INCDIR="-I $BLITZ_INCDIR" 
    18 BLITZ_LIBDIR="-L $BLITZ_LIBDIR" 
     17BLITZ_INCDIR="-I$BLITZ_INCDIR" 
     18BLITZ_LIBDIR="-L$BLITZ_LIBDIR" 
    1919BLITZ_LIB="" 
    2020 
  • XIOS/trunk/make_xios

    r1452 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.