Skip to content

spirv-llvm-translator: cherry-pick a patch to fix build with latest spirv-headers#282006

Merged
K900 merged 1 commit intoNixOS:staging-nextfrom
K900:spirv-translator-fix
Jan 19, 2024
Merged

spirv-llvm-translator: cherry-pick a patch to fix build with latest spirv-headers#282006
K900 merged 1 commit intoNixOS:staging-nextfrom
K900:spirv-translator-fix

Conversation

@K900
Copy link
Contributor

@K900 K900 commented Jan 19, 2024

Description of changes

Renaming public API woo

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.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
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@K900 K900 merged commit cba1d95 into NixOS:staging-next Jan 19, 2024
@K900 K900 mentioned this pull request Jan 19, 2024
13 tasks
@SuperSandro2000
Copy link
Member

Is that patch only required for a specific LLVM version or starting from a version? It doesn't apply when using the llvm 14 branch and through that breaks intel-graphics-compiler and intel-compute-runtime.

SuperSandro2000 added a commit to SuperSandro2000/nixpkgs that referenced this pull request Jan 27, 2024
@K900
Copy link
Contributor Author

K900 commented Jan 27, 2024

It should be required for all versions, but it might need backporting... Is there a reason Intel stuff is stuck on 14? Can we not update it instead?

@SuperSandro2000
Copy link
Member

That is what upstream is using and their code in intel-graphics-compiler is hairy and often enough breaks even in the current branch. I don't think we can lift that to some other major version.

@K900 K900 deleted the spirv-translator-fix branch July 27, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants