Adding yosys-symbiflow-plugins as submodule and adding tcllib as dependency in CI

This commit is contained in:
Lalit Sharma 2020-12-08 20:35:57 -08:00
parent 8a2681f99f
commit 07dfd35e12
4 changed files with 18 additions and 0 deletions

View File

@ -27,6 +27,7 @@ sudo apt-get install libxml++2.6-dev
sudo apt-get install perl
sudo apt-get install python
sudo apt-get install python-lxml
sudo apt-get install tcllib
sudo apt-get install texinfo
sudo apt-get install time
sudo apt-get install valgrind

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "yosys"]
path = yosys
url = https://github.com/YosysHQ/yosys.git
[submodule "yosys-symbiflow-plugins"]
path = yosys-symbiflow-plugins
url = https://github.com/SymbiFlow/yosys-symbiflow-plugins.git

View File

@ -191,6 +191,8 @@ add_subdirectory(ace2)
add_subdirectory(vpr)
add_subdirectory(openfpga)
# yosys compilation starts
# Compilation options for yosys
include(CMakeParseArguments)
@ -237,6 +239,17 @@ add_custom_target(
# yosys compilation ends
# yosys-symbiflow-plugins compilation starts
add_custom_target(
yosys-symbiflow-plugins ALL
COMMAND $(MAKE) all
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys-symbiflow-plugins
COMMENT "Compile yosys-symbiflow-plugins with given Makefile"
)
# yosys-symbiflow-plugins compilation ends
# run make to extract compiler options, linker options and list of source files
#add_custom_target(
# yosys

@ -0,0 +1 @@
Subproject commit f8a61ea93e68db6e9d5db6a6069ae088808695e8