Skip to content

Commit

Permalink
Merge pull request #20968 from bedroge/20240705152646_new_pr_x2642023…
Browse files Browse the repository at this point in the history
…1019

add RISC-V support to x264-20231019/GCCcore-13.2.0
  • Loading branch information
SebastianAchilles committed Jul 5, 2024
2 parents a92667f + e5c9d3d commit 49dee66
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
6 changes: 5 additions & 1 deletion easybuild/easyconfigs/x/x264/x264-20231019-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://code.videolan.org/videolan/%(name)s/-/archive/baee400f/']
sources = [{'download_filename': '%(name)s-9c3c7168.tar.gz', 'filename': SOURCE_TAR_GZ}]
checksums = ['bf6a61dcc7e1f4e623a44f09de02e843f06e7ec14f807557b43130fc84287f29']
patches = ['x264-20231019_add-riscv-support.patch']
checksums = [
{'x264-20231019.tar.gz': 'bf6a61dcc7e1f4e623a44f09de02e843f06e7ec14f807557b43130fc84287f29'},
{'x264-20231019_add-riscv-support.patch': 'd4455f3f643f255d4e907cf8a7bd803a3184ab2b6cc3445298bd2986fbb976f6'},
]

builddependencies = [
('binutils', '2.40'),
Expand Down
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/x/x264/x264-20231019_add-riscv-support.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Add Risc-V 64 bit to config.guess
https://code.videolan.org/videolan/x264/-/merge_requests/121

From 941cae6d1d6d6344c9a1d27440eaf2872b18ca9a Mon Sep 17 00:00:00 2001
From: Roger Hardiman <software@rjh.org.uk>
Date: Fri, 18 Nov 2022 20:15:40 +0000
Subject: [PATCH] Add Risc-V 64 bit

---
config.guess | 3 +++
1 file changed, 3 insertions(+)

diff --git a/config.guess b/config.guess
index d437be00..14c12963 100755
--- a/config.guess
+++ b/config.guess
@@ -985,6 +985,9 @@ EOF
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;
+ riscv64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
exit ;;
--
GitLab

0 comments on commit 49dee66

Please sign in to comment.