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: disable libpfm on all non-Linux platforms #205355

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

alyssais
Copy link
Member

@alyssais alyssais commented Dec 9, 2022

Description of changes

libpfm is Linux-specific, it should be disabled on e.g. FreeBSD as well as Darwin.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

libpfm is Linux-specific, it should be disabled on e.g. FreeBSD as
well as Darwin.
@alyssais alyssais added the 6.topic: portability General portability concerns, not specific to cross-compilation or a specific platform label Dec 9, 2022
@Artturin Artturin merged commit 3061b3b into NixOS:master Dec 21, 2022
@rrbutani rrbutani mentioned this pull request Jan 8, 2023
92 tasks
rrbutani added a commit to rrbutani/nixpkgs that referenced this pull request Mar 24, 2023
this was applied to `llvmPackages_15` in 81ef82a
(though I appear to have forgotten to mention it in the commit message...)
rrbutani added a commit to rrbutani/nixpkgs that referenced this pull request Mar 24, 2023
this was applied to `llvmPackages_15` in 81ef82a
(though I appear to have forgotten to mention it in the commit message...)
rrbutani added a commit to rrbutani/nixpkgs that referenced this pull request Apr 3, 2023
this was applied to `llvmPackages_15` in 81ef82a
(though I appear to have forgotten to mention it in the commit message...)
rrbutani added a commit to rrbutani/nixpkgs that referenced this pull request Apr 5, 2023
this was applied to `llvmPackages_15` in 81ef82a
(though I appear to have forgotten to mention it in the commit message...)
RaitoBezarius added a commit that referenced this pull request Apr 19, 2023
llvmPackages_git: apply #205355 (disable libpfm on non-Linux)
anpin pushed a commit to anpin/nixpkgs that referenced this pull request Apr 22, 2023
this was applied to `llvmPackages_15` in 81ef82a
(though I appear to have forgotten to mention it in the commit message...)
@alyssais alyssais deleted the llvm-libpfm branch September 22, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: portability General portability concerns, not specific to cross-compilation or a specific platform 10.rebuild-darwin: 0 10.rebuild-linux: 0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants