Skip to content

Commit

Permalink
Skip cmake test installed_function on GraalPy
Browse files Browse the repository at this point in the history
CMake won't find libpython on GraalPy, it either fails or silently picks
CPython's libpython.
  • Loading branch information
msimacek committed Oct 3, 2024
1 parent 3bd2034 commit a932f7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_cmake_build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ if(PYBIND11_INSTALL)
mock_install ${CMAKE_COMMAND} "-DCMAKE_INSTALL_PREFIX=${pybind11_BINARY_DIR}/mock_install" -P
"${pybind11_BINARY_DIR}/cmake_install.cmake")

pybind11_add_build_test(installed_function INSTALL)
if(NOT "${PYTHON_MODULE_EXTENSION}" MATCHES "graalpy")
pybind11_add_build_test(installed_function INSTALL)
endif()
pybind11_add_build_test(installed_target INSTALL)
if(NOT
("${PYTHON_MODULE_EXTENSION}" MATCHES "pypy"
Expand Down

0 comments on commit a932f7a

Please sign in to comment.