Added R3.14 definitions.
This commit is contained in:
@@ -3,22 +3,11 @@
|
||||
#
|
||||
# sites should modify these definitions
|
||||
|
||||
# Start of set pre R3.14 environment variable
|
||||
#if ( -e /usr/local/etc/setup/HostArch ) then
|
||||
# setenv HOST_ARCH `/usr/local/etc/setup/HostArch`
|
||||
#else
|
||||
# setenv HOST_ARCH `/usr/local/epics/startup/HostArch`
|
||||
#endif
|
||||
# End of set pre R3.14 environment variable
|
||||
|
||||
# Start of set R3.14 environment variable
|
||||
if ( -e /usr/local/etc/setup/EpicsHostArch ) then
|
||||
if ( -e /usr/local/etc/setup/EpicsHostArch.pl ) then
|
||||
setenv EPICS_HOST_ARCH `/usr/local/etc/setup/EpicsHostArch`
|
||||
else
|
||||
setenv EPICS_HOST_ARCH `/usr/local/epics/startup/EpicsHostArch`
|
||||
endif
|
||||
# End of set R3.14 environment variable
|
||||
|
||||
|
||||
# Time service:
|
||||
# EPICS_TS_MIN_WEST the local time difference from GMT.
|
||||
@@ -34,10 +23,51 @@ setenv EPICS_TS_MIN_WEST 360
|
||||
# Needed only by medm extension
|
||||
#setenv EPICS_DISPLAY_PATH
|
||||
|
||||
# Location of epics extensions
|
||||
if ( ! $?EPICS_EXTENSIONS ) then
|
||||
setenv EPICS_EXTENSIONS /usr/local/epics/extensions
|
||||
endif
|
||||
|
||||
# Allow private versions of extensions
|
||||
if ( $?EPICS_EXTENSIONS_PVT ) then
|
||||
set path = ( $path $EPICS_EXTENSIONS_PVT $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH)
|
||||
else
|
||||
set path = ( $path $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH)
|
||||
endif
|
||||
|
||||
# Needed if shared extension libraries are built
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
|
||||
# Start of set pre R3.14 environment variables
|
||||
#if ( -e /usr/local/etc/setup/HostArch ) then
|
||||
# setenv HOST_ARCH `/usr/local/etc/setup/HostArch`
|
||||
#else
|
||||
# setenv HOST_ARCH `/usr/local/epics/startup/HostArch`
|
||||
#endif
|
||||
|
||||
# Allow private versions of extensions
|
||||
if ( $?EPICS_EXTENSIONS_PVT ) then
|
||||
set path = ( $path $EPICS_EXTENSIONS_PVT $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH)
|
||||
else
|
||||
set path = ( $path $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH)
|
||||
endif
|
||||
|
||||
# Needed if shared extension libraries are built
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
else
|
||||
setenv LD_LIBRARY_PATH "${EPICS_EXTENSIONS}/lib/${EPICS_HOST_ARCH}"
|
||||
endif
|
||||
# End of set R3.14 environment variables
|
||||
|
||||
# Allow site specific setup definitions
|
||||
if ( -e /usr/local/etc/setup/.cshrc ) then
|
||||
source /usr/local/etc/setup/.cshrc
|
||||
else
|
||||
source /usr/local/epics/startup/.cshrc
|
||||
endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user