Jeff Epler cae02f1cdf
Speed LTO builds by using multiple threads
On my i5-1235U laptop this speeds LTO "partition=balanced" builds
substantially, because each "partition" can be run on a separate
CPU thread. I used "pygamer" as my test build with a parallelism of
`-j4`, and took the best elapsed time reported over 4 builds.

The improvement was from 34.6s to 24.0s (-30%).

A link-only build (rm build-pygamer/firmware.elf; make -j...) improved
from1 17.4s to 5.1s (-70%)

The size of the resulting firmware is unchanged.

Boards that are nearly full use "-flto-partition=one" to improve code
size optimization. When LTO partition is "one", this feature doesn't help
but it doesn't seem to negatively affect anything either (tested
building trinket_m0)
2023-06-20 11:01:46 -05:00
..
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2021-06-18 10:54:19 -05:00
2023-03-14 12:30:58 -07:00
2022-05-27 12:59:54 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2023-04-07 09:49:51 -07:00
2023-04-19 15:14:02 -07:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2023-05-15 21:35:16 +01:00
2022-05-12 13:20:44 -07:00
2023-02-01 13:38:41 +05:30
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2023-02-01 13:38:41 +05:30
2023-02-01 13:38:41 +05:30
2022-10-05 13:12:43 -04:00
2022-02-15 12:36:26 -06:00
2022-10-05 13:12:43 -04:00
2021-10-15 15:11:21 -05:00
2022-10-09 19:22:39 -04:00
2021-04-19 22:22:44 -07:00
2021-04-19 22:22:44 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2023-03-14 12:30:58 -07:00
2021-10-15 08:20:54 -05:00
2021-08-29 11:36:29 -05:00
2021-10-15 08:20:54 -05:00
2020-07-06 19:16:25 +01:00
2022-10-05 13:12:43 -04:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2021-05-08 20:17:16 -05:00
2021-05-08 20:17:16 -05:00
2021-04-19 22:22:44 -07:00
2021-06-18 10:54:19 -05:00
2020-07-06 19:16:25 +01:00
2021-06-18 10:54:19 -05:00
2021-04-19 22:22:44 -07:00
2023-03-14 12:30:58 -07:00
2021-10-15 08:20:54 -05:00
2021-04-19 22:22:44 -07:00
2022-05-27 12:59:54 -07:00
2023-03-14 12:30:58 -07:00
2021-10-15 08:20:54 -05:00
2023-03-14 12:30:58 -07:00
2022-02-15 12:36:26 -06:00
2022-11-30 14:39:34 -06:00
2022-05-27 12:59:54 -07:00
2021-10-15 08:20:54 -05:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2022-05-27 12:59:54 -07:00
2023-03-14 12:30:58 -07:00
2022-11-30 14:39:47 -06:00
2022-05-27 12:59:54 -07:00
2022-11-30 14:39:47 -06:00
2021-10-15 08:20:54 -05:00
2022-05-27 12:59:54 -07:00
2021-08-04 12:10:57 +05:30
2022-05-27 12:59:54 -07:00
2023-01-23 23:51:10 +05:30
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2022-05-27 12:59:54 -07:00
2022-11-30 14:39:33 -06:00
2020-07-06 19:16:25 +01:00
2021-04-19 22:22:44 -07:00
2022-10-09 19:22:39 -04:00
2022-02-15 12:36:26 -06:00
2022-02-15 12:36:26 -06:00
2022-05-27 12:59:54 -07:00
2021-08-04 12:10:57 +05:30
2023-02-13 11:22:35 +05:30
2023-03-14 12:30:58 -07:00
2023-03-14 12:30:58 -07:00
2023-03-14 12:30:58 -07:00
2022-11-30 12:06:15 -06:00
2020-07-06 19:16:25 +01:00
2020-07-06 19:16:25 +01:00
2023-01-23 23:51:10 +05:30
2023-01-23 23:51:10 +05:30
2021-11-10 20:23:33 +05:30
2022-02-15 12:36:26 -06:00
2020-07-06 19:16:25 +01:00
2021-10-15 08:20:54 -05:00
2023-04-28 11:28:48 -07:00
2021-06-18 10:54:19 -05:00
2021-05-05 11:00:35 -05:00
2020-07-06 19:16:25 +01:00
2023-01-04 08:40:20 -06:00