Skip to content

Commit c2dd345

Browse files
committed
pybind11: 3.0.0
1 parent fb029e3 commit c2dd345

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/ci/sanitizer/clang/Leak.supp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ leak:libopen-pal*
55
leak:libopen-rte*
66
leak:libmpi*
77
leak:libevent*
8-
# CPython 3.7.1 and pybind11 2.3.0
8+
# CPython 3.7.1 and pybind11 3.0.0
99
leak:*py*
1010
# 10 byte memleak in main of "make" 4.1
1111
leak:/usr/bin/make*

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ if(ImpactX_PYTHON)
283283
impactx_enable_IPO(pyImpactX)
284284
else()
285285
# conditionally defined target in pybind11
286-
# https://github.com/pybind/pybind11/blob/v2.13.0/tools/pybind11Common.cmake#L407-L413
286+
# https://github.com/pybind/pybind11/blob/v3.0.0/tools/pybind11Common.cmake#L420-L426
287287
target_link_libraries(pyImpactX PRIVATE pybind11::lto)
288288
endif()
289289
endif()

cmake/dependencies/pyAMReX.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ option(ImpactX_pyamrex_internal "Download & build pyAMReX" ON)
7474
set(ImpactX_pyamrex_repo "https://github.com/AMReX-Codes/pyamrex.git"
7575
CACHE STRING
7676
"Repository URI to pull and build pyamrex from if(ImpactX_pyamrex_internal)")
77-
set(ImpactX_pyamrex_branch "25.07"
77+
set(ImpactX_pyamrex_branch "f884dda4beebdd955aaba8f82a8a9530b8185bb5"
7878
CACHE STRING
7979
"Repository branch for ImpactX_pyamrex_repo if(ImpactX_pyamrex_internal)")
8080

cmake/dependencies/pybind11.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function(find_pybind11)
3737
mark_as_advanced(FETCHCONTENT_UPDATES_DISCONNECTED_FETCHEDpybind11)
3838
endif()
3939
else()
40-
find_package(pybind11 2.13.0 CONFIG REQUIRED)
40+
find_package(pybind11 3.0.0 CONFIG REQUIRED)
4141
message(STATUS "pybind11: Found version '${pybind11_VERSION}'")
4242
endif()
4343
endfunction()
@@ -52,7 +52,7 @@ option(ImpactX_pybind11_internal "Download & build pybind11" ON)
5252
set(ImpactX_pybind11_repo "https://github.com/pybind/pybind11.git"
5353
CACHE STRING
5454
"Repository URI to pull and build pybind11 from if(ImpactX_pybind11_internal)")
55-
set(ImpactX_pybind11_branch "v2.13.6"
55+
set(ImpactX_pybind11_branch "v3.0.0"
5656
CACHE STRING
5757
"Repository branch for ImpactX_pybind11_repo if(ImpactX_pybind11_internal)")
5858

src/python/Iterator.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace pyImpactX
2727
* explicitly, otherwise we will jump directly to the 2nd element. We do
2828
* this the same way as pybind11 does this, via a little state:
2929
* https://github.com/AMReX-Codes/pyamrex/pull/50
30-
* https://github.com/pybind/pybind11/blob/v2.10.0/include/pybind11/pybind11.h#L2269-L2282
30+
* https://github.com/pybind/pybind11/blob/v3.0.0/include/pybind11/pybind11.h#L2954-L2967
3131
*
3232
* To avoid unnecessary (and expensive) copies, remember to only call this
3333
* helper always with py::return_value_policy::reference_internal!

0 commit comments

Comments
 (0)