README and cafe_version-py

This commit is contained in:
2025-10-06 11:47:30 +02:00
parent 9e00fc0e0c
commit 532abc7b1b
17 changed files with 740 additions and 588 deletions
+20 -24
View File
@@ -1,18 +1,25 @@
##
autogen_rel_py3.sh ==> generates library for use from within python and C++
autogen_rel_py3_noqt.sh ==> generates library for use from within python and C++ (remove Qt4 dependency if xml not required)
autogen_rel_noqt.sh ==> generates library for building a mex file (remove Qt4 dependence as matlab requires Qt5)
autogen_rel.sh ==> normal c++ release
Change cafe version in three place:
1)
configure.ac
AC_INIT([CAFE], [1.22.0], [Bug reports to: felix.armborst@psi.ch, j.chrin@hispeed.ch])
2)
src/makefile.am
libcafe_la_LDFLAGS = -version-info 23:0:22 #corresponds to 1.22.0 (run cafe_version.py)
3)
autogen.sh
CAFE_V="cafe-1.22.0"
EPICS_BASE='base-7.0.9' #change epics version here
autogen.sh sls2 py310/py38/py37 ==> generates library for use from within python and C++
autogen.sh sls2 cpp ==> generates library for use in cpp
autogen.sh sls2 matlab ==> generates library for building a mex file
autogen.sh hipa cpp ==> generates library for use cpp **without** qt libraries
autogen.sh sf py37 ==> generates library for use use in swissfel with bsread/zmq capabilty
Libraries are only made available when the appropriate is enabld
#ENABLE_OPTIONS+=" --enable-qt5"
##ENABLE_OPTIONS+=" --enable-qt4"
#ENABLE_OPTIONS+=" --enable-python37"
##ENABLE_OPTIONS+=" --enable-python35"
#ENABLE_OPTIONS+=" --enable-json"
#ENABLE_OPTIONS+=" --enable-zeromq"
#ENABLE_OPTIONS+=" --enable-curl"
#ENABLE_OPTIONS+=" --enable-lz4"
##
## --------------------------------------------------------------------------
@@ -23,17 +30,6 @@ Libraries are only made available when the appropriate is enabld
##
## --libdir: This is the directory to which the cafe shared objects are
## installed
## --with-boost: base directory for the boost header files
## --with-epics7: epics7 top level directory
## --with-epics3: epics3 top level directory
## Note that configure.ac assume that the architecture is
## base/lib/${EPICS_HOST_ARCH}
## --with-qt5: Qt5 base directory (optional)
## --with-python37: Python 3.7 directory, if building PyCafe
## --with-python35: Python 3.5 directory, if bulding PyCafe
## Remaining libraries are specific to swissfel zmq streams
## --------------------------------------------------------------------------
1) Modify autogen.sh according to above