[packages/ocaml] - up to 4.13.2 LTS

baggins baggins at pld-linux.org
Wed Apr 22 09:36:20 CEST 2026


commit df5c4b0574c4c2c1d47f250ba264ebe9ce23665e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Apr 22 11:36:03 2026 +0200

    - up to 4.13.2 LTS

 ocaml-10266.patch     | 111 ---------------------------------------------
 ocaml-CFLAGS.patch    | 122 --------------------------------------------------
 ocaml-as_needed.patch |  11 -----
 ocaml.spec            |  15 +++----
 x32.patch             |  93 --------------------------------------
 5 files changed, 6 insertions(+), 346 deletions(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 3b1654e..9b210d7 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -13,23 +13,22 @@
 Summary:	The Objective Caml compiler and programming environment
 Summary(pl.UTF-8):	Kompilator OCamla (Objective Caml) oraz środowisko programistyczne
 Name:		ocaml
-Version:	4.12.0
-Release:	7
+Version:	4.14.3
+Release:	1
 Epoch:		1
 License:	QPL v1.0 with linking exception (compiler), LGPL v2 with linking exception (library)
 Group:		Development/Languages
-Source0:	http://caml.inria.fr/distrib/ocaml-%{sver}/%{name}-%{version}.tar.xz
-# Source0-md5:	7343cd398d477001db2c3f2ac92e12ea
-Source1:	http://caml.inria.fr/distrib/ocaml-%{sver}/%{name}-%{sver}-refman-html.tar.gz
+Source0:	https://github.com/ocaml/ocaml/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	0795efdbfb71616a1311edbae3cb2fe4
+Source1:	https://ocaml.org/releases//%{sver}/%{name}-%{sver}-refman-html.tar.gz
 # Source1-md5:	1bda3d0a46328a985c817d551423e2c6
-Source3:	http://caml.inria.fr/distrib/ocaml-%{sver}/%{name}-%{sver}-refman.info.tar.gz
+Source3:	https://ocaml.org/releases/%{sver}/%{name}-%{sver}-refman.info.tar.gz
 # Source3-md5:	c808dbbe35a6cc5d14da6c3b2f175d2c
 Source4:	https://github.com/mmottl/pure-fun/archive/v1.0.13/pure-fun-1.0.13.tar.gz
 # Source4-md5:	0a6ff033df78d0880fe4883ace025ebe
 # note: dead URL
 Source5:	http://www.ocaml.info/ocaml_sources/ds-contrib.tar.gz
 # Source5-md5:	77fa1da7375dea1393cc0b6cd802d7e1
-Patch0:		%{name}-10266.patch
 Patch1:		%{name}-info.patch
 URL:		https://www.ocaml.org/
 Requires:	%{name}-runtime = %{epoch}:%{version}-%{release}
@@ -164,7 +163,6 @@ Okasaki'ego, napisane w OCamlu, wraz z dodatkami.
 
 %prep
 %setup -q -a1 -a3
-%patch -P0 -p1
 gunzip infoman/ocaml.info.gz
 %patch -P1 -p1
 
@@ -294,7 +292,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}/camlheaderi
 %{_libdir}/%{name}/camlheader_ur
 %attr(755,root,root) %{_libdir}/%{name}/expunge
-%attr(755,root,root) %{_libdir}/%{name}/extract_crc
 %{_mandir}/man1/ocaml.1*
 %{_mandir}/man1/ocamlc.1*
 %{?with_ocaml_opt:%{_mandir}/man1/ocamlc.opt.1*}
