From 43b4cf39bdc211c54695366d0e10d4d82686c0e0 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 16 Dec 2020 19:45:08 -0500 Subject: [PATCH] sitl_gazebo build single threaded - building sitl_gazebo in parallel within a parallel PX4 build isn't load balanced --- platforms/posix/cmake/sitl_target.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/posix/cmake/sitl_target.cmake b/platforms/posix/cmake/sitl_target.cmake index 0c1a7bf89d..70df4c69cf 100644 --- a/platforms/posix/cmake/sitl_target.cmake +++ b/platforms/posix/cmake/sitl_target.cmake @@ -45,7 +45,7 @@ ExternalProject_Add(sitl_gazebo USES_TERMINAL_BUILD true EXCLUDE_FROM_ALL true BUILD_ALWAYS 1 - BUILD_COMMAND ${CMAKE_COMMAND} --build + BUILD_COMMAND ${CMAKE_COMMAND} --build -- -j1 ) ExternalProject_Add(mavsdk_tests