provide location for general fairmq devices/tools

This commit is contained in:
Alexey Rybalchenko
2018-05-01 18:31:27 +02:00
committed by Mohammad Al-Turany
parent f68b5425a6
commit bf5983d8f6
27 changed files with 175 additions and 71 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/bash
export FAIRMQ_PATH=@FAIRMQ_BIN_DIR@
SESSION="$(@CMAKE_BINARY_DIR@/fairmq/fairmq-uuid-gen -h)"
trap 'kill -TERM $SAMPLER1_PID; kill -TERM $SAMPLER2_PID; kill -TERM $SINK_PID; wait $SAMPLER1_PID; wait $SAMPLER2_PID; wait $SINK_PID; @CMAKE_BINARY_DIR@/fairmq/fairmq-shmmonitor --cleanup --session $SESSION;' TERM