From 189b94b403d36987c99717a1e35a5867bbcf6c69 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 8 Nov 2016 18:54:25 +0000 Subject: [PATCH] Add riscv64 as a native arch using out of tree backend. --- macros.ocaml-srpm | 4 ++-- ocaml-srpm-macros.spec | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/macros.ocaml-srpm b/macros.ocaml-srpm index 777c8b6..09d4d3f 100644 --- a/macros.ocaml-srpm +++ b/macros.ocaml-srpm @@ -4,7 +4,7 @@ # compilation is available on a particular architecture. # Architectures that support the OCaml native code compiler. -%ocaml_native_compiler aarch64 %{arm} %{ix86} ppc ppc64 ppc64le s390x sparc sparcv9 x86_64 +%ocaml_native_compiler aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64 # Architectures that support native dynamic linking of OCaml code. -%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le s390x sparc sparcv9 x86_64 +%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64 diff --git a/ocaml-srpm-macros.spec b/ocaml-srpm-macros.spec index 384f8c3..6f2673e 100644 --- a/ocaml-srpm-macros.spec +++ b/ocaml-srpm-macros.spec @@ -11,7 +11,7 @@ %global macros_dir %{_rpmconfigdir}/macros.d Name: ocaml-srpm-macros -Version: 3 +Version: 4 Release: 1%{?dist} Summary: OCaml architecture macros @@ -45,8 +45,9 @@ install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm %changelog -* Tue Nov 8 2016 Richard W.M. Jones - 3-1 +* Tue Nov 8 2016 Richard W.M. Jones - 4-1 - s390x is now a native architecture with OCaml 4.04 in Fedora >= 26. +- Add riscv64 as a native arch using out of tree backend. * Thu Feb 04 2016 Fedora Release Engineering - 2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild