Blame SOURCES/macros.ocaml-srpm

b66b2f
# Note that OCaml is compiled on all architectures.  However
b66b2f
# on some (rare) architectures, only bytecode compilation is
b66b2f
# available.  Use these macros to find out if native code
b66b2f
# compilation is available on a particular architecture.
b66b2f
b66b2f
# Architectures that support the OCaml native code compiler.
b66b2f
%ocaml_native_compiler  aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
b66b2f
b66b2f
# Architectures that support native dynamic linking of OCaml code.
b66b2f
%ocaml_natdynlink       aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
b66b2f
b66b2f
# Architectures that support profiling of native code (ocamlopt -p).
b66b2f
%ocaml_native_profiling         %{arm} %{ix86} ppc ppc64 ppc64le               sparc sparcv9 x86_64