-
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.
base: add support for ADPimega module.
Pimega library is closed-source and its binaries and header files are thus installed from a tarball. Since it is an additional module to areaDetector, it is built in another file, making it possible to better reuse caching across base image (re)builds. pimegaIOC in `iocs` is currently used in deploy. Thus, it is build along with the support module. Its IOC RELEASE configuration specifies its path relatively to the AREA_DETECTOR module, making it (without a RELEASE patch) required to be in the areaDetector directory. $EPICS_RELEASE_FILE is used to configure the IOC analogously to the procedure in the IOC build. However, it is concatenated to the file, as the ADPIMEGA module is not yet in the list.
- Loading branch information
1 parent
185c6b4
commit 39aeefb
Showing
4 changed files
with
36 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
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,21 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -eu | ||
|
||
. /opt/epics/install-functions.sh | ||
|
||
cd $EPICS_MODULES_PATH/areaDetector | ||
|
||
lnls-get-n-unpack -l http://download.lnls.br/packages/ad-pimega_${ADPIMEGA_VERSION}.tar.gz | ||
|
||
echo "BUILD_IOCS=YES" >> ADPimega/configure/CONFIG_SITE | ||
cat $EPICS_RELEASE_FILE >> ADPimega/iocs/pimegaIOC/configure/RELEASE | ||
|
||
install_module ADPimega ADPIMEGA " | ||
EPICS_BASE=${EPICS_BASE_PATH} | ||
ASYN=${EPICS_MODULES_PATH}/asyn | ||
AREA_DETECTOR=${EPICS_MODULES_PATH}/areaDetector | ||
ADCORE=${EPICS_MODULES_PATH}/areaDetector/ADCore | ||
ADSUPPORT=${EPICS_MODULES_PATH}/areaDetector/ADSupport | ||
" |