Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managed Build rebuilding whole folder when options of one file change
  • From: Torbjorn SVENSSON <torbjorn.svensson@xxxxxx>
  • Date: Fri, 19 Aug 2022 15:27:12 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZlnMndmz27KWAtFq3t1kMmlNIqpAv2NZ0e2V75XN7bs=; b=Rjs1+Hi5tFqVsS3cUknuYMO0RvRymIeqVvra50Zch5vI23MkvT8INB4ygTw7HXw1GqjYWTkOKo9cfB6Z2ZbpzPfHuiX/PQk/aZGReZiCb9SF7Aef+KUu+5Nvec7r//4d1SYfgrtvAd2eFaYOsLU+S4v2yr78TT2qnF45eL4CmeGxhSw7Uv8q2OI0mP4Fv6WkvH5Ed9xo3pZsYOfXCT6WSQ9o2TeoOlHagGopaRBj4a0tYVWfj4W6mSKSTSSQi7hY/RnOW66wDk6VkkIGyehQjHUl76ZoUJZ+KtdG73fCJkfL/7UeokwfpIA9AL8TLMHeaNoFyHDLivrVPz2ERguh4g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Qg0NWpelMjmWhmBqpVU+Q+7Ye1McQr8abeq+tQERQcu9HYjIi29dYKATf7mFlfb1YNFdfMOIz+D/bFHtE+qIOYfzGc6C5oZ5GICdtTcmv1wrPeJhmej3RJtaOYf6IYtKe/nvZkcp8nH3iMdzIrtgGilQjRdT0C7LumO4Ep+7eAvU/o8rfOspU4T2S+EmvDfz0YznHfjo7HPnOYqLAsHoGL3TCeZEsn4jH8obssjiirlRq7FD6O+oWRUHwsMH6gFgyHIYoJ+PYebPA9FdLSpvNM98ak0AEvv/kW+zzPJNX0tYh3W6VFt4CMra73QdEcXtLIwrS6C1i/G94SjbWweKdw==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Msip_labels: MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_Enabled=true; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_SetDate=2022-08-19T15:27:03Z; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_Method=Privileged; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_Name=cf8c7287-838c-46dd-b281-b1140229e67a; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_SiteId=75e027c9-20d5-47d5-b82f-77d7cd041e8f; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_ActionId=3120cc93-0271-40c3-91ed-a94f98babf57; MSIP_Label_cf8c7287-838c-46dd-b281-b1140229e67a_ContentBits=0
  • Thread-index: AQHYsht6EFaG6P2LEU2/+N1CoZFLcK2y67pQgAA0doCAAyD3gIAAGkAg
  • Thread-topic: [cdt-dev] Managed Build rebuilding whole folder when options of one file change

Hello Christian,

With that change, does it not make you get a rebuild anyway the first time to change the setting of a specific file?
I assume that the added "include" line to will cause all other files in the directory (that have the pattern rule) to be rebuilt. Wasn't this what you were aiming to avoid?
After the specific rule file has been created and added to, then I suppose it would work in the way you want.

Kind regards,

> -----Original Message-----
> From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Christian Walther
> Sent: den 19 augusti 2022 15:51
> To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
> Subject: Re: [cdt-dev] Managed Build rebuilding whole folder when options of
> one file change
> On 2022-08-17 at 16:04, Christian Walther <walther@xxxxxxxx> wrote:
> > But no, I haven’t come up with a good way of solving my problem of too
> many rebuilt files, given that we want the dependency. A possibility might be
> to split up into several files, one for every make rule (i.e. one each
> for every source file with specific settings plus one with the wildcard rule for
> all other files in the folder). But that may get unwieldy and I hesitate to stir
> up the complicated Managed Build system that much for what is arguably a
> corner case.
> I have now tentatively implemented that, it turned out easier than expected.
> Will see whether it stands the test in our product. If anyone is interested:
> ag/cdt/commit/226419ceb7edc97cae5f94012db0166e0130c50b#diff-
> d13c7787e9262d76490b1426af7b2e293a491e247430c5bd30d844a0349859d4
>  -Christian
> --
> Indel AG
> Christian Walther - Software
> Tuefiwis 26
> CH-8332 Russikon
> Switzerland
> Tel.: +41 44 956 20 00
> ------------------------------------------------------------------------------------------
> New product GIN-MAX4x4: The compact 4-axis motion board now also
> available as PRO version!
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit

Back to the top