Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldc: Disable cdvecfill test to fix build on older processors #33830

Merged
merged 1 commit into from Jan 13, 2018

Conversation

ThomasMader
Copy link
Contributor

Motivation for this change

Continuation of #33723 to fix build of ldc on hydra/Linux and other machines with older processors.

cc @joachifm

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@joachifm
Copy link
Contributor

@GrahamcOfBorg build ldc

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: aarch64-linux

Package ‘ldcBuild-1.7.0’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/compilers/ldc/default.nix:169 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-linux

7: [ 73%] Generating std/algorithm/iteration-unittest-debug.o
7: [ 73%] Generating std/algorithm/mutation-unittest-debug.o
7: [ 73%] Generating std/algorithm/package-unittest-debug.o
7: [ 73%] Generating std/algorithm/searching-unittest-debug.o
building of ‘/nix/store/dqfaklxzvnc0gcq5ibdff620vgjln6qj-ldcUnittests-0.17.5.drv’ timed out after 1800 seconds
cannot build derivation ‘/nix/store/gl5h41acfdq2wzkaakpn21rh0nfjs0xk-ldc-0.17.5.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/8swcvmrdc1rcssblfnxbdi8v535qlcy9-ldcBuild-1.7.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/hfisn18qgib5bzjpvc0lhw50rfg1grlv-ldcUnittests-1.7.0.drv’: 2 dependencies couldn't be built
cannot build derivation ‘/nix/store/42d26j9xlckmfwhcgbccqq2blf6xcfjy-ldc-1.7.0.drv’: 2 dependencies couldn't be built
error: build of ‘/nix/store/42d26j9xlckmfwhcgbccqq2blf6xcfjy-ldc-1.7.0.drv’ failed

@ThomasMader
Copy link
Contributor Author

Fixes for the last commit pushed.

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-darwin

100% tests passed, 0 tests failed out of 764

Total Test time (real) =  89.91 sec
installing
post-installation fixup
strip is /nix/store/bhfkh37smh9lc5bngdha6zx98k6w6cgd-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/rlh7v9h8i0v43m4yiyf25ykc0frzs75q-ldcUnittests-1.7.0
building '/nix/store/xaxbgslb0kxrlhi2swm0f6sbdkqhiig9-ldc-1.7.0.drv'...
installing
/nix/store/0rvywwvdwasgyvlgp6npam9yvrvbbaa9-ldc-1.7.0

@joachifm joachifm merged commit 4b75d0a into NixOS:master Jan 13, 2018
@ThomasMader ThomasMader deleted the disable_test_cdvecfill branch January 13, 2018 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants