forked from lix-project/lix
jade
412a9c9f67
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
49 lines
1.6 KiB
Meson
49 lines
1.6 KiB
Meson
# vim: filetype=meson
|
|
option('gc', type : 'feature',
|
|
description : 'enable garbage collection in the Nix expression evaluator (requires Boehm GC)',
|
|
)
|
|
# TODO(Qyriad): is this feature maintained?
|
|
option('embedded-sandbox-shell', type : 'feature',
|
|
description : 'include the sandbox shell in the Nix binary',
|
|
)
|
|
|
|
option('cpuid', type : 'feature',
|
|
description : 'determine microarchitecture levels with libcpuid (only relevant on x86_64)',
|
|
)
|
|
|
|
option('seccomp-sandboxing', type : 'feature',
|
|
description : 'build support for seccomp sandboxing (recommended unless your arch doesn\'t support libseccomp, only relevant on Linux)',
|
|
)
|
|
|
|
option('sandbox-shell', type : 'string', value : 'busybox',
|
|
description : 'path to a statically-linked shell to use as /bin/sh in sandboxes (usually busybox)',
|
|
)
|
|
|
|
option('enable-tests', type : 'boolean', value : true,
|
|
description : 'whether to enable tests or not (requires rapidcheck and gtest)',
|
|
)
|
|
|
|
option('tests-color', type : 'boolean', value : true,
|
|
description : 'set to false to disable color output in gtest',
|
|
)
|
|
|
|
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',
|
|
)
|
|
|
|
option('state-dir', type : 'string', value : '/nix/var/nix',
|
|
description : 'path to store state in for Nix',
|
|
)
|
|
|
|
option('log-dir', type : 'string', value : '/nix/var/log',
|
|
description : 'path to store logs in for Nix',
|
|
)
|