Ignore:
Timestamp:
Feb 9, 2007, 10:24:37 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/head/obuild/setup.csh

    r6 r92  
    129129set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    130130if ( ${obuild_platform_result} == yes ) then
    131 set bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p1"
     131set bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"
    132132endif
    133133unset obuild_platform_result
     
    147147set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    148148if ( ${obuild_platform_result} == yes ) then
    149 set GeomUtils_home="/Users/barrand/dev/exp/nemo/SNgeom/v0r1p0/build_area/GeomUtils"
    150 endif
    151 unset obuild_platform_result
    152 if ( "${obuild_platform_exe}" == "" ) then
    153   echo "Variable obuild_platform_exe not defined."
    154   exit
    155 endif
    156 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    157 if ( ${obuild_platform_result} == yes ) then
    158 set GeomUtils_platform="Darwin-i386"
     149set snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"
     150endif
     151unset obuild_platform_result
     152if ( "${obuild_platform_exe}" == "" ) then
     153  echo "Variable obuild_platform_exe not defined."
     154  exit
     155endif
     156set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
     157if ( ${obuild_platform_result} == yes ) then
     158set snova_platform="Darwin"
    159159endif
    160160unset obuild_platform_result
     
    165165set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    166166if ( ${obuild_platform_result} == yes ) then
    167 set SNgeom2_home="/Users/barrand/dev/exp/nemo/SNgeom/v0r1p0/build_area/SNgeom2"
     167set CLHEP_home="/usr/local/CLHEP/2.0.3.1"
    168168endif
    169169unset obuild_platform_result
     
    174174set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    175175if ( ${obuild_platform_result} == yes ) then
    176 set snova_home="/Users/barrand/dev/exp/nemo/SNgeom/v0r1p0/build_area/snova"
    177 endif
    178 unset obuild_platform_result
    179 if ( "${obuild_platform_exe}" == "" ) then
    180   echo "Variable obuild_platform_exe not defined."
    181   exit
    182 endif
    183 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    184 if ( ${obuild_platform_result} == yes ) then
    185 set CLHEP_home="/usr/local/CLHEP/2.0.3.1"
    186 endif
    187 unset obuild_platform_result
    188 if ( "${obuild_platform_exe}" == "" ) then
    189   echo "Variable obuild_platform_exe not defined."
    190   exit
    191 endif
    192 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`
    193 if ( ${obuild_platform_result} == yes ) then
    194 set Geant4_home="/geant4/geant4.8.2"
    195 endif
    196 unset obuild_platform_result
    197 if ( "${obuild_platform_exe}" == "" ) then
    198   echo "Variable obuild_platform_exe not defined."
    199   exit
    200 endif
    201 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    202 if ( ${obuild_platform_result} == yes ) then
    203 set Geant4_work="${Geant4_home}/Darwin"
    204 endif
    205 unset obuild_platform_result
    206 if ( "${obuild_platform_exe}" == "" ) then
    207   echo "Variable obuild_platform_exe not defined."
    208   exit
    209 endif
    210 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Linux`
    211 if ( ${obuild_platform_result} == yes ) then
    212 set Geant4_work="${Geant4_home}/slc3_gcc323"
    213 endif
    214 unset obuild_platform_result
    215 if ( "${obuild_platform_exe}" == "" ) then
    216   echo "Variable obuild_platform_exe not defined."
    217   exit
    218 endif
    219 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    220 if ( ${obuild_platform_result} == yes ) then
    221 set Geant4_system="Darwin-g++"
    222 endif
    223 unset obuild_platform_result
    224 if ( "${obuild_platform_exe}" == "" ) then
    225   echo "Variable obuild_platform_exe not defined."
    226   exit
    227 endif
    228 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Linux`
    229 if ( ${obuild_platform_result} == yes ) then
    230 set Geant4_system="Linux-g++"
    231 endif
    232 unset obuild_platform_result
    233 if ( "${obuild_platform_exe}" == "" ) then
    234   echo "Variable obuild_platform_exe not defined."
    235   exit
    236 endif
    237 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Windows_NT`
    238 if ( ${obuild_platform_result} == yes ) then
    239 set Geant4_system="WIN32-VC"
     176set Geant4_home="/usr/local/geant4/8.2"
    240177endif
    241178unset obuild_platform_result
     
    302239if ( ${obuild_platform_result} == yes ) then
    303240  if (  $?DYLD_LIBRARY_PATH ) then
    304     setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${GeomUtils_home}/Darwin-i386/lib"
    305   else
    306     setenv DYLD_LIBRARY_PATH "${GeomUtils_home}/Darwin-i386/lib"
     241    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${bhep_home}/Darwin"
     242  else
     243    setenv DYLD_LIBRARY_PATH "${bhep_home}/Darwin"
    307244  endif
    308245endif
     
    316253if ( ${obuild_platform_result} == yes ) then
    317254  if (  $?LD_LIBRARY_PATH ) then
    318     setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${GeomUtils_home}/Darwin-i386/lib"
    319   else
    320     setenv LD_LIBRARY_PATH "${GeomUtils_home}/Darwin-i386/lib"
     255    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${bhep_home}/Darwin"
     256  else
     257    setenv LD_LIBRARY_PATH "${bhep_home}/Darwin"
    321258  endif
    322259endif
     
    338275if ( ${obuild_platform_result} == yes ) then
    339276  if (  $?DYLD_LIBRARY_PATH ) then
    340     setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${SNgeom2_home}/Darwin-i386/lib"
    341   else
    342     setenv DYLD_LIBRARY_PATH "${SNgeom2_home}/Darwin-i386/lib"
     277    setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${snova_home}/Darwin"
     278  else
     279    setenv DYLD_LIBRARY_PATH "${snova_home}/Darwin"
    343280  endif
    344281endif
     
    352289if ( ${obuild_platform_result} == yes ) then
    353290  if (  $?LD_LIBRARY_PATH ) then
    354     setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${SNgeom2_home}/Darwin-i386/lib"
    355   else
    356     setenv LD_LIBRARY_PATH "${SNgeom2_home}/Darwin-i386/lib"
    357   endif
    358 endif
    359 unset obuild_platform_result
    360 endif
    361 unset obuild_platform_result
    362 
    363 if ( "${obuild_platform_exe}" == "" ) then
    364   echo "Variable obuild_platform_exe not defined."
    365   exit
    366 endif
    367 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    368 if ( ${obuild_platform_result} == yes ) then
    369 if ( "${obuild_platform_exe}" == "" ) then
    370   echo "Variable obuild_platform_exe not defined."
    371   exit
    372 endif
    373 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    374 if ( ${obuild_platform_result} == yes ) then
    375   if (  $?DYLD_LIBRARY_PATH ) then
    376     setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${bhep_home}/Darwin/lib"
    377   else
    378     setenv DYLD_LIBRARY_PATH "${bhep_home}/Darwin/lib"
    379   endif
    380 endif
    381 unset obuild_platform_result
    382 else
    383 if ( "${obuild_platform_exe}" == "" ) then
    384   echo "Variable obuild_platform_exe not defined."
    385   exit
    386 endif
    387 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`
    388 if ( ${obuild_platform_result} == yes ) then
    389   if (  $?LD_LIBRARY_PATH ) then
    390     setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${bhep_home}/Darwin/lib"
    391   else
    392     setenv LD_LIBRARY_PATH "${bhep_home}/Darwin/lib"
     291    setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${snova_home}/Darwin"
     292  else
     293    setenv LD_LIBRARY_PATH "${snova_home}/Darwin"
    393294  endif
    394295endif
Note: See TracChangeset for help on using the changeset viewer.