-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qsrv and pvxs support to enable PVA PVs
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |