File tree 2 files changed +9
-7
lines changed
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
418
418
set (MAKE_PROGRAM "make" )
419
419
endif ()
420
420
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()
426
428
add_subdirectory (yosys)
427
429
endif ()
428
430
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ add_custom_command(OUTPUT yosys-bin
20
20
# -C ${CMAKE_CURRENT_BINARY_DIR}
21
21
# -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile #(out-of-tree) build directory
22
22
PREFIX =${CMAKE_BINARY_DIR}
23
- -j${CUSTOM_BUILD_PARALLEL_LEVEL}
23
+ # -j${CUSTOM_BUILD_PARALLEL_LEVEL}
24
24
> /dev/null
25
25
26
26
COMMAND ${MAKE_PROGRAM} install ENABLE_ABC=0
@@ -43,4 +43,4 @@ add_custom_target(yosys ALL DEPENDS yosys-bin)
43
43
# INTERFACE_INCLUDE_DIRECTORIES ${YOSYS_INCLUDE_DIRS})
44
44
45
45
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