Skip to content

Commit 7743d86

Browse files
committed
Further cleaning up code in related files
1 parent ade138d commit 7743d86

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -413,24 +413,6 @@ if(${WITH_ABC})
413413
add_subdirectory(abc)
414414
endif()
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-
434416
add_subdirectory(libs) #libs/CMakeLists.txt handles adding warnings flags to non-external libraries
435417

436418
if(${WITH_PARMYS})

dev/subtree_config.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@
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"

libs/EXTERNAL/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)