From 412a9c9f6719a6c62e8f5b6265714428d2ad4013 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Mon, 18 Mar 2024 23:03:48 -0700 Subject: Enable clang build timing analysis I didn't enable this by default for clang due to making the build time 10% worse or so. Unfortunate, but tbh devs for whom 10% of build time is not *that* bad should probably simply enable this. Change-Id: I8d1e5b6f3f76c649a4e2f115f534f7f97cee46e6 --- meson.options | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson.options') diff --git a/meson.options b/meson.options index 4e8323689..ef5a669dd 100644 --- a/meson.options +++ b/meson.options @@ -31,6 +31,10 @@ option('tests-brief', type : 'boolean', value : false, description : 'set to true for shorter tests output', ) +option('profile-build', type : 'feature', value: 'disabled', + description : 'whether to enable -ftime-trace in clang builds, allowing for speeding up the build.' +) + option('store-dir', type : 'string', value : '/nix/store', description : 'path of the Nix store', ) -- cgit v1.2.3