Skip to content
Snippets Groups Projects
Commit 4c0e03ae authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: bin/bootstrap_epics

parent 0b7c4e2e
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
#set -o nounset #set -o nounset
set -o errexit #set -o errexit
function print_the_help { function print_the_help {
echo "USAGE: bootstrap_epics " echo "USAGE: bootstrap_epics "
...@@ -136,31 +136,45 @@ source setup.sh ...@@ -136,31 +136,45 @@ source setup.sh
# #
#popd #popd
###################### yes_or_no "Build extenstions"
# Extensions if [[ "$?" ]] ; then
git clone https://github.com/epics-extensions/extensions # Extensions
git clone https://github.com/epics-extensions/extensions
pushd extensions/src pushd extensions/src
git clone https://github.com/mdavidsaver/pyDevSup.git git clone https://github.com/mdavidsaver/pyDevSup.git
pushd pyDevSup pushd pyDevSup
sed -i '26d' configure/RELEASE sed -i '26d' configure/RELEASE
sed -i '26iINSTALL_LOCATION=/opt/epics/extensions' configure/RELEASE sed -i '26iINSTALL_LOCATION=/opt/epics/extensions' configure/RELEASE
sed -i '39d' configure/RELEASE sed -i '39d' configure/RELEASE
sed -i '39iEPICS_BASE = /opt/epics/base' configure/RELEASE sed -i '39iEPICS_BASE = /opt/epics/base' configure/RELEASE
popd popd
popd popd
pushd extensions pushd extensions
sed -i '65iPYDEVSUP = pyDevSup' src/Makefile sed -i '65iPYDEVSUP = pyDevSup' src/Makefile
sed -i '127iDIRS += $(PYDEVSUP)' src/Makefile sed -i '127iDIRS += $(PYDEVSUP)' src/Makefile
sed -i '26d' src/pyDevSup/configure/CONFIG_SITE sed -i '26d' src/pyDevSup/configure/CONFIG_SITE
sed -i '26iINSTALL_LOCATION=/opt/epics/extensions' src/pyDevSup/configure/CONFIG_SITE sed -i '26iINSTALL_LOCATION=/opt/epics/extensions' src/pyDevSup/configure/CONFIG_SITE
sed -i '15iinclude /opt/epics/extensions/configure/os/CONFIG_PY.Common.$(EPICS_HOST_ARCH)' src/pyDevSup/configure/CONFIG_PY
make make
popd popd
fi
yes_or_no "caQtDM"
if [[ $? ]] ; then
pushd extensions/src
wget https://github.com/caqtdm/caqtdm/archive/V4.2.4.tar.gz -O - | tar -zx
pushd caqtdm-4.2.4
./caQtDM_BuildAll
./caQtDM_Install
popd
popd
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment