-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate pimega build from area_detector.
Pimega build is something that we will probably do frequently here and throwing away the areadetector build cache to rebuild pimega is time consuming. Maybe this could be done for all modules? Particularly for me, pimega is enough, but standardization is never bad.
- Loading branch information
1 parent
7aaf29d
commit d3657c0
Showing
3 changed files
with
39 additions
and
30 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
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
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,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
. /opt/epics/install-functions.sh | ||
|
||
cd /opt/epics/modules | ||
|
||
git clone --depth 1 --branch ${LIBSSCPIMEGA_VERSION} \ | ||
https://github.com/cnpem/ssc-pimega | ||
|
||
make -C ssc-pimega/c install | ||
|
||
install_github_module cnpem NDSSCPimega NDSSCPIMEGA $NDSSCPIMEGA_VERSION " | ||
EPICS_BASE = ${EPICS_BASE_PATH} | ||
ASYN=${EPICS_MODULES_PATH}/asyn | ||
AREA_DETECTOR=${EPICS_MODULES_PATH}/areaDetector | ||
ADCORE=${EPICS_MODULES_PATH}/areaDetector/ADCore | ||
" | ||
|
||
cd areaDetector | ||
|
||
http://10.30.1.74/packages/ad-pimega_${ADPIMEGA_VERSION}.tar.gz | ||
|
||
echo " | ||
EPICS_BASE=${EPICS_BASE_PATH} | ||
" > ADPimega/configure/RELEASE.local | ||
|
||
echo "ADPIMEGA=${EPICS_MODULES_PATH}/areaDetector/ADPimega" >> $EPICS_RELEASE_FILE | ||
|
||
echo "BUILD_IOCS=YES" >> configure/CONFIG_SITE | ||
cp $EPICS_RELEASE_FILE ADPimega/iocs/pimegaIOC/configure/RELEASE | ||
|
||
make -C ADPimega |