mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-09 02:21:01 +00:00
Let nested make calls parallelize
Bump minimum cmake version to 3.28 to use `JOB_SERVER_AWARE` when calling the `test-vanilla` target (and also `docs-prepare` and `test-docs`, though it's not as important there).
This commit is contained in:
parent
cc9692caab
commit
90ec02ca2f
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)
|
|||
)
|
||||
endif()
|
||||
|
||||
cmake_minimum_required(VERSION 3.27)
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
project(yosys LANGUAGES C CXX)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
|
@ -532,6 +532,7 @@ if (NOT YOSYS_BUILD_PYTHON_ONLY)
|
|||
COMMAND make vanilla-test ${makefile_vars}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests
|
||||
DEPENDS ${makefile_depends}
|
||||
JOB_SERVER_AWARE TRUE
|
||||
)
|
||||
|
||||
add_custom_target(test
|
||||
|
|
@ -543,6 +544,7 @@ if (NOT YOSYS_BUILD_PYTHON_ONLY)
|
|||
COMMAND make gen ${makefile_vars}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/docs
|
||||
DEPENDS ${makefile_depends}
|
||||
JOB_SERVER_AWARE TRUE
|
||||
)
|
||||
foreach (format html latexpdf)
|
||||
add_custom_target(docs-${format}
|
||||
|
|
@ -555,6 +557,7 @@ if (NOT YOSYS_BUILD_PYTHON_ONLY)
|
|||
COMMAND make test ${makefile_vars}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/docs
|
||||
DEPENDS ${makefile_depends}
|
||||
JOB_SERVER_AWARE TRUE
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue