Blame SOURCES/macros.ocaml-srpm

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