Blame SOURCES/macros.ocaml-srpm

5c1dd3
# Note that OCaml is compiled on all architectures.  However
5c1dd3
# on some (rare) architectures, only bytecode compilation is
5c1dd3
# available.  Use these macros to find out if native code
5c1dd3
# compilation is available on a particular architecture.
5c1dd3
5c1dd3
# Architectures that support the OCaml native code compiler.
5c1dd3
%ocaml_native_compiler  aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
5c1dd3
5c1dd3
# Architectures that support native dynamic linking of OCaml code.
5c1dd3
%ocaml_natdynlink       aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
5c1dd3
5c1dd3
# Architectures that support profiling of native code (ocamlopt -p).
5c1dd3
# This was removed in OCaml 4.09.
5c1dd3
# https://github.com/ocaml/ocaml/pull/2314
5c1dd3
%ocaml_native_profiling %{nil}