diff --git a/ocaml-10266.patch b/ocaml-10266.patch
deleted file mode 100644
index 0da8c05..0000000
--- a/ocaml-10266.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-From 632563b19ca72ec0ae10c7ed767a025c342d3155 Mon Sep 17 00:00:00 2001
-From: Xavier Leroy <xavier.leroy at college-de-france.fr>
-Date: Tue, 2 Mar 2021 19:06:56 +0100
-Subject: [PATCH 1/3] Dynamically allocate the alternate signal stack
-
-In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant.
-It is no longer possible to statically allocate the alternate signal
-stack for the main thread, as we've been doing for the last 25 years.
-
-This commit implements dynamic allocation of the alternate signal stack
-even for the main thread.  It reuses the code already in place to allocate
-the alternate signal stack for other threads.
-
-Fixes: #10250.
----
- runtime/caml/signals.h |  2 +-
- runtime/signals_byt.c  |  2 +-
- runtime/signals_nat.c  | 25 ++++++++++++++-----------
- 3 files changed, 16 insertions(+), 13 deletions(-)
-
-diff -urNp -x '*.orig' ocaml-4.12.0.org/Changes ocaml-4.12.0/Changes
---- ocaml-4.12.0.org/Changes	2021-02-24 14:49:29.000000000 +0100
-+++ ocaml-4.12.0/Changes	2021-11-21 10:33:11.184661387 +0100
-@@ -276,6 +276,11 @@ OCaml 4.12.0 (24 February 2021)
- - #10062: set ARCH_INT64_PRINTF_FORMAT correctly for both modes of mingw-w64
-   (David Allsopp, review by Xavier Leroy)
- 
-+- #10250, #10266: Dynamically allocate alternate signal stacks to
-+   accommodate changes in Glibc 2.34.
-+  (Xavier Leroy, reports by Tomasz Kłoczko and R.W.M. Jones, review by Anil
-+   Madhavapeddy, Stephen Dolan, and Florian Angeletti)
-+
- ### Code generation and optimizations:
- 
- - #9551: ocamlc no longer loads DLLs at link time to check that
-diff -urNp -x '*.orig' ocaml-4.12.0.org/runtime/caml/signals.h ocaml-4.12.0/runtime/caml/signals.h
---- ocaml-4.12.0.org/runtime/caml/signals.h	2021-02-24 14:49:29.000000000 +0100
-+++ ocaml-4.12.0/runtime/caml/signals.h	2021-11-21 10:33:11.184661387 +0100
-@@ -87,7 +87,7 @@ value caml_do_pending_actions_exn (void)
- value caml_process_pending_actions_with_root (value extra_root); // raises
- value caml_process_pending_actions_with_root_exn (value extra_root);
- int caml_set_signal_action(int signo, int action);
--CAMLextern void caml_setup_stack_overflow_detection(void);
-+CAMLextern int caml_setup_stack_overflow_detection(void);
- 
- CAMLextern void (*caml_enter_blocking_section_hook)(void);
- CAMLextern void (*caml_leave_blocking_section_hook)(void);
-diff -urNp -x '*.orig' ocaml-4.12.0.org/runtime/signals_byt.c ocaml-4.12.0/runtime/signals_byt.c
---- ocaml-4.12.0.org/runtime/signals_byt.c	2021-02-24 14:49:29.000000000 +0100
-+++ ocaml-4.12.0/runtime/signals_byt.c	2021-11-21 10:33:11.184661387 +0100
-@@ -81,4 +81,4 @@ int caml_set_signal_action(int signo, in
-     return 0;
- }
- 
--CAMLexport void caml_setup_stack_overflow_detection(void) {}
-+CAMLexport int caml_setup_stack_overflow_detection(void) { return 0; }
-diff -urNp -x '*.orig' ocaml-4.12.0.org/runtime/signals_nat.c ocaml-4.12.0/runtime/signals_nat.c
---- ocaml-4.12.0.org/runtime/signals_nat.c	2021-02-24 14:49:29.000000000 +0100
-+++ ocaml-4.12.0/runtime/signals_nat.c	2021-11-21 10:33:11.184661387 +0100
-@@ -181,8 +181,6 @@ DECLARE_SIGNAL_HANDLER(trap_handler)
- #error "CONTEXT_SP is required if HAS_STACK_OVERFLOW_DETECTION is defined"
- #endif
- 
--static char sig_alt_stack[SIGSTKSZ];
--
- /* Code compiled with ocamlopt never accesses more than
-    EXTRA_STACK bytes below the stack pointer. */
- #define EXTRA_STACK 256
-@@ -276,28 +274,33 @@ void caml_init_signals(void)
- #endif
- 
- #ifdef HAS_STACK_OVERFLOW_DETECTION
--  {
--    stack_t stk;
-+  if (caml_setup_stack_overflow_detection() != -1) {
-     struct sigaction act;
--    stk.ss_sp = sig_alt_stack;
--    stk.ss_size = SIGSTKSZ;
--    stk.ss_flags = 0;
-     SET_SIGACT(act, segv_handler);
-     act.sa_flags |= SA_ONSTACK | SA_NODEFER;
-     sigemptyset(&act.sa_mask);
--    if (sigaltstack(&stk, NULL) == 0) { sigaction(SIGSEGV, &act, NULL); }
-+    sigaction(SIGSEGV, &act, NULL);
-   }
- #endif
- }
- 
--CAMLexport void caml_setup_stack_overflow_detection(void)
-+/* Allocate and select an alternate stack for handling signals,
-+   especially SIGSEGV signals.
-+   Each thread needs its own alternate stack.
-+   The alternate stack used to be statically-allocated for the main thread,
-+   but this is incompatible with Glibc 2.34 and newer, where SIGSTKSZ
-+   may not be a compile-time constant (issue #10250). */
-+
-+CAMLexport int caml_setup_stack_overflow_detection(void)
- {
- #ifdef HAS_STACK_OVERFLOW_DETECTION
-   stack_t stk;
-   stk.ss_sp = malloc(SIGSTKSZ);
-+  if (stk.ss_sp == NULL) return -1;
-   stk.ss_size = SIGSTKSZ;
-   stk.ss_flags = 0;
--  if (stk.ss_sp)
--    sigaltstack(&stk, NULL);
-+  return sigaltstack(&stk, NULL);
-+#else
-+  return 0;
- #endif
- }
diff --git a/ocaml-CFLAGS.patch b/ocaml-CFLAGS.patch
deleted file mode 100644
index 092632d..0000000
--- a/ocaml-CFLAGS.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-# allow pass CFLAGS, replace -O, -pg,-DPROFILING with $(CFLAGS)
-Makefiles=$(find . -type f -name Makefile\*)
-%{__sed} -i -e 's@^CFLAGS[ \t]*=@override CFLAGS += @' $Makefiles
-%{__sed} -i -e 's@\(^override CFLAGS += .*\)-O \(.*\)@\1\2@' $Makefiles
-%{__sed} -i -e 's@^CCFLAGS[ \t]*=\(.*\)@override CCFLAGS += \1 $(CFLAGS)@' $Makefiles
-%{__sed} -i -e 's at -pg -O -DPROFILING@ $(CFLAGS) @' asmrun/Makefile
-%{__sed} -i -e 's at -O@$(CFLAGS)@' otherlibs/systhreads/Makefile
-
---- ocaml-4.02.2/asmrun/Makefile.orig	2015-06-28 13:45:16.203456490 +0200
-+++ ocaml-4.02.2/asmrun/Makefile	2015-06-28 15:07:59.556581531 +0200
-@@ -16,11 +16,11 @@
-       -DTARGET_$(ARCH) -DMODEL_$(MODEL) -DSYS_$(SYSTEM) $(IFLEXDIR) \
-       $(LIBUNWIND_INCLUDE_FLAGS)
- #CFLAGS=$(FLAGS) -g -O0
--CFLAGS=$(FLAGS) -g -O0 $(NATIVECCCOMPOPTS)
-+override CFLAGS += $(FLAGS) $(NATIVECCCOMPOPTS)
- DFLAGS=$(FLAGS) -g -DDEBUG $(NATIVECCCOMPOPTS)
- IFLAGS=$(FLAGS) -DCAML_INSTR
- PFLAGS=$(FLAGS) -pg -DPROFILING $(NATIVECCPROFOPTS) $(NATIVECCCOMPOPTS)
--PICFLAGS=$(FLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
-+PICFLAGS=$(FLAGS) $(CFLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
- 
- COBJS=startup_aux.o startup.o \
-   main.o fail.o roots.o globroots.o signals.o signals_asm.o \
---- ocaml-4.02.1/asmrun/Makefile.nt.orig	2014-11-06 21:32:19.358167666 +0100
-+++ ocaml-4.02.1/asmrun/Makefile.nt	2014-11-07 16:19:43.681995569 +0100
-@@ -14,7 +14,7 @@
- include ../config/Makefile
- 
- CC=$(NATIVECC)
--CFLAGS=-I../byterun -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) \
-+override CFLAGS += -I../byterun -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) \
-        $(NATIVECCCOMPOPTS)
- 
- COBJS=startup.$(O) main.$(O) fail.$(O) roots.$(O) signals.$(O) signals_asm.$(O)\
---- ocaml-4.02.2/byterun/Makefile.orig	2015-06-28 13:45:16.206789823 +0200
-+++ ocaml-4.02.2/byterun/Makefile	2015-06-28 15:08:35.076580040 +0200
-@@ -13,7 +13,7 @@
- 
- include Makefile.common
- 
--CFLAGS=-DCAML_NAME_SPACE $(BYTECCCOMPOPTS) $(IFLEXDIR)
-+override CFLAGS += -DCAML_NAME_SPACE $(BYTECCCOMPOPTS) $(IFLEXDIR)
- DFLAGS=-DCAML_NAME_SPACE -g -DDEBUG $(BYTECCCOMPOPTS) $(IFLEXDIR)
- 
- OBJS=$(COMMONOBJS) $(UNIX_OR_WIN32).o main.o
-diff -ur ocaml-3.11.0/byterun/Makefile.nt ocaml-3.11.0.CFLAGS/byterun/Makefile.nt
---- ocaml-3.11.0/byterun/Makefile.nt	2008-11-26 14:26:53.000000000 +0100
-+++ ocaml-3.11.0.CFLAGS/byterun/Makefile.nt	2009-02-16 12:18:01.215883365 +0100
-@@ -15,7 +15,7 @@
- 
- include Makefile.common
- 
--CFLAGS=-DOCAML_STDLIB_DIR='"$(LIBDIR)"' $(IFLEXDIR)
-+override CFLAGS += -DOCAML_STDLIB_DIR='"$(LIBDIR)"' $(IFLEXDIR)
- DFLAGS=$(CFLAGS) -DDEBUG
- 
- DBGO=d.$(O)
---- ocaml-4.02.2/otherlibs/Makefile.orig	2015-06-28 13:45:16.210123156 +0200
-+++ ocaml-4.02.2/otherlibs/Makefile	2015-06-28 15:09:02.573245553 +0200
-@@ -16,7 +16,7 @@
- CAMLC=$(CAMLRUN) $(ROOTDIR)/ocamlc -nostdlib -I $(ROOTDIR)/stdlib
- CAMLOPT=$(CAMLRUN) $(ROOTDIR)/ocamlopt -nostdlib \
-         -I $(ROOTDIR)/stdlib
--CFLAGS=-I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
-+override CFLAGS += -I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
- 
- include ../Makefile.shared
- # Note .. is the current directory (this makefile is included from
---- ocaml-4.02.2/otherlibs/systhreads/Makefile.orig	2015-06-28 13:45:16.213456489 +0200
-+++ ocaml-4.02.2/otherlibs/systhreads/Makefile	2015-06-28 15:09:59.356576505 +0200
-@@ -36,7 +36,7 @@
- 	$(MKLIB) -o threads $(BYTECODE_C_OBJS) $(PTHREAD_LINK)
- 
- st_stubs_b.o: st_stubs.c st_posix.h
--	$(BYTECC) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-+	$(BYTECC) $(CFLAGS) -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
- 	   -c st_stubs.c
- 	mv st_stubs.o st_stubs_b.o
- 
-@@ -46,7 +46,7 @@
- 	$(AR) rc libthreadsnat.a $(NATIVECODE_C_OBJS)
- 
- st_stubs_n.o: st_stubs.c st_posix.h
--	$(NATIVECC) -I../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) \
-+	$(NATIVECC) $(CFLAGS) -I../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) \
- 	            $(SHAREDCCCOMPOPTS) -DNATIVE_CODE -DTARGET_$(ARCH) \
- 	            -DSYS_$(SYSTEM) -c st_stubs.c
- 	mv st_stubs.o st_stubs_n.o
---- ocaml-4.02.2/otherlibs/systhreads/Makefile.nt.orig	2015-06-28 13:45:16.216789823 +0200
-+++ ocaml-4.02.2/otherlibs/systhreads/Makefile.nt	2015-06-28 15:10:34.866575013 +0200
-@@ -20,7 +20,7 @@
- CAMLOPT=$(CAMLRUN) ../../ocamlopt -I ../../stdlib -I ../win32unix
- COMPFLAGS=-w +33 -warn-error A -g
- MKLIB=$(CAMLRUN) ../../tools/ocamlmklib
--CFLAGS=-I../../byterun $(EXTRACFLAGS)
-+override CFLAGS += -I../../byterun $(EXTRACFLAGS)
- 
- CAMLOBJS=thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
- CMIFILES=$(CAMLOBJS:.cmo=.cmi)
---- ocaml-4.02.2/otherlibs/threads/Makefile.orig	2015-06-28 13:45:16.220123156 +0200
-+++ ocaml-4.02.2/otherlibs/threads/Makefile	2015-06-28 15:11:03.843240464 +0200
-@@ -18,7 +18,7 @@
- CAMLYACC ?= ../../boot/ocamlyacc
- 
- CC=$(BYTECC)
--CFLAGS=-I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -g
-+override CFLAGS += -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) -g
- ROOTDIR=../..
- CAMLC=$(CAMLRUN) $(ROOTDIR)/ocamlc -nostdlib \
-       -I $(ROOTDIR)/stdlib -I $(ROOTDIR)/otherlibs/unix
---- ocaml-4.02.2/yacc/Makefile.orig	2015-06-28 13:45:16.220123156 +0200
-+++ ocaml-4.02.2/yacc/Makefile	2015-06-28 15:11:25.473239557 +0200
-@@ -15,7 +15,7 @@
- include ../config/Makefile
- 
- CC=$(BYTECC)
--CFLAGS=-DNDEBUG $(BYTECCCOMPOPTS)
-+override CFLAGS += -DNDEBUG $(BYTECCCOMPOPTS)
- 
- OBJS= closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o \
-   skeleton.o symtab.o verbose.o warshall.o
diff --git a/ocaml-as_needed.patch b/ocaml-as_needed.patch
deleted file mode 100644
index 12da4ab..0000000
--- a/ocaml-as_needed.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ocaml-4.02.1/configure.orig	2014-11-07 16:23:50.668651870 +0100
-+++ ocaml-4.02.1/configure	2014-11-07 16:33:21.335294590 +0100
-@@ -1022,7 +1022,7 @@
- # For the terminfo module
- 
- if test "$with_curses" = "yes"; then
--  for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
-+  for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
-     if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
-       inf "termcap functions found (with libraries '$libs')"
-       echo "#define HAS_TERMCAP" >> s.h
diff --git a/x32.patch b/x32.patch
deleted file mode 100644
index c46f1f3..0000000
--- a/x32.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Package: src:ocaml
-Version: 4.02.1-2
-Severity: wishlist
-Tags: patch
-User: debian-x32 at lists.debian.org
-Usertags: port-x32
-
-
-Please apply the attached patch, it adds support for x32 (as non-native).
-It's made against 4.02.1-2 (in experimental) as I guess you're not going
-to ever upload 4.01 again other than for eventual RC bug fixes.
-
-As you can see, the main problem is the current code confusing x32 for
-sometimes amd64 sometimes i386.  I guess adding native optimized support
-wouldn't be hard (copying parts of i386 and parts of amd64...), but, not
-knowing anything about ocaml or the compiler, I preferred to keep it safe.
-</pre><pre>
---- ocaml-4.02.1.orig/byterun/caml/signals_machdep.h
-+++ ocaml-4.02.1/byterun/caml/signals_machdep.h
-@@ -25,10 +25,19 @@
- 
- #elif defined(__GNUC__) && defined(__x86_64__)
- 
-+#ifdef __ILP32__
-+/* x32 */
-+#define Read_and_clear(dst,src) \
-+  asm("xorl %0, %0; xchgl %0, %1" \
-+      : "=r" (dst), "=m" (src) \
-+      : "m" (src))
-+#else
-+/* amd64 */
- #define Read_and_clear(dst,src) \
-   asm("xorq %0, %0; xchgq %0, %1" \
-       : "=r" (dst), "=m" (src) \
-       : "m" (src))
-+#endif
- 
- #elif defined(__GNUC__) && defined(__ppc__)
- 
---- ocaml-4.02.1.orig/configure
-+++ ocaml-4.02.1/configure
-@@ -832,6 +832,7 @@ case "$target" in
-   arm*-*-linux-gnueabi)         arch=arm; system=linux_eabi;;
-   arm*-*-openbsd*)              arch=arm; system=bsd;;
-   zaurus*-*-openbsd*)           arch=arm; system=bsd;;
-+  x86_64-*-linux-gnux32)        arch=x32; system=linux;;
-   x86_64-*-linux*)              arch=amd64; system=linux;;
-   x86_64-*-gnu*)                arch=amd64; system=gnu;;
-   x86_64-*-freebsd*)            arch=amd64; system=freebsd;;
---- ocaml-4.02.1.orig/otherlibs/num/bng.c
-+++ ocaml-4.02.1/otherlibs/num/bng.c
-@@ -17,7 +17,7 @@
- #include "config.h"
- 
- #if defined(__GNUC__) && BNG_ASM_LEVEL > 0
--#if defined(BNG_ARCH_ia32)
-+#if defined(BNG_ARCH_ia32) || defined(BNG_ARCH_x32)
- #include "bng_ia32.c"
- #elif defined(BNG_ARCH_amd64)
- #include "bng_amd64.c"
---- ocaml-4.02.1.orig/otherlibs/num/bng_ia32.c
-+++ ocaml-4.02.1/otherlibs/num/bng_ia32.c
-@@ -187,7 +187,7 @@ static bngdigit bng_ia32_mult_sub_digit
-    This is faster than the plain IA32 code above on the Pentium 4.
-    (Arithmetic operations with carry are slow on the Pentium 4). */
- 
--#if BNG_ASM_LEVEL >= 2
-+#if BNG_ASM_LEVEL >= 2 || defined(__x86_64__)
- 
- static bngcarry bng_ia32sse2_add
-        (bng a/*[alen]*/, bngsize alen,
-@@ -393,6 +393,13 @@ static int bng_ia32_sse2_supported(void)
- 
- static void bng_ia32_setup_ops(void)
- {
-+#ifdef __x86_64__
-+  /* x32 -- SSE2 always supported */
-+  bng_ops.add = bng_ia32sse2_add;
-+  bng_ops.sub = bng_ia32sse2_sub;
-+  bng_ops.mult_add_digit = bng_ia32sse2_mult_add_digit;
-+  bng_ops.mult_sub_digit = bng_ia32sse2_mult_sub_digit;
-+#else
- #if BNG_ASM_LEVEL >= 2
-   if (bng_ia32_sse2_supported()) {
-     bng_ops.add = bng_ia32sse2_add;
-@@ -406,6 +413,7 @@ static void bng_ia32_setup_ops(void)
-   bng_ops.sub = bng_ia32_sub;
-   bng_ops.mult_add_digit = bng_ia32_mult_add_digit;
-   bng_ops.mult_sub_digit = bng_ia32_mult_sub_digit;
-+#endif
- }
- 
- #define BNG_SETUP_OPS bng_ia32_setup_ops()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml.git/commitdiff/df5c4b0574c4c2c1d47f250ba264ebe9ce23665e



More information about the pld-cvs-commit mailing list