File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -418,11 +418,13 @@ if(${WITH_PARMYS}) # define cmake params to compile Yosys
418418 set (MAKE_PROGRAM "make" )
419419 endif ()
420420
421- if (NOT DEFINED "${CMAKE_BUILD_PARALLEL_LEVEL} " )
422- set (CUSTOM_BUILD_PARALLEL_LEVEL 16)
423- else ()
424- set (CUSTOM_BUILD_PARALLEL_LEVEL "${CMAKE_BUILD_PARALLEL_LEVEL} " )
425- endif ()
421+ # Commented out since a make file should not call another make command with
422+ # threads. It should pass this information from the parent automatically.
423+ # if(NOT DEFINED "${CMAKE_BUILD_PARALLEL_LEVEL}")
424+ # set(CUSTOM_BUILD_PARALLEL_LEVEL 16)
425+ # else()
426+ # set(CUSTOM_BUILD_PARALLEL_LEVEL "${CMAKE_BUILD_PARALLEL_LEVEL}")
427+ # endif()
426428 add_subdirectory (yosys)
427429endif ()
428430
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ add_custom_command(OUTPUT yosys-bin
2020# -C ${CMAKE_CURRENT_BINARY_DIR}
2121# -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile #(out-of-tree) build directory
2222 PREFIX =${CMAKE_BINARY_DIR}
23- -j${CUSTOM_BUILD_PARALLEL_LEVEL}
23+ # -j${CUSTOM_BUILD_PARALLEL_LEVEL}
2424 > /dev/null
2525
2626 COMMAND ${MAKE_PROGRAM} install ENABLE_ABC=0
@@ -43,4 +43,4 @@ add_custom_target(yosys ALL DEPENDS yosys-bin)
4343# INTERFACE_INCLUDE_DIRECTORIES ${YOSYS_INCLUDE_DIRS})
4444
4545
46- #install(FILES ${BINARY_LIB_FILE1} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
46+ #install(FILES ${BINARY_LIB_FILE1} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
You can’t perform that action at this time.
0 commit comments