Commit Graph

13 Commits

Author SHA1 Message Date
Trevor Woerner
6b31ae119c librcf: rely on cmake.bbclass to put cmake package files in dev package
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.

	http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 09:14:26 -07:00
Armin Kuster
6a762e46f8 librcf: BLACKLIST compile failed.
errror: conflicting declaration 'typedef class boost::asio::io_context boost::asio::io_service'
error: no matching function for call to 'boost::asio::basic_deadline_timer<boost::posix_time::ptime>::basic_deadline_timer(RCF::AsioIoService&)'
error: invalid use of incomplete type 'RCF::AsioIoService {aka class boost::asio::io_service}'

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:12:49 -07:00
Ming Liu
a966c86b5c librcf: link to libatomic
In commit 1d594f18f6:
[ librcf: Add -latomic to LDFLAGS ]

I added '-latomic' to LDFLAGS, which worked for clang 3.9 but it does
not work for clang 5.0, seems the linking order matters for clang 5.0,
it should be after -lrcf.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:21 +02:00
Ming Liu
1d594f18f6 librcf: Add -latomic to LDFLAGS
This fixes following errors when compiling with clang:
| src/librcf.so.2.2.0: error: undefined reference to '__atomic_load_4'
| src/librcf.so.2.2.0: error: undefined reference to '__atomic_compare_exchange_4'
| /usr/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp:36: error: undefined reference to '__atomic_fetch_sub_4'
| /usr/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp:31: error: undefined reference to '__atomic_fetch_add_4'

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:04:11 +02:00
Ming Liu
0dbf4e876d librcf: RDEPENDS on protobuf, json-spirit
librcf only refers some functions defined in protobuf and json-spirit
headers, but does not link to any protobuf or json-spirit libraries,
so technically librcf does not have runtime dependencies on protobuf
or json-spirit. But we still need set it, or else we are missing
do_package* task dependencies between them, hence will lead
protobuf-dev and json-spirit-dev would not be installed during SDK
populating, when building from sstate(do_package* dependencies
skipped by setscene_depvalid optimization).

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Khem Raj
8c89764648 librcf: Define byteorder for powerpc machines
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:30 +02:00
Khem Raj
3278be3ac0 librcf: fix mips/mips64 build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:43:20 +02:00
Ming Liu
f1594f7803 librcf: fix a clang compiling issue
A error was observed with clang compiler, as follows:
| src/RCF/RCF.cpp:49:
| src/RCF/ClientStub.cpp:28:
| include/RCF/Future.hpp:49:26: error: 'enrol' is a private member of 'RCF::ClientStub'

it can be fixed by declaring Future as a friend class of ClientStub.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:16 +02:00
Ming Liu
21f7ec05e8 librcf: convert CRLF to LF
librcf is developed on Windows system, so CRLF is the line terminator
being used in this project, this can lead annoying patching issues if
the users forget to set autocrlf in git config.

It can be fixed by inheriting dos2unix, hence a convert_crlf_to_lf
task will be executed before do_patch, to convert all CRLF to LF.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:16 +02:00
Khem Raj
95e5112481 librcf: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Ming Liu
3405347d58 librcf: install missing SF headers
A flaw was introduced by commit 414426a3:
[ librcf: add new recipe ]

in which, the SF headers wasn't installed, this could cause build
errors in projects that compiling/linking to librcf while librcf
was built with LIBRCF_USE_SF_SERIALIZATION option enabled.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:38 +02:00
Ming Liu
ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Ming Liu
414426a398 librcf: add new recipe
RCF (Remote Call Framework) is a cross-platform interprocess
communication framework for C++, which is widely used by some
industrial companies.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:44 +01:00