Changeset 2629 for XIOS3/trunk/make_xios


Ignore:
Timestamp:
04/25/24 15:05:23 (3 months ago)
Author:
jderouillat
Message:

Delete boost dependencies, the few features used are replaced by functions stored in extern/boost_extraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/make_xios

    r2608 r2629  
    77build_dir="./" 
    88build_suffixed="false" 
    9 use_extern_boost="false" 
    109use_extern_blitz="false" 
    1110use_memtrack="false" 
     
    3736        echo "       [--build_dir : name of the build directory" 
    3837        echo "       [--build_suffixed : generate automatically suffixed name of the build directory (e.g. config_X64_CURIE_prod)" 
    39         echo "       [--use_extern_boost : to use external boost library" 
    4038        echo "       [--use_extern_blitz : to use external blitz library" 
    4139            echo "       [--doc] : to generate Doxygen documentation (not available yet)" 
     
    5856         "--build_dir")  build_dir=$2     ; shift ; shift ;; 
    5957         "--build_suffixed")  build_suffixed="true" ; shift  ;; 
    60          "--use_extern_boost")  use_extern_boost="true" ; shift  ;; 
    6158         "--use_extern_blitz")  use_extern_blitz="true" ; shift  ;; 
    6259         "--doc")   doc="true"          ; shift ;; 
     
    7572    echo -e "- uncompress archives ..."          
    7673    for tarname in `ls $install_dir/tools/archive/*.tar.gz` ; do 
    77         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" ]] ) 
     74        if  ( [[ ${tarname} == "${install_dir}/tools/archive/blitz.tar.gz" ]] && [[ "$use_extern_blitz" == "true" ]] ) 
    7875        then 
    7976                continue 
     
    281278# End "Detecting if parallel compression is available" 
    282279 
    283  
    284280# Setting path for boost 
    285 if [[ "$use_extern_boost" == "true" ]] 
    286 then 
    287    rm -r $PWD/extern/boost 
    288    ln -s $PWD/.void_dir $PWD/extern/boost 
    289 else 
    290    export BOOST_INCDIR="-I${PWD}/extern/boost" 
    291    export BOOST_LIBDIR="" 
    292    export BOOST_LIB="" 
    293 fi 
     281export BOOST_INCDIR="-I${PWD}/extern/boost_extraction/include" 
    294282 
    295283# Setting path for blitz 
Note: See TracChangeset for help on using the changeset viewer.