!64 Add LoongArch native support for ocaml
From: @zhangwenlong01 Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
dc94ccc4c7
4160
0004-add-loongarch64-native-support.patch
Normal file
4160
0004-add-loongarch64-native-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
14
ocaml.spec
14
ocaml.spec
@ -1,19 +1,11 @@
|
||||
%ifnarch loongarch64
|
||||
%global native_compiler 1
|
||||
%else
|
||||
%global native_compiler 0
|
||||
%endif
|
||||
|
||||
%ifnarch loongarch64
|
||||
%global natdynlink 1
|
||||
%else
|
||||
%global natdynlink 0
|
||||
%endif
|
||||
|
||||
|
||||
Name: ocaml
|
||||
Version: 4.14.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: OCaml compiler and programming environment
|
||||
License: LGPL-2.1-only
|
||||
URL: http://www.ocaml.org
|
||||
@ -22,6 +14,7 @@ Source0: https://github.com/ocaml/ocaml/archive/refs/tags/%{name}-%{versi
|
||||
Patch0001: 0001-Don-t-add-rpaths-to-libraries.patch
|
||||
Patch0002: 0002-configure-Allow-user-defined-C-compiler-flags.patch
|
||||
Patch0003: 0003-configure-Remove-incorrect-assumption-about-cross-co.patch
|
||||
Patch0004: 0004-add-loongarch64-native-support.patch
|
||||
|
||||
BuildRequires: gcc binutils-devel ncurses-devel gdbm-devel gawk perl-interpreter
|
||||
BuildRequires: util-linux chrpath autoconf annobin make
|
||||
@ -248,6 +241,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 07 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 4.14.1-2
|
||||
- Add LoongArch native support for ocaml
|
||||
|
||||
* Fri Feb 2 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 4.14.1-1
|
||||
- Upgrade version to 4.14.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user