Skip to content

Commit

Permalink
Add qsrv and pvxs support to enable PVA PVs
Browse files Browse the repository at this point in the history
  • Loading branch information
GDYendell committed Jul 18, 2024
1 parent b3be905 commit a9ffa97
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pvxs/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
##########################################################################
##### install script for pvxs support module #############################
##########################################################################

# ARGUMENTS:
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=pvxs
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe

# install required system dependencies
ibek support apt-install libevent-dev

# declare packages for installation in the Dockerfile's runtime stage
ibek support add-runtime-packages libevent-dev

# get the source and fix up the configure/RELEASE files
ibek support git-clone ${NAME} ${VERSION} --org http://github.com/mdavidsaver
ibek support register ${NAME}

# declare the libs and DBDs that are required in ioc/iocApp/src/Makefile
ibek support add-libs pvxs pvxsIoc
ibek support add-dbds pvxsIoc.dbd

# global config settings
${FOLDER}/../_global/install.sh ${NAME}

# compile the support module
ibek support compile ${NAME}
13 changes: 13 additions & 0 deletions qsrv/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
##########################################################################
##### install script for qsrv ############################################
##########################################################################

# log output and abort on failure
set -xe

# declare the libs and DBDs that are required in ioc/iocApp/src/Makefile

## These are in epics-base and can be optionally added to create PVA PVs
ibek support add-libs qsrv
ibek support add-dbds qsrv.dbd

0 comments on commit a9ffa97

Please sign in to comment.