Skip to content

Commit

Permalink
base: add NDSSCPimega areaDetector plugin.
Browse files Browse the repository at this point in the history
This plugin computes the geometric restoration for Pimega detectors
based on the LNLS sscpimega library, and allows Pimega IOC to provide
coherent data to users.
  • Loading branch information
henriquesimoes committed Sep 29, 2023
1 parent 7ecd211 commit c9d8f7f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions base/.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RECCASTER_VERSION=1.5
IPAC_VERSION=2.16
AREA_DETECTOR_VERSION=R3-12-1
ADPIMEGA_VERSION=2.5.1-1
NDSSCPIMEGA_VERSION=1.0.0-0
MOTOR_VERSION=R7-3-1

LIBPIMEGA_VERSION=2.5.1-0
LIBSSCPIMEGA_VERSION=0.8.12-0
5 changes: 4 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ RUN apt update -y && \
COPY lnls-get-n-unpack.sh /usr/local/bin/lnls-get-n-unpack

ARG LIBPIMEGA_VERSION
ARG LIBSSCPIMEGA_VERSION

RUN lnls-get-n-unpack -r \
http://gca-jobs:1234/packages/libpimega_${LIBPIMEGA_VERSION}_amd64.tar.gz
http://gca-jobs:1234/packages/libpimega_${LIBPIMEGA_VERSION}_amd64.tar.gz \
http://gca-jobs:1234/packages/libsscpimega_${LIBSSCPIMEGA_VERSION}_amd64.tar.gz

ARG EPICS_BASE_VERSION
ENV EPICS_BASE_PATH /opt/epics/base
Expand All @@ -47,6 +49,7 @@ ARG RECCASTER_VERSION
ARG IPAC_VERSION
ARG AREA_DETECTOR_VERSION
ARG ADPIMEGA_VERSION
ARG NDSSCPIMEGA_VERSION
ARG MOTOR_VERSION

WORKDIR ${EPICS_MODULES_PATH}
Expand Down
2 changes: 2 additions & 0 deletions base/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ services:
IPAC_VERSION: ${IPAC_VERSION}
AREA_DETECTOR_VERSION: ${AREA_DETECTOR_VERSION}
ADPIMEGA_VERSION: ${ADPIMEGA_VERSION}
NDSSCPIMEGA_VERSION: ${NDSSCPIMEGA_VERSION}
MOTOR_VERSION: ${MOTOR_VERSION}
LIBPIMEGA_VERSION: ${LIBPIMEGA_VERSION}
LIBSSCPIMEGA_VERSION: ${LIBSSCPIMEGA_VERSION}
18 changes: 18 additions & 0 deletions base/install_area_detector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,24 @@ git apply --directory ADSupport ${EPICS_MODULES_PATH}/nanohttp_stream.patch
make -j${JOBS}
make clean

cd ..

lnls-get-n-unpack -l http://gca-jobs:1234/packages/ndsscpimega_${NDSSCPIMEGA_VERSION}.tar.gz

echo "
EPICS_BASE = ${EPICS_BASE_PATH}
ASYN=${EPICS_MODULES_PATH}/asyn
AREA_DETECTOR=${EPICS_MODULES_PATH}/areaDetector
ADCORE=${EPICS_MODULES_PATH}/areaDetector/ADCore
" > NDSSCPimega/configure/RELEASE

make -C NDSSCPimega

echo "NDSSCPIMEGA=${EPICS_MODULES_PATH}/NDSSCPimega" >> ${EPICS_MODULES_PATH}/../RELEASE

cd areaDetector

lnls-get-n-unpack -l http://gca-jobs:1234/packages/ad-pimega_${ADPIMEGA_VERSION}.tar.gz

echo "
Expand Down

0 comments on commit c9d8f7f

Please sign in to comment.