From 2424b1500aff6188bd7761198505962338f61a04 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 25 May 2023 14:56:08 +0800 Subject: double-conversion: upgrade 3.2.1 -> 3.3.0 Changelog: ========= Fix some compile warnings in Visual Studio Set permissions for github workflows Add flags to control trailing decimal and zero in exponent form when input has one significant digit Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-support/dc/double-conversion_3.2.1.bb | 41 ---------------------- .../recipes-support/dc/double-conversion_3.3.0.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-oe/recipes-support/dc/double-conversion_3.2.1.bb create mode 100644 meta-oe/recipes-support/dc/double-conversion_3.3.0.bb diff --git a/meta-oe/recipes-support/dc/double-conversion_3.2.1.bb b/meta-oe/recipes-support/dc/double-conversion_3.2.1.bb deleted file mode 100644 index 92466f67a3..0000000000 --- a/meta-oe/recipes-support/dc/double-conversion_3.2.1.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "Double conversion libraries" -DESCRIPTION = "This provides binary-decimal and decimal-binary routines for IEEE doubles." -HOMEPAGE = "https://github.com/google/double-conversion.git" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" - - -S = "${WORKDIR}/git" - -SRC_URI = " \ - git://github.com/google/double-conversion.git;protocol=https;branch=master \ - file://run-ptest \ -" -SRCREV = "af09fd65fcf24eee95dc62813ba9123414635428" - -inherit cmake ptest - -EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" - -# These ptest use ctest (provided by cmake) -RDEPENDS:${PN}-ptest += "cmake" -# Build tests only if ptest is enabled -EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON', '', d)}" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${B}/test ${D}${PTEST_PATH} - install -m 0644 ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}/ - files=" - CTestTestfile.cmake - test/CTestTestfile.cmake - test/cmake_install.cmake - test/cctest/CTestTestfile.cmake - test/cctest/cmake_install.cmake - " - for file in $files; do - sed -i -e "s|${B}|${PTEST_PATH}|g" -e "s|${S}|${PTEST_PATH}|g" -e "s|${WORKDIR}/recipe-sysroot-native||g" "${D}${PTEST_PATH}/${file}" - done - -} diff --git a/meta-oe/recipes-support/dc/double-conversion_3.3.0.bb b/meta-oe/recipes-support/dc/double-conversion_3.3.0.bb new file mode 100644 index 0000000000..a8fd88a9ad --- /dev/null +++ b/meta-oe/recipes-support/dc/double-conversion_3.3.0.bb @@ -0,0 +1,41 @@ +SUMMARY = "Double conversion libraries" +DESCRIPTION = "This provides binary-decimal and decimal-binary routines for IEEE doubles." +HOMEPAGE = "https://github.com/google/double-conversion.git" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" + + +S = "${WORKDIR}/git" + +SRC_URI = " \ + git://github.com/google/double-conversion.git;protocol=https;branch=master \ + file://run-ptest \ +" +SRCREV = "4f7a25d8ced8c7cf6eee6fd09d6788eaa23c9afe" + +inherit cmake ptest + +EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" + +# These ptest use ctest (provided by cmake) +RDEPENDS:${PN}-ptest += "cmake" +# Build tests only if ptest is enabled +EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON', '', d)}" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${B}/test ${D}${PTEST_PATH} + install -m 0644 ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}/ + files=" + CTestTestfile.cmake + test/CTestTestfile.cmake + test/cmake_install.cmake + test/cctest/CTestTestfile.cmake + test/cctest/cmake_install.cmake + " + for file in $files; do + sed -i -e "s|${B}|${PTEST_PATH}|g" -e "s|${S}|${PTEST_PATH}|g" -e "s|${WORKDIR}/recipe-sysroot-native||g" "${D}${PTEST_PATH}/${file}" + done + +} -- cgit v1.2.3-54-g00ecf