Changeset 244 for snovis/trunk/obuild/setup.csh
- Timestamp:
- Feb 15, 2007, 10:36:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
snovis/trunk/obuild/setup.csh
r211 r244 141 141 endif 142 142 unset obuild_platform_result 143 if ( "${obuild_platform_exe}" == "" ) then 144 echo "Variable obuild_platform_exe not defined." 145 exit 146 endif 147 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 148 if ( ${obuild_platform_result} == yes ) then 149 set HDF5_home="/usr/local/HDF5/1.6.5" 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} UNIX` 157 if ( ${obuild_platform_result} == yes ) then 158 set OSC_home="/usr/local/OpenScientist/v16r0" 159 endif 160 unset obuild_platform_result 143 161 if ( ! -e "${obuild_snovis_path}/${obuild_dir_bin}/obuild_find" ) then 144 162 if ( ! -e "${obuild_snovis_path}/obuild/cpp/obuild_find.cpp" ) then … … 172 190 endif 173 191 set obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 174 if ( "${obuild_find_exe}" == "" ) then175 echo "Variable obuild_find_exe not defined."176 exit177 endif178 set obuild_OnX_path=`"${obuild_find_exe}" OnX 'v17r*'`179 if ( "${obuild_find_exe}" == "" ) then180 echo "Variable obuild_find_exe not defined."181 exit182 endif183 set obuild_G4Lab_path=`"${obuild_find_exe}" G4Lab 'v8r*'`184 192 185 193 # Execute setup of used packages : 186 194 source "${obuild_snova_path}/obuild/setup.csh" 187 195 188 source "${obuild_OnX_path}/obuild/setup.csh"189 190 source "${obuild_G4Lab_path}/obuild/setup.csh"191 192 196 # Set environment variables of this package : 193 197 setenv SNOVISROOT "${obuild_snovis_path}" 198 setenv ONXROOT "${OSC_home}/Resources/OnX" 199 setenv ONXLABROOT "${OSC_home}/Resources/OnXLab" 200 setenv G4LABROOT "${obuild_snovis_path}/Resources/G4Lab" 201 202 if ( "${obuild_platform_exe}" == "" ) then 203 echo "Variable obuild_platform_exe not defined." 204 exit 205 endif 206 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 207 if ( ${obuild_platform_result} == yes ) then 208 if ( "${obuild_platform_exe}" == "" ) then 209 echo "Variable obuild_platform_exe not defined." 210 exit 211 endif 212 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 213 if ( ${obuild_platform_result} == yes ) then 214 if ( $?DYLD_LIBRARY_PATH ) then 215 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${HDF5_home}/lib" 216 else 217 setenv DYLD_LIBRARY_PATH "${HDF5_home}/lib" 218 endif 219 endif 220 unset obuild_platform_result 221 else 222 if ( "${obuild_platform_exe}" == "" ) then 223 echo "Variable obuild_platform_exe not defined." 224 exit 225 endif 226 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 227 if ( ${obuild_platform_result} == yes ) then 228 if ( $?LD_LIBRARY_PATH ) then 229 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${HDF5_home}/lib" 230 else 231 setenv LD_LIBRARY_PATH "${HDF5_home}/lib" 232 endif 233 endif 234 unset obuild_platform_result 235 endif 236 unset obuild_platform_result 237 238 if ( "${obuild_platform_exe}" == "" ) then 239 echo "Variable obuild_platform_exe not defined." 240 exit 241 endif 242 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 243 if ( ${obuild_platform_result} == yes ) then 244 if ( "${obuild_platform_exe}" == "" ) then 245 echo "Variable obuild_platform_exe not defined." 246 exit 247 endif 248 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 249 if ( ${obuild_platform_result} == yes ) then 250 if ( $?DYLD_LIBRARY_PATH ) then 251 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${CLHEP_home}/lib" 252 else 253 setenv DYLD_LIBRARY_PATH "${CLHEP_home}/lib" 254 endif 255 endif 256 unset obuild_platform_result 257 else 258 if ( "${obuild_platform_exe}" == "" ) then 259 echo "Variable obuild_platform_exe not defined." 260 exit 261 endif 262 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 263 if ( ${obuild_platform_result} == yes ) then 264 if ( $?LD_LIBRARY_PATH ) then 265 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${CLHEP_home}/lib" 266 else 267 setenv LD_LIBRARY_PATH "${CLHEP_home}/lib" 268 endif 269 endif 270 unset obuild_platform_result 271 endif 272 unset obuild_platform_result 273 274 if ( "${obuild_platform_exe}" == "" ) then 275 echo "Variable obuild_platform_exe not defined." 276 exit 277 endif 278 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 279 if ( ${obuild_platform_result} == yes ) then 280 if ( "${obuild_platform_exe}" == "" ) then 281 echo "Variable obuild_platform_exe not defined." 282 exit 283 endif 284 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 285 if ( ${obuild_platform_result} == yes ) then 286 if ( $?DYLD_LIBRARY_PATH ) then 287 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${Geant4_home}/lib" 288 else 289 setenv DYLD_LIBRARY_PATH "${Geant4_home}/lib" 290 endif 291 endif 292 unset obuild_platform_result 293 else 294 if ( "${obuild_platform_exe}" == "" ) then 295 echo "Variable obuild_platform_exe not defined." 296 exit 297 endif 298 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 299 if ( ${obuild_platform_result} == yes ) then 300 if ( $?LD_LIBRARY_PATH ) then 301 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${Geant4_home}/lib" 302 else 303 setenv LD_LIBRARY_PATH "${Geant4_home}/lib" 304 endif 305 endif 306 unset obuild_platform_result 307 endif 308 unset obuild_platform_result 309 310 if ( "${obuild_platform_exe}" == "" ) then 311 echo "Variable obuild_platform_exe not defined." 312 exit 313 endif 314 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 315 if ( ${obuild_platform_result} == yes ) then 316 if ( "${obuild_platform_exe}" == "" ) then 317 echo "Variable obuild_platform_exe not defined." 318 exit 319 endif 320 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 321 if ( ${obuild_platform_result} == yes ) then 322 if ( $?DYLD_LIBRARY_PATH ) then 323 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${OSC_home}/bin" 324 else 325 setenv DYLD_LIBRARY_PATH "${OSC_home}/bin" 326 endif 327 endif 328 unset obuild_platform_result 329 else 330 if ( "${obuild_platform_exe}" == "" ) then 331 echo "Variable obuild_platform_exe not defined." 332 exit 333 endif 334 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 335 if ( ${obuild_platform_result} == yes ) then 336 if ( $?LD_LIBRARY_PATH ) then 337 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${OSC_home}/bin" 338 else 339 setenv LD_LIBRARY_PATH "${OSC_home}/bin" 340 endif 341 endif 342 unset obuild_platform_result 343 endif 344 unset obuild_platform_result 194 345 195 346 if ( "${obuild_platform_exe}" == "" ) then
Note: See TracChangeset
for help on using the changeset viewer.