aboutsummaryrefslogtreecommitdiff
path: root/meson.options
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-18 23:03:48 -0700
committerjade <lix@jade.fyi>2024-03-27 03:52:57 +0000
commit412a9c9f6719a6c62e8f5b6265714428d2ad4013 (patch)
tree411ebdeaa53cbf0129f7cfcdf2ebecdd6141178f /meson.options
parent50c6feeb7747f8fd36aad801b7225552b0481dab (diff)
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
Diffstat (limited to 'meson.options')
-rw-r--r--meson.options4
1 files changed, 4 insertions, 0 deletions
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',
)