diff --git a/easybuild/easyconfigs/x/x264/x264-20231019-GCCcore-13.2.0.eb b/easybuild/easyconfigs/x/x264/x264-20231019-GCCcore-13.2.0.eb index a1d60486ce0..3a5bb6947d8 100644 --- a/easybuild/easyconfigs/x/x264/x264-20231019-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/x/x264/x264-20231019-GCCcore-13.2.0.eb @@ -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'), diff --git a/easybuild/easyconfigs/x/x264/x264-20231019_add-riscv-support.patch b/easybuild/easyconfigs/x/x264/x264-20231019_add-riscv-support.patch new file mode 100644 index 00000000000..b522010af86 --- /dev/null +++ b/easybuild/easyconfigs/x/x264/x264-20231019_add-riscv-support.patch @@ -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 +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 +