drop EPICS 3 support
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
# set EPICS according to BASE or default to 3.14.12
|
||||
epicsEnvSet EPICS R$(EPICS_RELEASE=$(BASE=3.14.12))
|
||||
# set EPICS variable (in case anyone still needs it)
|
||||
epicsEnvSet EPICS R$(EPICS_RELEASE)
|
||||
|
||||
# Start Logging
|
||||
date 'epicsEnvSet IOC_STARTTIME "%Y-%m-%dT%H:%M:%S"' > /tmp/$(IOC).starttime
|
||||
date 'epicsEnvSet IOC_STARTTIME "%Y-%m-%d %H:%M:%S"' > /tmp/$(IOC).starttime
|
||||
< /tmp/$(IOC).starttime
|
||||
system "rm /tmp/$(IOC).starttime"
|
||||
epicsEnvSet EPICS_IOC_LOG_INET $(EPICS_IOC_LOG_INET=gfa-syslog-03)
|
||||
epicsEnvSet EPICS_IOC_LOG_PORT $(EPICS_IOC_LOG_PORT=1514)
|
||||
|
||||
# iocLogPrefix will fail for EPICS 3 but that's OK
|
||||
iocLogPrefix "$(IOC) "
|
||||
iocLogInit
|
||||
errlog "starting EPICS $(EPICS) at $(IOC_STARTTIME)"
|
||||
errlog "starting EPICS R$(EPICS_RELEASE) at $(IOC_STARTTIME)"
|
||||
|
||||
# Set up CA search lists for different networks
|
||||
# ip command is supported by IFC1210, Moxa (old and new), Deltatau, Zynq, NI, SL6, RHEL7, Debian10
|
||||
@@ -89,9 +87,6 @@ require iocinfo $(iocinfo_VERSION=ifexists)
|
||||
|
||||
# caPutLog
|
||||
epicsEnvSet EPICS_CA_PUT_LOG_ADDR, "gfa-syslog-03:1515"
|
||||
# Set EPICS_CA_PUT_LOG_PREFIX for EPICS 3 but not for 7 because there we have iocLogPrefix
|
||||
epicsEnvSet EPICS_CA_PUT_LOG_PREFIX_CMD_3 "epicsEnvSet EPICS_CA_PUT_LOG_PREFIX $(IOC)"
|
||||
$(EPICS_CA_PUT_LOG_PREFIX_CMD_$(EPICS_VERSION_MAJOR=3)=)
|
||||
require caPutLog $(caPutLog_VERSION=ifexists)
|
||||
|
||||
# sw installation version number
|
||||
|
||||
Reference in New Issue
Block a user