Skip to content

Commit d598d99

Browse files
authored
Merge pull request #693 from os-fpga/dependabot/submodules/OpenFPGA-8464cb6
build(deps): bump OpenFPGA from `fddb700` to `8464cb6`
2 parents 94f85e0 + 3bc7ad8 commit d598d99

File tree

5 files changed

+14
-91
lines changed

5 files changed

+14
-91
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ file(COPY
213213

214214
file(COPY
215215
${PATCH_DIR}/CMAKE_fix/VPR_CMake_RS1.cmake
216-
${PATCH_DIR}/CMAKE_fix/VPR_CMake_PRODUCTION_BUILD_RS2.cmake
217216
DESTINATION
218217
${VPR_DEST_DIR})
219218
message(STATUS "NOTE: ADDED to VPR-root: VPR_CMake_RS1.cmake")

OpenFPGA

Submodule OpenFPGA updated 72 files

include/CMAKE_fix/VPR_CMake.diff

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
diff --git a/vpr/CMakeLists.txt b/vpr/CMakeLists.txt
2-
index 371d11f39..b9fe13934 100644
2+
index 433ef2730..fa6b7f352 100644
33
--- a/vpr/CMakeLists.txt
44
+++ b/vpr/CMakeLists.txt
5-
@@ -1,4 +1,4 @@
6-
-cmake_minimum_required(VERSION 3.16)
7-
+cmake_minimum_required(VERSION 3.9)
8-
9-
project("vpr")
10-
115
@@ -32,6 +32,10 @@ else()
126
message(STATUS "EZGL: graphics disabled")
137
endif()
@@ -43,36 +37,26 @@ index 371d11f39..b9fe13934 100644
4337
+
4438
files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)
4539

46-
if(${VTR_ENABLE_CAPNPROTO})
47-
@@ -60,6 +82,7 @@ add_library(libvpr STATIC
40+
if(${VPR_DEBUG_PARTITION_TREE})
41+
@@ -56,6 +78,7 @@ add_library(libvpr STATIC
4842

4943

5044
target_include_directories(libvpr PUBLIC ${LIB_INCLUDE_DIRS})
5145
+target_include_directories(libvpr PUBLIC ${READ_EDIF_SRC_DIR})
5246

53-
#VPR_ANALYTIC_PLACE is inisitalized in the root CMakeLists
47+
#VPR_ANALYTIC_PLACE is initialized in the root CMakeLists
5448
#Check Eigen dependency
55-
@@ -80,16 +103,9 @@ endif()
56-
set_target_properties(libvpr PROPERTIES PREFIX "") #Avoid extra 'lib' prefix
57-
58-
#Specify link-time dependancies
59-
-target_link_libraries(libvpr
60-
- libvtrutil
61-
- libarchfpga
62-
- libsdcparse
63-
- libblifparse
64-
- libtatum
65-
- libargparse
66-
- libpugixml
67-
- librrgraph
68-
-)
69-
+# 2nd RS patch - PRODUCTION_BUILD
70-
+include("${CMAKE_CURRENT_LIST_DIR}/VPR_CMake_PRODUCTION_BUILD_RS2.cmake")
71-
+message(STATUS "NOTE: INCLUDED VPR_CMake_PRODUCTION_BUILD_RS2.cmake\n")
49+
@@ -85,6 +108,9 @@ target_link_libraries(libvpr
50+
libargparse
51+
libpugixml
52+
librrgraph
53+
+ libreadedif
54+
+ ${OPENSSL_LIBRARIES}
55+
+ ${VERIFIC_LIBS} dl
56+
)
7257

7358
#link graphics library only when graphics set to on
74-
if (VPR_USE_EZGL STREQUAL "on")
75-
@@ -236,7 +252,7 @@ endif()
59+
@@ -233,7 +259,7 @@ endif()
7660
#Configure the build to use the selected engine
7761
if (VPR_USE_EXECUTION_ENGINE STREQUAL "tbb")
7862
target_compile_definitions(libvpr PRIVATE VPR_USE_TBB)
@@ -81,11 +65,3 @@ index 371d11f39..b9fe13934 100644
8165
target_link_libraries(libvpr ${TBB_tbbmalloc_proxy_LIBRARY}) #Use the scalable memory allocator
8266
message(STATUS "VPR: will support parallel execution using '${VPR_USE_EXECUTION_ENGINE}'")
8367
elseif(VPR_USE_EXECUTION_ENGINE STREQUAL "serial")
84-
@@ -257,7 +273,6 @@ if (VPR_USE_SIGNAL_HANDLER)
85-
endif()
86-
87-
install(TARGETS vpr libvpr DESTINATION bin)
88-
-install(FILES ${LIB_HEADERS} DESTINATION include/libvpr)
89-
90-
91-
#

include/CMAKE_fix/VPR_CMake_PRODUCTION_BUILD_RS2.cmake

Lines changed: 0 additions & 37 deletions
This file was deleted.

include/CMAKE_fix/VPR_CMake_RS1.cmake

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,13 @@
22
# 1st Rapid Silicon addition to VPR CMake
33
#
44

5-
if (PRODUCTION_BUILD)
6-
if(NOT RAPTOR)
7-
get_filename_component(FLEX_LM_SRC_DIR "../../../Raptor_Tools/Flex_LM"
8-
REALPATH BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
9-
add_subdirectory(${FLEX_LM_SRC_DIR} flex_lm)
10-
endif()
11-
message("Production Build type set to ON")
12-
set (PRODUCTION_BUILD_FLAG "-DPRODUCTION_BUILD=1")
13-
add_definitions(-DPRODUCTION_BUILD)
14-
message("FLEX: " ${FLEX_LM_SRC_DIR})
15-
endif(PRODUCTION_BUILD)
16-
175
option(ENABLE_VERIFIC "Enable Verific front end" OFF)
18-
196
if (NOT RAPTOR)
20-
217
if(ENABLE_VERIFIC)
228
get_filename_component(VERIFIC_HOME "../../../Raptor_Tools/verific_rs/"
239
REALPATH BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE)
2410
add_subdirectory(${VERIFIC_HOME} verific_rs)
2511
endif()
26-
2712
get_filename_component(READ_EDIF_SRC_DIR "../../../Raptor_Tools/gatelevel_readers/read_edif"
2813
REALPATH BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE)
2914
add_subdirectory(${READ_EDIF_SRC_DIR} read_edif)

0 commit comments

Comments
 (0)