buildout.cfg 1.2 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
[buildout]
Philip ABBET's avatar
Philip ABBET committed
2
index = https://pypi.org/simple
André Anjos's avatar
André Anjos committed
3
parts = scripts cxx_integers_echo_algorithm
André Anjos's avatar
André Anjos committed
4
5
6
7
8
9
10
11
12
extensions = mr.developer
auto-checkout = *
develop = .
newest = false
eggs = beat.core
       beat.backend.python
       ipdb

[sources]
13
beat.backend.python = git https://gitlab.idiap.ch/beat/beat.backend.python
André Anjos's avatar
André Anjos committed
14
15
16
17
cpulimit = git https://github.com/opsengine/cpulimit rev=v0.2 egg=false

[scripts]
recipe = bob.buildout:scripts
Philip ABBET's avatar
Philip ABBET committed
18
19
20
21
22

[cxx_integers_echo_algorithm]
recipe = collective.recipe.cmd
cmds = cd beat/core/test/prefix/algorithms/user/
       tar -cf cxx_integers_echo.tar cxx_integers_echo/
23
       docker run -dti --name build beats/cxx_dev:0.1.5 > /dev/null
Philip ABBET's avatar
Philip ABBET committed
24
25
26
27
28
29
30
31
32
33
34
       docker cp cxx_integers_echo.tar build:/tmp/cxx_integers_echo.tar
       docker exec build bash -c 'cd /tmp ; tar -xf /tmp/cxx_integers_echo.tar'
       docker exec build bash -c 'cd /tmp/cxx_integers_echo ; mkdir build ; cd build ; cmake .. ; make'
       docker cp build:/tmp/cxx_integers_echo/1.so cxx_integers_echo/.
       docker stop build > /dev/null
       docker rm build > /dev/null
       rm cxx_integers_echo.tar
       cd ../../../../../..
uninstall_cmds = rm -f beat/core/test/prefix/algorithms/user/cxx_integers_echo/1.so
on_install = true
on_update = true