This commit is contained in:
Erik Frojdh
2020-02-11 16:01:32 +01:00
parent 4dc14bf9d6
commit 3523de8ba9
12 changed files with 82 additions and 52 deletions

View File

@@ -8,7 +8,7 @@ cmake .. \
-DSLS_USE_RECEIVER=ON \
-DSLS_USE_GUI=OFF \
-DSLS_USE_TESTS=ON \
-DSLS_USE_PYTHON=OFF \
-DSLS_USE_PYTHON=ON \
-DCMAKE_BUILD_TYPE=Release \
-DSLS_USE_HDF5=OFF\

View File

@@ -10,5 +10,8 @@
# #Binaries
# cp -r build/bin/sls_detector $PREFIX/lib/.
#copy shared lib
cp build/bin/_sls_detector* python/.
cd python
${PYTHON} setup.py install
$PYTHON setup.py install

View File

@@ -0,0 +1,9 @@
mkdir $PREFIX/lib
mkdir $PREFIX/bin
mkdir $PREFIX/include
cp build/bin/ctbGui $PREFIX/bin/.
cp build/bin/libctbRootLib.so $PREFIX/lib/.

View File

@@ -16,7 +16,7 @@ requirements:
- {{ compiler('c') }}
- {{compiler('cxx')}}
- cmake
# - qwt 6.* #require qt5 investigate befor activating gui
# - qwt 6.* #require qt5 investigate before activating gui
# - qt=4.8.7=7
- zeromq=4.2.5=hfc679d8_5
- pyzmq
@@ -65,10 +65,10 @@ outputs:
- setuptools
- sls_detector_lib
- pyzmq
- pybind11 2.4
# - pybind11 2.4
host:
- python
- pybind11 2.4
# - pybind11 2.4
- pyzmq
- sls_detector_lib
- libstdcxx-ng
@@ -84,13 +84,13 @@ outputs:
imports:
- sls_detector
# requirements:
# build:
# - {{ compiler('c') }}
# - {{compiler('cxx')}}
requirements:
build:
- {{ compiler('c') }}
- {{compiler('cxx')}}
# - name: sls_detector_gui
# version: "refactor"
# version: "developer"
# script: copy_gui.sh
# requirements:
# build:
@@ -98,7 +98,7 @@ outputs:
# - {{compiler('cxx')}}
# - cmake
# - qwt 6.*
# - qt=4.8.7=7
# - qt=4.8.*
# - zeromq=4.2.5=hfc679d8_5
# - pyzmq
# - xorg-libx11
@@ -117,4 +117,4 @@ outputs:
# run:
# - sls_detector_lib=refactor
# - qwt 6.*
# - qt=4.8.7=7
# - qt=4.8.*