mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 03:57:15 +00:00
nng: upgrade 1.12.3 -> 2.1.0
This is a major release for NNG that includes breaking changes to the API. Changelogs: * https://github.com/nanomsg/nng/releases/tag/v2.0.0 * https://github.com/nanomsg/nng/releases/tag/v2.1.0 Signed-off-by: Nate Kent <nate@nkent.net> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
8052a52464
commit
ba83448575
2 files changed
+5
-5
No files matched your search
@@ -4,8 +4,7 @@ RET=0
|
||||
cd tests
|
||||
|
||||
for t in $(ls *); do
|
||||
./$t > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
if "./$t"; then
|
||||
echo PASS: $t
|
||||
else
|
||||
echo FAIL: $t
|
||||
|
||||
+4
-3
@@ -5,11 +5,11 @@ SECTION = "libs/networking"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3"
|
||||
|
||||
SRC_URI = "git://github.com/nanomsg/nng.git;branch=stable;protocol=https \
|
||||
SRC_URI = "git://github.com/nanomsg/nng.git;branch=main;protocol=https \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
SRCREV = "73f715235967afc783e0b99c52d015dc10897fda"
|
||||
SRCREV = "0912dcbd63f2f44324fa974e9fc9695c7621abb9"
|
||||
|
||||
inherit cmake pkgconfig ptest
|
||||
|
||||
@@ -23,7 +23,8 @@ PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls"
|
||||
|
||||
do_install_ptest(){
|
||||
install -d ${D}/${PTEST_PATH}/tests
|
||||
find ${B}/tests -type f -executable -exec install {} ${D}${PTEST_PATH}/tests/ \;
|
||||
find ${B}/src -type f -executable -name '*_test' -exec install {} ${D}${PTEST_PATH}/tests/ \;
|
||||
install ${B}/tests/cplusplus_pair ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-tools"
|
||||
Reference in new issue
Block a user