diff options
| author | richard <richard@example.com> | 2020-10-29 15:47:28 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-11-02 09:00:51 -0800 |
| commit | 9ded5624b75577335d7112fd34107599b6f6cfbc (patch) | |
| tree | 55a88740f3a0c1a88e995422a5e75db3b1638bdf | |
| parent | c697727db79465b4df11dabf701e56277469b9bd (diff) | |
| download | meta-openembedded-9ded5624b75577335d7112fd34107599b6f6cfbc.tar.gz | |
poco: Upgrade 1.9.4 -> 1.10.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch | 31 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco_1.10.1.bb (renamed from meta-oe/recipes-support/poco/poco_1.9.4.bb) | 14 |
3 files changed, 6 insertions, 67 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch b/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch deleted file mode 100644 index f4a358f47f..0000000000 --- a/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From fa079dfc5e1d22ea35762bf4c5b09999bdc5e731 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jochen Sprickerhof <git@jochen.sprickerhof.de> | ||
| 3 | Date: Wed, 22 Aug 2018 21:42:09 +0200 | ||
| 4 | Subject: [PATCH] Don't try to install non existing Encodings/testsuite/data | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/2437] | ||
| 7 | --- | ||
| 8 | Encodings/testsuite/CMakeLists.txt | 5 +---- | ||
| 9 | 1 file changed, 1 insertion(+), 4 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/Encodings/testsuite/CMakeLists.txt b/Encodings/testsuite/CMakeLists.txt | ||
| 12 | index 7508e5522..79495ae02 100644 | ||
| 13 | --- a/Encodings/testsuite/CMakeLists.txt | ||
| 14 | +++ b/Encodings/testsuite/CMakeLists.txt | ||
| 15 | @@ -19,12 +19,9 @@ POCO_SOURCES_AUTO_PLAT( TEST_SRCS WINCE | ||
| 16 | add_executable( ${TESTUNIT} ${TEST_SRCS} ) | ||
| 17 | if(ANDROID) | ||
| 18 | add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} | ||
| 19 | - COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_FILES=${CMAKE_CURRENT_SOURCE_DIR}/data;" -DLIBRARY_DIR=${CMAKE_BINARY_DIR}/lib -DUNITTEST=${CMAKE_BINARY_DIR}/bin/${TESTUNIT} -DTEST_PARAMETER=-all -P ${CMAKE_SOURCE_DIR}/cmake/ExecuteOnAndroid.cmake) | ||
| 20 | + COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} -DLIBRARY_DIR=${CMAKE_BINARY_DIR}/lib -DUNITTEST=${CMAKE_BINARY_DIR}/bin/Encodings-testrunner -DTEST_PARAMETER=-all -P ${CMAKE_SOURCE_DIR}/cmake/ExecuteOnAndroid.cmake) | ||
| 21 | else() | ||
| 22 | add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) | ||
| 23 | - # The test is run in the build directory. So the test data is copied there too | ||
| 24 | - add_custom_command(TARGET ${TESTUNIT} POST_BUILD | ||
| 25 | - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/data ${CMAKE_CURRENT_BINARY_DIR}/data ) | ||
| 26 | endif() | ||
| 27 | #set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} ) | ||
| 28 | target_link_libraries( ${TESTUNIT} PocoEncodings PocoFoundation CppUnit ) | ||
| 29 | -- | ||
| 30 | 2.18.0 | ||
| 31 | |||
diff --git a/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch b/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch deleted file mode 100644 index c0de32dafe..0000000000 --- a/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 589a5442a841b156a1890bc2d26e7a5103e2f672 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 1 Nov 2019 17:53:50 -0700 | ||
| 4 | Subject: [PATCH] riscv: Enable double operations when using double float abi | ||
| 5 | |||
| 6 | Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/2825] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | Foundation/src/utils.h | 3 ++- | ||
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h | ||
| 13 | index 69cea1aca..ff7a5c9ce 100644 | ||
| 14 | --- a/Foundation/src/utils.h | ||
| 15 | +++ b/Foundation/src/utils.h | ||
| 16 | @@ -63,7 +63,8 @@ | ||
| 17 | defined(__SH4__) || defined(__alpha__) || \ | ||
| 18 | defined(_MIPS_ARCH_MIPS32R2) || \ | ||
| 19 | defined(__AARCH64EL__) || \ | ||
| 20 | - defined(nios2) || defined(__nios2) || defined(__nios2__) | ||
| 21 | + defined(nios2) || defined(__nios2) || defined(__nios2__) || \ | ||
| 22 | + (defined(__riscv) && defined(__riscv_float_abi_double)) | ||
| 23 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
| 24 | #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) | ||
| 25 | #if defined(_WIN32) | ||
| 26 | -- | ||
| 27 | 2.23.0 | ||
| 28 | |||
diff --git a/meta-oe/recipes-support/poco/poco_1.9.4.bb b/meta-oe/recipes-support/poco/poco_1.10.1.bb index fcd5219759..3f51e61187 100644 --- a/meta-oe/recipes-support/poco/poco_1.9.4.bb +++ b/meta-oe/recipes-support/poco/poco_1.10.1.bb | |||
| @@ -10,11 +10,9 @@ DEPENDS = "libpcre zlib" | |||
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
| 12 | git://github.com/pocoproject/poco.git;branch=poco-${PV} \ | 12 | git://github.com/pocoproject/poco.git;branch=poco-${PV} \ |
| 13 | file://0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch \ | ||
| 14 | file://0001-riscv-Enable-double-operations-when-using-double-flo.patch \ | ||
| 15 | file://run-ptest \ | 13 | file://run-ptest \ |
| 16 | " | 14 | " |
| 17 | SRCREV = "b95393dcc3640807838e8323b4e600e54d2e8116" | 15 | SRCREV = "a3d827d80eb7f3329c58e73eb2906cb7ba829019" |
| 18 | 16 | ||
| 19 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" | 17 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" |
| 20 | 18 | ||
| @@ -25,16 +23,17 @@ inherit cmake ptest | |||
| 25 | # By default the most commonly used poco components are built | 23 | # By default the most commonly used poco components are built |
| 26 | # Foundation is built anyway and doesn't need to be listed explicitly | 24 | # Foundation is built anyway and doesn't need to be listed explicitly |
| 27 | # these don't have dependencies outside oe-core | 25 | # these don't have dependencies outside oe-core |
| 28 | PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite Zip Encodings Redis" | 26 | PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis" |
| 29 | 27 | ||
| 30 | PACKAGECONFIG[XML] = "-DENABLE_XML=ON -DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat" | 28 | PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" |
| 31 | PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" | 29 | PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" |
| 32 | PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF" | 30 | PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF" |
| 33 | PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib" | 31 | PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib" |
| 34 | PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF" | 32 | PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF" |
| 35 | PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF" | 33 | PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF" |
| 36 | PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl -DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_NETSSL=OFF,openssl" | 34 | PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl" |
| 37 | PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl -DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_CRYPTO=OFF,openssl" | 35 | PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl" |
| 36 | PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl" | ||
| 38 | PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" | 37 | PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" |
| 39 | PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3" | 38 | PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3" |
| 40 | PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" | 39 | PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" |
| @@ -53,7 +52,6 @@ PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENA | |||
| 53 | PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF" | 52 | PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF" |
| 54 | 53 | ||
| 55 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \ | 54 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \ |
| 56 | -DZLIB_LIBRARY_RELEASE:STRING=z -DPCRE_LIBRARY:STRING=pcre \ | ||
| 57 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | 55 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ |
| 58 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" | 56 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" |
| 59 | 57 | ||
