aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/librcf
AgeCommit message (Collapse)Author
2017-09-07librcf: link to libatomicMing Liu
In commit 1d594f18f66700f0b2c03b7acf1104a825b155b4: [ 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-08-28librcf: Add -latomic to LDFLAGSMing Liu
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-07-24librcf: RDEPENDS on protobuf, json-spiritMing Liu
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-14librcf: Define byteorder for powerpc machinesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14librcf: fix mips/mips64 buildKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14librcf: fix a clang compiling issueMing Liu
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-14librcf: convert CRLF to LFMing Liu
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-04-24librcf: Fix build on aarch64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-18librcf: install missing SF headersMing Liu
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-03-16meta: do not prepend/append to BBCLASSEXTENDMing Liu
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-11librcf: add new recipeMing Liu
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>