Skip to content

Commit eea4be5

Browse files
authored
qt6.qtwebengine: backport aarch64 build fix for xnnpack (NixOS#368101)
2 parents 6748e87 + b29f28a commit eea4be5

File tree

1 file changed

+10
-0
lines changed
  • pkgs/development/libraries/qt-6/modules/qtwebengine

1 file changed

+10
-0
lines changed

pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
bootstrap_cmds,
6767
cctools,
6868
xcbuild,
69+
fetchpatch,
6970
}:
7071

7172
qtModule {
@@ -114,6 +115,15 @@ qtModule {
114115

115116
# Override locales install path so they go to QtWebEngine's $out
116117
./locales-path.patch
118+
119+
# Fix build of vendored xnnpack on aarch64/gcc14
120+
# FIXME: remove when upstream updates
121+
(fetchpatch {
122+
url = "https://github.com/google/XNNPACK/commit/1b11a8b0620afe8c047304273674c4c57c289755.patch";
123+
stripLen = 1;
124+
extraPrefix = "src/3rdparty/chromium/third_party/xnnpack/src/";
125+
hash = "sha256-GUESVNR88I1K2V5xr0e09ec4j2eselMhNN06+PCcINM=";
126+
})
117127
];
118128

119129
postPatch =

0 commit comments

Comments
 (0)