diff options
Diffstat (limited to 'math/py-jij-cimod/files')
-rw-r--r-- | math/py-jij-cimod/files/patch-CMakeLists.txt | 20 | ||||
-rw-r--r-- | math/py-jij-cimod/files/patch-pyproject.toml | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/math/py-jij-cimod/files/patch-CMakeLists.txt b/math/py-jij-cimod/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..68251a0b6c06 --- /dev/null +++ b/math/py-jij-cimod/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2022-11-09 12:37:21 UTC ++++ CMakeLists.txt +@@ -65,13 +65,10 @@ ENDIF () + ENDIF () + ENDIF () + +-IF (CMAKE_REQUIRE_FAILE) +- SET (CMAKE_REQUIRE_FIND_PACKAGE_Eigen3 ON) +- SET (CMAKE_REQUIRE_FIND_PACKAGE_nlohmann_json ON) +- SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11 ON) +- SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11_json ON) +- SET (CMAKE_REQUIRE_FIND_PACKAGE_GTest ON) +-ENDIF () ++SET (CMAKE_REQUIRE_FIND_PACKAGE_Eigen3 ON) ++SET (CMAKE_REQUIRE_FIND_PACKAGE_nlohmann_json ON) ++SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11 ON) ++SET (CMAKE_REQUIRE_FIND_PACKAGE_pybind11_json ON) + + # detect operating system and host processor + MESSAGE (STATUS "We are on a ${CMAKE_SYSTEM_NAME} system") diff --git a/math/py-jij-cimod/files/patch-pyproject.toml b/math/py-jij-cimod/files/patch-pyproject.toml new file mode 100644 index 000000000000..3bc3e040dfe8 --- /dev/null +++ b/math/py-jij-cimod/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2025-10-11 17:30:54 UTC ++++ pyproject.toml +@@ -17,7 +17,7 @@ requires = [ + "scikit-build-core>=0.10", + "setuptools_scm[toml]", + "pybind11", +- "oldest-supported-numpy", ++ "numpy", + ] + build-backend = "scikit_build_core.build" + |