#43446: Meson: Search python executable only once Open Date: 2021-12-20 10:33 Last Update: 2021-12-30 05:26 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43446 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43446 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-12-30 05:26 Updated by: cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.1.0 Component: Bootstrap Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Currently each meson custom_target() using python search for the binary itself, meaning it gets searched multiple times. Search it just once and store result to an executable variable, which is then used in all places where its needed. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43446 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43446