mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-18 02:21:18 +01:00
Compare commits
132 Commits
2020.03.06
...
4.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| c8cdbfc488 | |||
| 2f75143245 | |||
| 6f7c31b747 | |||
| 75c2d987c4 | |||
| 726f5eba29 | |||
| 4404ee717a | |||
| 54530ab103 | |||
| 6126780660 | |||
| 9b7f9b1be1 | |||
| 26c829d766 | |||
| 3fde5c5b55 | |||
| 3e5f546ebe | |||
| 9833a7d330 | |||
| 8f9155e578 | |||
| 9df1eac3c1 | |||
| 5ededf9be4 | |||
| 3e8774798a | |||
| 08ecc1e52d | |||
| 8c1974b34e | |||
| d89d349247 | |||
| 910961cf41 | |||
| 595b7aa5e8 | |||
| f72ad4326f | |||
| 2306e44ae3 | |||
|
|
f36a12e454 | ||
|
|
5698da5f95 | ||
| 7300d73675 | |||
| d4b467a641 | |||
| 7b71076180 | |||
| 9197d2b209 | |||
| e094e41d89 | |||
| 512e1a3136 | |||
| 6d04c14bd6 | |||
| 64183d8d6a | |||
|
|
287efde54a | ||
| faa25b9e9f | |||
| 1b92b01a46 | |||
| 4849063b6c | |||
| 5cd020ae81 | |||
| 160fabe02c | |||
| 90dd8e70e5 | |||
| 08e121c71f | |||
| cb3b337a99 | |||
| 5d9a952316 | |||
| 8cc05c5848 | |||
| d69d69e892 | |||
| 07a120fc4a | |||
| 11e8796847 | |||
| f79b009978 | |||
| 3259bfb008 | |||
| 934bc5b9db | |||
| 6d11faed87 | |||
| 35fc52dae7 | |||
| e599bfe56f | |||
| 764becc271 | |||
| 7462d1002d | |||
|
|
834794ad98 | ||
|
|
56c504abbb | ||
|
|
4d6346e678 | ||
|
|
dc7e448759 | ||
|
|
e658cbacda | ||
|
|
1e6c6dea71 | ||
|
|
0e5d4d1d8e | ||
|
|
a2986784d3 | ||
|
|
975cbb576e | ||
|
|
e48a92d9cd | ||
|
|
befdcf7f36 | ||
|
|
02f5c472a8 | ||
|
|
75ed2cd2e4 | ||
|
|
3be045f9b6 | ||
|
|
8fae982802 | ||
|
|
128ec88b5f | ||
|
|
d5fc158330 | ||
|
|
864e6e4c81 | ||
|
|
343d96ff16 | ||
|
|
4142328437 | ||
|
|
6c797988c7 | ||
|
|
215c262981 | ||
|
|
081b809078 | ||
|
|
9263567cd8 | ||
|
|
58e90a85be | ||
|
|
025c836e25 | ||
|
|
5d5abae3f4 | ||
|
|
e2ad46386e | ||
|
|
308d44e452 | ||
|
|
69da61b1fb | ||
|
|
460168ce04 | ||
|
|
4e429c0d77 | ||
|
|
bf4fab549d | ||
|
|
f7705eb1da | ||
|
|
a2217e2066 | ||
|
|
aaa02706fc | ||
|
|
6a80bc5b54 | ||
|
|
b9275646ad | ||
|
|
9e2f2697c7 | ||
|
|
b6b0df62b6 | ||
|
|
0ba537e479 | ||
|
|
75ddf535dc | ||
|
|
b1de501bef | ||
|
|
0f3a63f101 | ||
|
|
3b4b2d707f | ||
|
|
f405aa1733 | ||
|
|
df0fdb7ecb | ||
|
|
91b7a87557 | ||
|
|
9468b9ca1e | ||
|
|
d7982e178e | ||
|
|
9cf5714a5b | ||
|
|
0c9ac8911a | ||
|
|
4730c8c0a9 | ||
|
|
43efb8acfd | ||
|
|
6ecca8fcb0 | ||
|
|
17cb63a57f | ||
|
|
4f83fcb001 | ||
|
|
ab94af6d29 | ||
|
|
7c725cc69b | ||
|
|
f0198d2d2e | ||
|
|
5ddccbdee4 | ||
|
|
8fb39b8c7e | ||
|
|
bd5293f4b1 | ||
|
|
b91180f5b2 | ||
|
|
7c3b5065a5 | ||
|
|
9aef802bea | ||
|
|
f7d85231f2 | ||
|
|
5b3a911e8d | ||
|
|
65f5e1c1ab | ||
|
|
839896c7e6 | ||
|
|
4a7e246604 | ||
|
|
7f293115c4 | ||
|
|
f59f40a659 | ||
|
|
64fd82f92c | ||
|
|
cd232fd732 | ||
|
|
172fa66b1f |
45
.travis.yml
Normal file
45
.travis.yml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
sudo: false
|
||||||
|
|
||||||
|
language: cpp
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
env: CONDA_PY=3.6
|
||||||
|
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
|
install:
|
||||||
|
- sudo apt-get update
|
||||||
|
- ldd --version
|
||||||
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
|
||||||
|
- bash miniconda.sh -b -p $HOME/miniconda
|
||||||
|
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||||
|
- rm -f miniconda.sh
|
||||||
|
- hash -r
|
||||||
|
- conda config --set always_yes yes --set changeps1 no
|
||||||
|
- conda config --add channels conda-forge
|
||||||
|
- conda config --add channels slsdetectorgroup
|
||||||
|
- conda update conda
|
||||||
|
- conda update --all
|
||||||
|
- conda install conda-build anaconda-client
|
||||||
|
|
||||||
|
# Useful for debugging any issues with conda
|
||||||
|
- conda info -a
|
||||||
|
|
||||||
|
|
||||||
|
# Replace dep1 dep2 ... with your dependencies
|
||||||
|
- conda create -q -n test-environment python=$CONDA_PY
|
||||||
|
- source activate test-environment
|
||||||
|
- conda-build .
|
||||||
|
|
||||||
|
script:
|
||||||
|
- echo "No test scripts to be run!"
|
||||||
|
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: script
|
||||||
|
script: find $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
|
||||||
|
on:
|
||||||
|
branch: 4.0.0
|
||||||
|
|
||||||
@@ -406,7 +406,7 @@ CONTENTS
|
|||||||
startup values for firmware v0.7 such as adc phase, ADC_PORT_INVERT_VAL
|
startup values for firmware v0.7 such as adc phase, ADC_PORT_INVERT_VAL
|
||||||
and ADC offset half speed value.
|
and ADC offset half speed value.
|
||||||
|
|
||||||
3. (Jungfrau) Minimum exposure time of 50 us was implemented.
|
3. (Jungfrau) Minimum exposure time of 50 ns was implemented.
|
||||||
|
|
||||||
4. (Eiger and Jungfrau) They can be configured to have x and y coord values
|
4. (Eiger and Jungfrau) They can be configured to have x and y coord values
|
||||||
of the detector in their udp header.
|
of the detector in their udp header.
|
||||||
|
|||||||
15
recipe/build.sh
Normal file
15
recipe/build.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
mkdir build
|
||||||
|
mkdir install
|
||||||
|
cd build
|
||||||
|
cmake .. \
|
||||||
|
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=install \
|
||||||
|
-DUSE_TEXTCLIENT=ON \
|
||||||
|
-DUSE_RECEIVER=ON \
|
||||||
|
-DUSE_GUI=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DUSE_HDF5=OFF\
|
||||||
|
|
||||||
|
|
||||||
|
cmake --build . -- -j10
|
||||||
|
cmake --build . --target install
|
||||||
15
recipe/copy_gui.sh
Normal file
15
recipe/copy_gui.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
mkdir $PREFIX/lib
|
||||||
|
mkdir $PREFIX/bin
|
||||||
|
mkdir $PREFIX/include
|
||||||
|
|
||||||
|
#No libs for gui?
|
||||||
|
|
||||||
|
#Binaries
|
||||||
|
cp build/bin/gui_client $PREFIX/bin/.
|
||||||
|
cp build/bin/slsDetectorGui $PREFIX/bin/.
|
||||||
|
|
||||||
|
|
||||||
|
#Which headers do we need for development??
|
||||||
|
|
||||||
|
# cp include/some_lib.h $PREFIX/include/.
|
||||||
23
recipe/copy_lib.sh
Normal file
23
recipe/copy_lib.sh
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
mkdir $PREFIX/lib
|
||||||
|
mkdir $PREFIX/bin
|
||||||
|
mkdir $PREFIX/include
|
||||||
|
mkdir $PREFIX/include/slsDetectorPackage
|
||||||
|
|
||||||
|
#Shared and static libraries
|
||||||
|
cp build/bin/libSlsDetector.so $PREFIX/lib/.
|
||||||
|
cp build/bin/libSlsDetector.a $PREFIX/lib/.
|
||||||
|
cp build/bin/libSlsReceiver.so $PREFIX/lib/.
|
||||||
|
cp build/bin/libSlsReceiver.a $PREFIX/lib/.
|
||||||
|
|
||||||
|
#Binaries
|
||||||
|
cp build/bin/sls_detector_acquire $PREFIX/bin/.
|
||||||
|
cp build/bin/sls_detector_get $PREFIX/bin/.
|
||||||
|
cp build/bin/sls_detector_put $PREFIX/bin/.
|
||||||
|
cp build/bin/sls_detector_help $PREFIX/bin/.
|
||||||
|
cp build/bin/slsReceiver $PREFIX/bin/.
|
||||||
|
cp build/bin/slsMultiReceiver $PREFIX/bin/.
|
||||||
|
|
||||||
|
#Which headers do we need for development??
|
||||||
|
cp build/install/include/* $PREFIX/include/slsDetectorPackage/
|
||||||
|
# cp include/some_lib.h $PREFIX/include/.
|
||||||
89
recipe/meta.yaml
Normal file
89
recipe/meta.yaml
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
|
||||||
|
package:
|
||||||
|
name: sls_detector_software
|
||||||
|
version: 4.0.0
|
||||||
|
|
||||||
|
source:
|
||||||
|
- path: ..
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: 0
|
||||||
|
rpaths:
|
||||||
|
- lib/
|
||||||
|
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- {{ compiler('c') }}
|
||||||
|
- {{compiler('cxx')}}
|
||||||
|
- cmake
|
||||||
|
- qwt 6.*
|
||||||
|
- qt=4.8.7=7
|
||||||
|
- zeromq=4.2.5=hfc679d8_5
|
||||||
|
- pyzmq
|
||||||
|
- xorg-libx11
|
||||||
|
- xorg-libice
|
||||||
|
- xorg-libxext
|
||||||
|
- xorg-libsm
|
||||||
|
- xorg-libxau
|
||||||
|
- xorg-libxrender
|
||||||
|
- xorg-libxfixes
|
||||||
|
- {{ cdt('mesa-libgl-devel') }} # [linux]
|
||||||
|
- {{ cdt('mesa-libegl-devel') }} # [linux]
|
||||||
|
- {{ cdt('mesa-dri-drivers') }} # [linux]
|
||||||
|
- {{ cdt('libselinux') }} # [linux]
|
||||||
|
- {{ cdt('libxdamage') }} # [linux]
|
||||||
|
- {{ cdt('libxxf86vm') }} # [linux]
|
||||||
|
|
||||||
|
host:
|
||||||
|
- libstdcxx-ng
|
||||||
|
- libgcc-ng
|
||||||
|
- libpng >=1.6.32,<1.6.35
|
||||||
|
- xorg-libx11
|
||||||
|
- xorg-libice
|
||||||
|
- xorg-libxext
|
||||||
|
- xorg-libsm
|
||||||
|
- xorg-libxau
|
||||||
|
- xorg-libxrender
|
||||||
|
- xorg-libxfixes
|
||||||
|
|
||||||
|
run:
|
||||||
|
- libstdcxx-ng
|
||||||
|
- libgcc-ng
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
- name: sls_detector_lib
|
||||||
|
version: 4.0.0
|
||||||
|
script: copy_lib.sh
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- {{ compiler('c') }}
|
||||||
|
- {{compiler('cxx')}}
|
||||||
|
- name: sls_detector_gui
|
||||||
|
version: 4.0.0
|
||||||
|
script: copy_gui.sh
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- {{ compiler('c') }}
|
||||||
|
- {{compiler('cxx')}}
|
||||||
|
- cmake
|
||||||
|
- qwt 6.*
|
||||||
|
- qt=4.8.7=7
|
||||||
|
- zeromq=4.2.5=hfc679d8_5
|
||||||
|
- pyzmq
|
||||||
|
- xorg-libx11
|
||||||
|
- xorg-libice
|
||||||
|
- xorg-libxext
|
||||||
|
- xorg-libsm
|
||||||
|
- xorg-libxau
|
||||||
|
- xorg-libxrender
|
||||||
|
- xorg-libxfixes
|
||||||
|
- {{ cdt('mesa-libgl-devel') }} # [linux]
|
||||||
|
- {{ cdt('mesa-libegl-devel') }} # [linux]
|
||||||
|
- {{ cdt('mesa-dri-drivers') }} # [linux]
|
||||||
|
- {{ cdt('libselinux') }} # [linux]
|
||||||
|
- {{ cdt('libxdamage') }} # [linux]
|
||||||
|
- {{ cdt('libxxf86vm') }} # [linux]
|
||||||
|
run:
|
||||||
|
- sls_detector_lib=4.0.0
|
||||||
|
- qwt 6.*
|
||||||
|
- qt=4.8.7=7
|
||||||
Reference in New Issue
Block a user