Changeset 186 for build


Ignore:
Timestamp:
Feb 13, 2007, 6:02:55 AM (17 years ago)
Author:
barrand
Message:
 
Location:
build/snova/trunk/obuild
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • build/snova/trunk/obuild/setup.csh

    r185 r186  
    191191set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    192192if ( ${obuild_platform_result} == yes ) then
     193if ( "${obuild_platform_exe}" == "" ) then
     194  echo "Variable obuild_platform_exe not defined."
     195  exit
     196endif
     197set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     198if ( ${obuild_platform_result} == yes ) then
     199  if (  $?DYLD_LIBRARY_PATH ) then
     200    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib"
     201  else
     202    setenv DYLD_LIBRARY_PATH "${CLHEP_home}/lib"
     203  endif
     204endif
     205unset obuild_platform_result
     206else
     207if ( "${obuild_platform_exe}" == "" ) then
     208  echo "Variable obuild_platform_exe not defined."
     209  exit
     210endif
     211set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     212if ( ${obuild_platform_result} == yes ) then
     213  if (  $?LD_LIBRARY_PATH ) then
     214    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${CLHEP_home}/lib"
     215  else
     216    setenv LD_LIBRARY_PATH "${CLHEP_home}/lib"
     217  endif
     218endif
     219unset obuild_platform_result
     220endif
     221unset obuild_platform_result
     222
     223if ( "${obuild_platform_exe}" == "" ) then
     224  echo "Variable obuild_platform_exe not defined."
     225  exit
     226endif
     227set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
     228if ( ${obuild_platform_result} == yes ) then
     229if ( "${obuild_platform_exe}" == "" ) then
     230  echo "Variable obuild_platform_exe not defined."
     231  exit
     232endif
     233set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     234if ( ${obuild_platform_result} == yes ) then
     235  if (  $?DYLD_LIBRARY_PATH ) then
     236    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${Geant4_home}/lib"
     237  else
     238    setenv DYLD_LIBRARY_PATH "${Geant4_home}/lib"
     239  endif
     240endif
     241unset obuild_platform_result
     242else
     243if ( "${obuild_platform_exe}" == "" ) then
     244  echo "Variable obuild_platform_exe not defined."
     245  exit
     246endif
     247set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
     248if ( ${obuild_platform_result} == yes ) then
     249  if (  $?LD_LIBRARY_PATH ) then
     250    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${Geant4_home}/lib"
     251  else
     252    setenv LD_LIBRARY_PATH "${Geant4_home}/lib"
     253  endif
     254endif
     255unset obuild_platform_result
     256endif
     257unset obuild_platform_result
     258
     259if ( "${obuild_platform_exe}" == "" ) then
     260  echo "Variable obuild_platform_exe not defined."
     261  exit
     262endif
     263set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
     264if ( ${obuild_platform_result} == yes ) then
    193265  if (  $?DYLD_LIBRARY_PATH ) then
    194266    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${obuild_snova_path}/${obuild_dir_bin}"
  • build/snova/trunk/obuild/setup.sh

    r185 r186  
    190190obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
    191191if [ ${obuild_platform_result} = yes ] ; then
     192if [ "${obuild_platform_exe}" = "" ] ; then
     193  echo "Variable obuild_platform_exe not defined."
     194  return
     195fi
     196obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     197if [ ${obuild_platform_result} = yes ] ; then
     198  if [  "${DYLD_LIBRARY_PATH}" = "" ] ; then
     199    DYLD_LIBRARY_PATH="${CLHEP_home}/lib"
     200    export DYLD_LIBRARY_PATH
     201  else
     202    DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib"
     203    export DYLD_LIBRARY_PATH
     204  fi
     205fi
     206unset obuild_platform_result
     207else
     208if [ "${obuild_platform_exe}" = "" ] ; then
     209  echo "Variable obuild_platform_exe not defined."
     210  return
     211fi
     212obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     213if [ ${obuild_platform_result} = yes ] ; then
     214  if [  "${LD_LIBRARY_PATH}" = "" ] ; then
     215    LD_LIBRARY_PATH="${CLHEP_home}/lib"
     216    export LD_LIBRARY_PATH
     217  else
     218    LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CLHEP_home}/lib"
     219    export LD_LIBRARY_PATH
     220  fi
     221fi
     222unset obuild_platform_result
     223fi
     224unset obuild_platform_result
     225
     226if [ "${obuild_platform_exe}" = "" ] ; then
     227  echo "Variable obuild_platform_exe not defined."
     228  return
     229fi
     230obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
     231if [ ${obuild_platform_result} = yes ] ; then
     232if [ "${obuild_platform_exe}" = "" ] ; then
     233  echo "Variable obuild_platform_exe not defined."
     234  return
     235fi
     236obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     237if [ ${obuild_platform_result} = yes ] ; then
     238  if [  "${DYLD_LIBRARY_PATH}" = "" ] ; then
     239    DYLD_LIBRARY_PATH="${Geant4_home}/lib"
     240    export DYLD_LIBRARY_PATH
     241  else
     242    DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${Geant4_home}/lib"
     243    export DYLD_LIBRARY_PATH
     244  fi
     245fi
     246unset obuild_platform_result
     247else
     248if [ "${obuild_platform_exe}" = "" ] ; then
     249  echo "Variable obuild_platform_exe not defined."
     250  return
     251fi
     252obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     253if [ ${obuild_platform_result} = yes ] ; then
     254  if [  "${LD_LIBRARY_PATH}" = "" ] ; then
     255    LD_LIBRARY_PATH="${Geant4_home}/lib"
     256    export LD_LIBRARY_PATH
     257  else
     258    LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${Geant4_home}/lib"
     259    export LD_LIBRARY_PATH
     260  fi
     261fi
     262unset obuild_platform_result
     263fi
     264unset obuild_platform_result
     265
     266if [ "${obuild_platform_exe}" = "" ] ; then
     267  echo "Variable obuild_platform_exe not defined."
     268  return
     269fi
     270obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`
     271if [ ${obuild_platform_result} = yes ] ; then
    192272  if [  "${DYLD_LIBRARY_PATH}" = "" ] ; then
    193273    DYLD_LIBRARY_PATH="${obuild_snova_path}/${obuild_dir_bin}"
  • build/snova/trunk/obuild/this.obuild

    r185 r186  
    112112      <exec from="HDF5"/>
    113113
     114      <load_library_path copy="load_library_path" from="CLHEP"/>
     115      <load_library_path copy="load_library_path" from="Geant4"/>
     116
    114117      <load_library_path/>
    115118    </setup>
Note: See TracChangeset for help on using the changeset viewer.