Skip to content

[staging-next] rocmPackages.migraphx: explicitly specify c++17 for abseil-cpp - #567659

Merged
vcunat merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/rocmPackages.migraphx
Sep 28, 2026
Merged

vcunat merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/rocmPackages.migraphx

Conversation

@whispersofthedawn

Copy link
Copy Markdown
Contributor

abseil exposes different interfaces depending on what is available in std in a given C++ standard. gcc 16 defaults to C++20, thus causing the default abseil-cpp to expose a different interface than the one migraphx (built with C++17) expects. thus, we explicitly override abseil to specify the desired C++ standard.

failing build logs: https://hydra.nixos.org/build/346880137

Things done

abseil exposes different interfaces depending on what is available in
std in a given C++ standard. gcc 16 defaults to C++20, thus causing the
default abseil-cpp to expose a different interface than the one
migraphx (built with C++17) expects. thus, we explicitly override abseil
to specify the desired C++ standard.

failing build logs: https://hydra.nixos.org/build/346880137
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team September 27, 2026 21:31
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: rocm ROCm is an Advanced Micro Devices software stack for graphics processing unit programming. labels Sep 27, 2026
@vcunat
vcunat added this pull request to the merge queue Sep 28, 2026
Merged via the queue into NixOS:staging-next with commit 046fe78 Sep 28, 2026
31 checks passed
@whispersofthedawn
whispersofthedawn deleted the p/rocmPackages.migraphx branch September 28, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: rocm ROCm is an Advanced Micro Devices software stack for graphics processing unit programming. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants