mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Make libcpuid dependency optional with --disable-cpuid
This commit is contained in:
parent
b73a1c0638
commit
a9bd06d0ea
3 changed files with 16 additions and 4 deletions
|
@ -48,7 +48,6 @@ nix_tests = \
|
|||
flakes.sh \
|
||||
flake-local-settings.sh \
|
||||
build.sh \
|
||||
compute-levels.sh \
|
||||
repl.sh ca/repl.sh \
|
||||
ca/build.sh \
|
||||
ca/build-with-garbage-path.sh \
|
||||
|
@ -63,6 +62,10 @@ nix_tests = \
|
|||
eval-store.sh
|
||||
# parallel.sh
|
||||
|
||||
ifeq ($(HAVE_LIBCPUID), 1)
|
||||
nix_tests += compute-levels.sh
|
||||
endif
|
||||
|
||||
install-tests += $(foreach x, $(nix_tests), tests/$(x))
|
||||
|
||||
tests-environment = NIX_REMOTE= $(bash) -e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue