-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISCV64 build fixes: update highway and libjxl
* libjxl: Update to the last stable version and backport a patch fixing the build for RISCV64. Also stop using bundled libraries completely and instead build against system libcms2 instead of skcms. That matches how Debian builds this library. * highway: Update to last stable version, which builds fine on RISCV64
- Loading branch information
Showing
5 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
recipes-graphics/libjxl/files/fix-riscv-build-add-missing-atomic-include.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Upstream-Status: Backport [22d12d74e7bc56b09cfb1973aa89ec8d714fa3fc] | ||
From: Eastdong <[email protected]> | ||
Date: Thu, 23 Feb 2023 06:08:36 +0800 | ||
Subject: [PATCH] Add missing <atomic> content to fix gcc compilation for RISCV | ||
architecture. (#2211) | ||
|
||
* Add missing <atomic> content to fix gcc compilation for RISCV architecture. | ||
|
||
Co-authored-by: Moritz Firsching <[email protected]> | ||
--- | ||
lib/jxl/enc_xyb.cc | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/lib/jxl/enc_xyb.cc b/lib/jxl/enc_xyb.cc | ||
index 1ef78877..2ee0abf8 100644 | ||
--- a/lib/jxl/enc_xyb.cc | ||
+++ b/lib/jxl/enc_xyb.cc | ||
@@ -6,6 +6,7 @@ | ||
#include "lib/jxl/enc_xyb.h" | ||
|
||
#include <algorithm> | ||
+#include <atomic> | ||
#include <cstdlib> | ||
|
||
#undef HWY_TARGET_INCLUDE | ||
-- | ||
2.30.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.