Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
5848569c
Commit
5848569c
authored
Jun 07, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remote, check if rabbitmq is installed added
parent
9e32be4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
remote/exe/rs_remote_rabbitmq/src/os_templ/link_rule.mk
remote/exe/rs_remote_rabbitmq/src/os_templ/link_rule.mk
+5
-0
remote/exe/rs_remote_rabbitmq/src/rs_remote_rabbitmq.c
remote/exe/rs_remote_rabbitmq/src/rs_remote_rabbitmq.c
+11
-0
src/tools/pwre/src/os_linux/pwre_configure.sh
src/tools/pwre/src/os_linux/pwre_configure.sh
+1
-0
No files found.
remote/exe/rs_remote_rabbitmq/src/os_templ/link_rule.mk
View file @
5848569c
ifndef
link_rule_mk
link_rule_mk
:=
1
ifeq
($(PWRE_CONF_RABBITMQ),1)
link
=
$(ldxx)
$(elinkflags)
$(domap)
-o
$(export_exe)
\
$(export_obj)
$(objects)
$(rt_msg_eobjs)
\
$(pwre_conf_libdir)
$(pwre_conf_libpwrremote)
$(pwre_conf_libpwrrt)
\
-lrabbitmq
$(pwre_conf_lib)
else
log_link_exe
=
echo
"
$(exe_flv_name)
: RabbitMq not installed"
link
=
:
endif
endif
remote/exe/rs_remote_rabbitmq/src/rs_remote_rabbitmq.c
View file @
5848569c
...
...
@@ -38,6 +38,8 @@
/*_Include files_________________________________________________________*/
#if defined PWRE_CONF_RABBITMQ
#include <amqp.h>
#include <amqp_framing.h>
#include <amqp_tcp_socket.h>
...
...
@@ -584,3 +586,12 @@ int main(int argc, char *argv[])
}
}
#else
#include <stdio.h>
int
main
()
{
printf
(
"Remote RabbitMq not built for this release
\n
"
);
return
0
;
}
#endif
src/tools/pwre/src/os_linux/pwre_configure.sh
View file @
5848569c
...
...
@@ -482,6 +482,7 @@ else
pwre_config_check_lib libsqlite3 LIBSQLITE3 lib lib 0
"/usr/lib/libsqlite3.so:/usr/lib/
$hwpl
-linux-
$gnu
/libsqlite3.so"
pwre_config_check_include hdf5 HDF5 1
"/usr/lib/openmpi/include/mpi.h.no"
pwre_config_check_lib libhdf5 LIBHDF5 lib lib 0
"/usr/lib/libhdf5.so:/usr/lib/
$hwpl
-linux-
$gnu
/libhdf5_openmpi.so"
pwre_config_check_lib rabbitmq RABBITMQ lib rabbitmq 1
"/usr/lib/
$hwpl
-linux-
$gnu
/librabbitmq.so"
pwre_config_check_lib mq MQ lib mq 1
"/usr/lib/libdmq.so:/usr/local/dmq/lib/libdmq.so"
pwre_config_check_lib wmq WMQ lib wmq 1
"/usr/lib/libmqic.so"
pwre_config_check_lib libprofinet PNAK lib pnak 1
"/usr/lib/libprofinet.a"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment