Skip to content

Commit

Permalink
cmake: do not download submodules when BUILD_UNIT_TESTS
Browse files Browse the repository at this point in the history
Faster CI.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and lgirdwood committed Sep 17, 2021
1 parent ed5d2fe commit fd1f631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cmake/git-submodules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if(GIT_FOUND AND EXISTS "${SOF_ROOT_SOURCE_DIRECTORY}/.git")
"There are submodule changes, check git status and git diff\n${stdout}")
endif()

else()
elseif(NOT BUILD_UNIT_TESTS)
# Automated initialization for convenience. You can defeat it by
# manually initializing rimage and _not_ some other
# submodule. In that case you get the warning above.
Expand Down

0 comments on commit fd1f631

Please sign in to comment.