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

LLVM 3.9 improvements #24018

Merged
merged 1 commit into from Mar 20, 2017
Merged

Conversation

copumpkin
Copy link
Member

Splits outputs in clang like we do in 3.8 and 4.0 to avoid runtime dependency on Python in the main derivation output.

I also disable TSAN on Darwin to maintain consistency with 4.0, which disables it because it forces an unfree dependency in the stdenv.

Motivation for this change

Closure size and consistency with 4.0

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
    • Linux
  • 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.

@mention-bot
Copy link

@copumpkin, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pmahoney, @pSub, @pmiddend and @FRidh to be potential reviewers.

@copumpkin copumpkin changed the title Llvm 39 improvements LLVM 3.9 improvements Mar 18, 2017
@copumpkin
Copy link
Member Author

Err, I should've based this off staging.

Splits outputs in clang like we do in 3.8 and 4.0 to avoid runtime
dependency on Python in the main derivation.

I also disable TSAN on Darwin to maintain consistency with 4.0, which
disables it because it forces an unfree dependency in the stdenv.
@dtzWill
Copy link
Member

dtzWill commented Mar 18, 2017

Would it be appropriate/neater to use moveToOutput here? Creates directories and is benign when pattern doesn't exist, so might be a bit neater. Haven't used it much myself though so whatever you think is best :).

@copumpkin
Copy link
Member Author

Oh, I didn't even know about that!

@vcunat
Copy link
Member

vcunat commented Mar 19, 2017

Note that it supports wildcards (but you have to quote them so they're not destroyed by bash immediately).

@copumpkin
Copy link
Member Author

Going to merge this for now and then switch all the LLVM expressions to use moveToOutput separately.

@copumpkin copumpkin merged commit 5148be4 into NixOS:staging Mar 20, 2017
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

5 participants