Skip to content

Commit cfdeaa8

Browse files
committed
pnr/openroad: add missing mpl2 guard
1 parent 788c5b3 commit cfdeaa8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pnr/openroad/disable-mpl2.patch

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2-
index 3383cc173..81777c996 100755
2+
index 3383cc173..79e66cecb 100755
33
--- a/src/CMakeLists.txt
44
+++ b/src/CMakeLists.txt
55
@@ -168,6 +168,8 @@ message(STATUS "boost: ${Boost_VERSION}")
@@ -11,7 +11,18 @@ index 3383cc173..81777c996 100755
1111
option(ALLOW_WARNINGS "Flag to allow compilation with compiler warnings: on by default" ON)
1212
if (NOT ALLOW_WARNINGS)
1313
add_compile_options(
14-
@@ -325,12 +327,12 @@ target_link_libraries(openroad
14+
@@ -250,7 +252,9 @@ add_subdirectory(cts)
15+
add_subdirectory(grt)
16+
add_subdirectory(tap)
17+
add_subdirectory(mpl)
18+
-add_subdirectory(mpl2)
19+
+if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND BUILD_MPL2)
20+
+ add_subdirectory(mpl2)
21+
+endif()
22+
add_subdirectory(rcx)
23+
add_subdirectory(psm)
24+
add_subdirectory(par)
25+
@@ -325,12 +329,12 @@ target_link_libraries(openroad
1526
${CMAKE_THREAD_LIBS_INIT}
1627
)
1728

0 commit comments

Comments
 (0)