Add all further differences with jjames's OCaml 5 package
This commit is contained in:
parent
772b17b666
commit
5ebc943f98
@ -114,7 +114,11 @@ Provides: bundled(md5-plumb)
|
|||||||
|
|
||||||
Provides: ocaml(compiler) = %{version}
|
Provides: ocaml(compiler) = %{version}
|
||||||
|
|
||||||
|
%if %{native_compiler}
|
||||||
%global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
|
%global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
|
||||||
|
%else
|
||||||
|
%global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte' -i Backend_intf -i Inlining_decision_intf -i Simplify_boxed_integer_ops_intf
|
||||||
|
%endif
|
||||||
%global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
|
%global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
|
||||||
|
|
||||||
|
|
||||||
@ -227,7 +231,11 @@ sed -i '/ld_opts/s|\[\]|["%{build_ldflags}"]|' tools/ocamlmklib.ml
|
|||||||
--libdir=%{_libdir}/ocaml \
|
--libdir=%{_libdir}/ocaml \
|
||||||
--enable-flambda \
|
--enable-flambda \
|
||||||
%if %{native_compiler}
|
%if %{native_compiler}
|
||||||
|
--enable-native-compiler \
|
||||||
--enable-native-toplevel \
|
--enable-native-toplevel \
|
||||||
|
%else
|
||||||
|
--disable-native-compiler \
|
||||||
|
--disable-native-toplevel \
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%if 0%{?_include_frame_pointers}
|
%if 0%{?_include_frame_pointers}
|
||||||
@ -442,6 +450,7 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/ocaml
|
|||||||
- Convert License tag to SPDX
|
- Convert License tag to SPDX
|
||||||
- Ship HTML documentation instead of asciidoc source
|
- Ship HTML documentation instead of asciidoc source
|
||||||
- Set ocamlmklib default flags to the Fedora linker flags
|
- Set ocamlmklib default flags to the Fedora linker flags
|
||||||
|
- Enable frame pointers on x86_64
|
||||||
|
|
||||||
* Mon Jan 23 2023 Richard W.M. Jones <rjones@redhat.com> - 4.14.0-5
|
* Mon Jan 23 2023 Richard W.M. Jones <rjones@redhat.com> - 4.14.0-5
|
||||||
- Rebuild OCaml packages for F38
|
- Rebuild OCaml packages for F38
|
||||||
|
Loading…
Reference in New Issue
Block a user