diff options
author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2024-06-26 16:54:24 +0530 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-06-28 11:22:02 -0700 |
commit | 52d7a4773947cbd798604ce2b80cf8d2b00bc8a3 (patch) | |
tree | b642badcf2ba00f3a2e37ea8651b00b6e6161981 /meta-python/recipes-devtools/python/python3-pybind11 | |
parent | 2ba9d36b1e367ee373f83aaba5cb77908c853a75 (diff) | |
download | meta-openembedded-52d7a4773947cbd798604ce2b80cf8d2b00bc8a3.tar.gz |
python3-pybind11 : upgrade 2.11.1 -> 2.12.0
- Drop the patch already merged
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch b/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch deleted file mode 100644 index 91575d2712..0000000000 --- a/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From debd676cd94f92a30b3be45f1245aa13d8c398c0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Philip Balister <philip@balister.org> | ||
3 | Date: Wed, 8 Jul 2020 09:41:43 -0400 | ||
4 | Subject: [PATCH] Do not strip binaries. | ||
5 | |||
6 | * OpenEmbedded strips them after creating debug packages. | ||
7 | |||
8 | Signed-off-by: Philip Balister <philip@balister.org> | ||
9 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | --- | ||
13 | tools/pybind11NewTools.cmake | 7 ------- | ||
14 | tools/pybind11Tools.cmake | 6 ------ | ||
15 | 2 files changed, 13 deletions(-) | ||
16 | |||
17 | diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake | ||
18 | index 7d7424a7..accd90c4 100644 | ||
19 | --- a/tools/pybind11NewTools.cmake | ||
20 | +++ b/tools/pybind11NewTools.cmake | ||
21 | @@ -233,13 +233,6 @@ function(pybind11_add_module target_name) | ||
22 | endif() | ||
23 | endif() | ||
24 | |||
25 | - # Use case-insensitive comparison to match the result of $<CONFIG:cfgs> | ||
26 | - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) | ||
27 | - if(NOT MSVC AND NOT "${uppercase_CMAKE_BUILD_TYPE}" MATCHES DEBUG|RELWITHDEBINFO) | ||
28 | - # Strip unnecessary sections of the binary on Linux/macOS | ||
29 | - pybind11_strip(${target_name}) | ||
30 | - endif() | ||
31 | - | ||
32 | if(MSVC) | ||
33 | target_link_libraries(${target_name} PRIVATE pybind11::windows_extras) | ||
34 | endif() | ||
35 | diff --git a/tools/pybind11Tools.cmake b/tools/pybind11Tools.cmake | ||
36 | index 66ad00a4..855ede41 100644 | ||
37 | --- a/tools/pybind11Tools.cmake | ||
38 | +++ b/tools/pybind11Tools.cmake | ||
39 | @@ -212,12 +212,6 @@ function(pybind11_add_module target_name) | ||
40 | endif() | ||
41 | endif() | ||
42 | |||
43 | - # Use case-insensitive comparison to match the result of $<CONFIG:cfgs> | ||
44 | - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) | ||
45 | - if(NOT MSVC AND NOT "${uppercase_CMAKE_BUILD_TYPE}" MATCHES DEBUG|RELWITHDEBINFO) | ||
46 | - pybind11_strip(${target_name}) | ||
47 | - endif() | ||
48 | - | ||
49 | if(MSVC) | ||
50 | target_link_libraries(${target_name} PRIVATE pybind11::windows_extras) | ||
51 | endif() | ||
52 | -- | ||
53 | 2.39.2 | ||
54 | |||