项目作者: jeonghanlee

项目描述 :
EPICS Environment Build System : builder
高级语言: Shell
项目地址: git://github.com/jeonghanlee/epics_builder.git
创建时间: 2018-07-31T21:14:19Z
项目社区:https://github.com/jeonghanlee/epics_builder

开源协议:GNU General Public License v2.0

下载


epics_builder

Please use the new developing env https://github.com/jeonghanlee/EPICS-env

EPICS Building Environment, works with epics_manifest 1 and Repo 2.

Preparation

One needs to setup Repo as follows:

  1. $ mkdir -p ~/bin
  2. $ export PATH=~/bin:$PATH
  3. $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  4. $ chmod a+x ~/bin/repo

Procedure

Step 1: Create a directory

  1. $ mkdir epics_env
  2. $ cd epics_env

Step 2: Init

  • Initialize epics_env to use the default.xml [3] on the master branch
  1. epics_env $ repo init -u https://github.com/jeonghanlee/epics_manifest.git

Step 3: Sync

  1. epics_env $ repo sync --no-clone-bundle

Step 4: Build

  1. epics_env $ bash pkg.bash
  2. epics_env $ make init
  3. epics_env $ make base
  4. epics_env $ make modules

Step 5: Set the EPICS environment

  1. epics_env $ source setEpicsEnv.bash

EPICS Extensions

One can install the additional EPICS extensions such as medm and Striptool with epics_180802.xml manifest. Please see the Additional commands.

  1. epics_env $ make init-exts
  2. epics_env $ make exts

Step 5 in the above Procedure, also has the extension path.

AreaDetector

One can also install few predefined and selected Area Detector and its Plugin. Note that it will clone all plugin in a local directory even if few selected one will be installed.

  1. ADCore
  2. ADSupport
  3. ADSIMDETECTOR
  4. ADCSIMDETECTOR
  5. ADPOINTGREY
  6. ADANDOR
  7. ADANDOR3
  8. ADPROSILICA
  9. NDDRIVERSTDARRAYS
  10. PVADRIVER
  11. ADURL

And it also enable the following epics modules as:

  1. ASYN
  2. AUTOSAVE
  3. BUSY
  4. CALC
  5. SNCSEQ
  6. DEVIOCSTATS
  7. SSCAN
  1. epics_env $ make init-ad
  2. epics_env $ make ad

VisualDCT

One can install VisualDCT in EPICS_EXTENSIONS. If one would like to do, please run installVisualDCT.

Platform Path

In the directory, one can find the following additional tools which allow users to install few more enviornment or libraries. For further information, please look at corresponding url

ethercat

lmfit

opencv

nioc

Additional commands

  • Initialize epics_env to use the epics_180811.xml, on the master branch

    1. repo init -u https://github.com/jeonghanlee/epics_manifest.git -m epics_180811.xml
  • Force Sync

    1. repo sync --force-sync --no-clone-bundle

References and comments

(1) https://github.com/jeonghanlee/epics_manifest

(2) https://gerrit.googlesource.com/git-repo/

(3) default.xml is the symbolic link