tkurbad-overlay/sci-electronics/nextpnr/files/nextpnr-0.8-no-tests-gui.patch
2025-05-30 14:53:24 +02:00

52 lines
1.9 KiB
Diff

diff '--color=auto' -ur nextpnr-nextpnr-0.8.orig/3rdparty/imgui/examples/example_glfw_vulkan/CMakeLists.txt nextpnr-nextpnr-0.8/3rdparty/imgui/examples/example_glfw_vulkan/CMakeLists.txt
--- nextpnr-nextpnr-0.8.orig/3rdparty/imgui/examples/example_glfw_vulkan/CMakeLists.txt 2025-03-20 09:07:37.000000000 +0100
+++ nextpnr-nextpnr-0.8/3rdparty/imgui/examples/example_glfw_vulkan/CMakeLists.txt 2025-05-30 14:06:32.589813761 +0200
@@ -2,7 +2,7 @@
project(imgui_example_glfw_vulkan C CXX)
if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)
+#_cmake_modify_IGNORE set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)
endif()
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DVK_PROTOTYPES")
diff '--color=auto' -ur nextpnr-nextpnr-0.8.orig/CMakeLists.txt nextpnr-nextpnr-0.8/CMakeLists.txt
--- nextpnr-nextpnr-0.8.orig/CMakeLists.txt 2025-03-20 09:07:37.000000000 +0100
+++ nextpnr-nextpnr-0.8/CMakeLists.txt 2025-05-30 14:08:00.623119637 +0200
@@ -40,7 +40,7 @@
endif()
if (NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Release)
+#_cmake_modify_IGNORE set(CMAKE_BUILD_TYPE Release)
endif()
if (USE_IPO)
@@ -176,7 +176,7 @@
if (BUILD_PYTHON)
# TODO: sensible minimum Python version
- find_package(Python3 3.5 REQUIRED COMPONENTS Interpreter Development.Embed)
+ find_package(Python3 3.13 REQUIRED COMPONENTS Interpreter Development.Embed)
find_package(pybind11 CONFIG)
if (NOT pybind11_FOUND)
message(STATUS "Using built-in pybind11")
@@ -184,7 +184,7 @@
endif()
include_directories(${Python3_INCLUDE_DIRS})
else()
- find_package(Python3 3.5 REQUIRED COMPONENTS Interpreter)
+ find_package(Python3 3.13 REQUIRED COMPONENTS Interpreter)
add_definitions("-DNO_PYTHON")
endif()
@@ -239,8 +239,6 @@
add_subdirectory(json)
add_subdirectory(rust)
-add_subdirectory(tests/gui)
-
add_custom_target(nextpnr-all-bba)
function(add_nextpnr_architecture target)