From cf050943c2d7813306feb08183e2cd9fd5140c62 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 8 Aug 2017 08:58:38 +0100 Subject: [PATCH] Add new macro ocaml_native_profiling. --- macros.ocaml-srpm | 7 +++++-- ocaml-srpm-macros.spec | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/macros.ocaml-srpm b/macros.ocaml-srpm index 09d4d3f..ad0846c 100644 --- a/macros.ocaml-srpm +++ b/macros.ocaml-srpm @@ -4,7 +4,10 @@ # compilation is available on a particular architecture. # Architectures that support the OCaml native code compiler. -%ocaml_native_compiler aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 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 riscv64 s390x sparc sparcv9 x86_64 +%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64 + +# Architectures that support profiling of native code (ocamlopt -p). +%ocaml_native_profiling %{arm} %{ix86} ppc ppc64 ppc64le sparc sparcv9 x86_64 diff --git a/ocaml-srpm-macros.spec b/ocaml-srpm-macros.spec index 7733865..fad1439 100644 --- a/ocaml-srpm-macros.spec +++ b/ocaml-srpm-macros.spec @@ -11,8 +11,8 @@ %global macros_dir %{_rpmconfigdir}/macros.d Name: ocaml-srpm-macros -Version: 4 -Release: 3%{?dist} +Version: 5 +Release: 1%{?dist} Summary: OCaml architecture macros License: GPLv2+ @@ -45,6 +45,9 @@ install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm %changelog +* Tue Aug 8 2017 Richard W.M. Jones - 5-1 +- Add new macro ocaml_native_profiling. + * Thu Jul 27 2017 Fedora Release Engineering - 4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild