Changeset 1498
- Timestamp:
- 05/03/18 16:09:31 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/make_xios
r1497 r1498 34 34 echo " [--full] : to generate dependencies and recompile from scratch" 35 35 echo " [--use_oasis 'oasis3' 'oasis3_mct' : default oasis3_mct] : to use Oasis coupler" 36 echo " [--build_path : absolute or relativepath to the build directory"36 echo " [--build_path : absolute path to the build directory" 37 37 echo " [--build_dir : name of the build directory" 38 38 echo " [--build_suffixed : generate automatically suffixed name of the build directory (e.g. config_X64_CURIE_prod)" … … 82 82 fi 83 83 84 # Definition of the root directory of the build 84 # Definition of the root directory of the build 85 86 if [[ "$build_path" == "./" ]]; then 87 install_dir=$PWD 88 else 89 install_dir=${build_path} 90 fi 91 85 92 if [[ "$build_suffixed" == "true" ]]; then 86 install_dir=$PWD/${build_path}/config_${arch}_${compil_mode} 87 else 88 install_dir=$PWD/${build_path}/${build_dir} 89 fi 93 install_dir="${install_dir}/config_${arch}_${compil_mode}" 94 else 95 install_dir="${install_dir}/${build_dir}" 96 fi 97 90 98 mkdir -p $install_dir 91 99
Note: See TracChangeset
for help on using the changeset viewer.