浏览代码

package/libzenoh-pico: bump to version 1.1.0

Fixed CMakeLists.txt patch

https://github.com/eclipse-zenoh/zenoh-pico/releases/tag/1.1.0

Signed-off-by: Alex Michel <alex.michel@wiedemann-group.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Michel Alex 6 月之前
父节点
当前提交
30b05ce90d

+ 9 - 6
package/libzenoh-pico/0001-CMakeLists.txt-don-t-override-the-optimization-level.patch

@@ -30,10 +30,10 @@ Upstream: https://github.com/eclipse-zenoh/zenoh-pico/pull/847
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7a9fb6d1..97fba56a 100644
+index 25b62fb5..623d13f8 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -85,13 +85,13 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
+@@ -86,15 +86,15 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
  # Compile options
  if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR "Release")
    if(UNIX)
@@ -44,13 +44,16 @@ index 7a9fb6d1..97fba56a 100644
 +    add_compile_options(-pipe)
    endif()
  else()
-   if(UNIX)
+   if(CMAKE_SYSTEM_NAME MATCHES "PICO")
+-    add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g -O0)
++    add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g)
+   elseif(UNIX)
 -    add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g -O0)
 +    add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g)
      # C99 pedantic doesn't like struct anonymous in unix header
      if (NOT CMAKE_C_STANDARD STREQUAL "99")
        add_compile_options(-Wpedantic)
-@@ -100,7 +100,7 @@ else()
+@@ -103,7 +103,7 @@ else()
    elseif(MSVC)
      add_compile_options(/W4 /WX /Od /wd4127)
    elseif(CMAKE_SYSTEM_NAME MATCHES "Generic")
@@ -58,7 +61,7 @@ index 7a9fb6d1..97fba56a 100644
 +    add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -pipe -g)
    endif()
  endif()
- 
--- 
+
+--
 2.47.1
 

+ 1 - 1
package/libzenoh-pico/libzenoh-pico.hash

@@ -1,3 +1,3 @@
 # Locally computed
-sha256  c9002b4e348337c6fa522a2c80e175f512fa94d1837a9332fe095cf254e77242  libzenoh-pico-1.0.4.tar.gz
+sha256  4033d3867a8e94e587355639de2ad9045c0a1ed0409c7901a93dbd2cf2d9308b  libzenoh-pico-1.1.0.tar.gz
 sha256  d386df32cf327bbb25abe894277d3d7e0f447bafc59f4ad362615b0136f30db5  LICENSE

+ 1 - 1
package/libzenoh-pico/libzenoh-pico.mk

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBZENOH_PICO_VERSION = 1.0.4
+LIBZENOH_PICO_VERSION = 1.1.0
 LIBZENOH_PICO_SITE = $(call github,eclipse-zenoh,zenoh-pico,$(LIBZENOH_PICO_VERSION))
 LIBZENOH_PICO_LICENSE = Apache-2.0 or EPL-2.0
 LIBZENOH_PICO_LICENSE_FILES = LICENSE