remove clean step in build to avoid long compilation times

This commit is contained in:
coolbreeze413 2021-11-04 10:19:25 +05:30
parent 192eb1e655
commit a823c3e143
1 changed files with 0 additions and 3 deletions

View File

@ -231,7 +231,6 @@ include(CheckCXXCompilerFlag)
add_custom_target(
yosys ALL
COMMAND $(MAKE) config-gcc
COMMAND make clean
COMMAND $(MAKE) install PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/yosys/install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys
COMMENT "Compile Yosys with given Makefile"
@ -242,11 +241,9 @@ add_custom_target(
# yosys-plugins compilation starts
add_custom_target(
yosys-plugins ALL
COMMAND $(MAKE) clean YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys/install
COMMAND $(MAKE) install YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys/install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys-plugins
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/yosys/install/bin/yosys
#DEPENDS yosys
COMMENT "Compile Yosys-plugins with given Makefile"
)