[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.
From: |
guix-commits |
Subject: |
03/10: gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux. |
Date: |
Mon, 7 Mar 2022 15:56:24 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit df03e7a60136aef8e804b1ee90c5fdf99c38713b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 7 22:38:23 2022 +0200
gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: When
cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR.
---
gnu/packages/image.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index b9c780fa69..2feec742a2 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
;;; Copyright © 2016, 2017, 2018, 2020 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner
<efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2017, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
@@ -1691,6 +1691,8 @@ is hereby granted."))))
;; 32-bit and 64-bit
((string-prefix? "powerpc" target)
`("-DCMAKE_SYSTEM_PROCESSOR=powerpc"))
+ ((string-prefix? "riscv64" target)
+ `("-DCMAKE_SYSTEM_PROCESSOR=riscv64"))
(else '()))
'())))
,@(if (%current-target-system)
- branch master updated (dc1e2ce72c -> 34ba6e0616), guix-commits, 2022/03/07
- 01/10: gnu: libopenmpt: Update dependencies., guix-commits, 2022/03/07
- 04/10: gnu: mtd-utils: Fix cross-compiling., guix-commits, 2022/03/07
- 02/10: gnu: libxrender: Fix cross compiling to riscv64-linux., guix-commits, 2022/03/07
- 06/10: gnu: squashfs-tools: Fix cross-compiling., guix-commits, 2022/03/07
- 03/10: gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.,
guix-commits <=
- 07/10: build-system/meson: Add more cross-compilation targets., guix-commits, 2022/03/07
- 09/10: gnu: dtc: Use pkg-config-for-target., guix-commits, 2022/03/07
- 10/10: system: Set kernel name for riscv64-linux., guix-commits, 2022/03/07
- 05/10: gnu: libcap: Fix cross-compiling., guix-commits, 2022/03/07
- 08/10: gnu: dtc: Use different source tarball., guix-commits, 2022/03/07