File tree Expand file tree Collapse file tree 3 files changed +3
-24
lines changed
Expand file tree Collapse file tree 3 files changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -413,24 +413,6 @@ if(${WITH_ABC})
413413 add_subdirectory (abc)
414414endif ()
415415
416- if (${WITH_PARMYS} ) # define cmake params to compile Yosys
417- add_definitions ("-D_YOSYS_" )
418-
419- set (MAKE_PROGRAM "$(MAKE)" )
420- if (${CMAKE_GENERATOR} STREQUAL "Ninja" )
421- set (MAKE_PROGRAM "make" )
422- endif ()
423-
424- # Commented out since a make file should not call another make command with
425- # threads. It should pass this information from the parent automatically.
426- # if(NOT DEFINED "${CMAKE_BUILD_PARALLEL_LEVEL}")
427- # set(CUSTOM_BUILD_PARALLEL_LEVEL 16)
428- # else()
429- # set(CUSTOM_BUILD_PARALLEL_LEVEL "${CMAKE_BUILD_PARALLEL_LEVEL}")
430- # endif()
431- #add_subdirectory(yosys)
432- endif ()
433-
434416add_subdirectory (libs) #libs/CMakeLists.txt handles adding warnings flags to non-external libraries
435417
436418if (${WITH_PARMYS} )
Original file line number Diff line number Diff line change 4949 internal_path =" vtr_flow/benchmarks/system_verilog/fx68k"
5050 external_url =" https://github.com/ijor/fx68k.git"
5151 default_external_ref =" master" />
52- <subtree
53- name =" yosys"
54- internal_path =" yosys"
55- external_url =" https://github.com/YosysHQ/yosys.git"
56- default_external_ref =" yosys-0.32" />
5752 <subtree
5853 name =" parmys"
5954 internal_path =" parmys"
Original file line number Diff line number Diff line change @@ -40,12 +40,14 @@ if (${WITH_PARMYS})
4040
4141 cmake_minimum_required (VERSION 3.16)
4242
43- #project(yosys_wrapper NONE )
43+ #project(yosys )
4444
4545 # Create a target out of the library compilation result
4646 SET (YOSYS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR} /yosys)
4747 SET (YOSYS_BUILD_DIR ${CMAKE_BINARY_DIR} /bin/yosys)
4848
49+ add_definitions ("-D_YOSYS_" )
50+ set (MAKE_PROGRAM "$(MAKE)" )
4951 set (CURRENT_CPPFLAGS "$(CPPFLAGS)-w" )
5052 if (${CMAKE_GENERATOR} STREQUAL "Ninja" )
5153 set (CURRENT_CPPFLAGS "-w" )
You can’t perform that action at this time.
0 commit comments