[med-svn] [Git][med-team/mcl][master] 6 commits: Conflicts/Relaces: libmcl14-ocaml-dev Closes: #1153198

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Nov 6 14:45:50 GMT 2026



Andreas Tille pushed to branch master at Debian Med / mcl


Commits:
2766afda by Andreas Tille at 2026-11-06T15:22:55+01:00
Conflicts/Relaces: libmcl14-ocaml-dev Closes: #1153198

- - - - -
f09c06c4 by Andreas Tille at 2026-11-06T15:34:08+01:00
Changes made by cme

- - - - -
e408961b by Andreas Tille at 2026-11-06T15:34:25+01:00
debputy lint --auto-fix (routine-update)

- - - - -
ad99d76c by Andreas Tille at 2026-11-06T15:42:24+01:00
Enable build on loong64 architecture

- - - - -
57006381 by Andreas Tille at 2026-11-06T15:44:14+01:00
Upload to unstable

- - - - -
da6821dd by Andreas Tille at 2026-11-06T15:45:35+01:00
libmcl-ocaml-dev:Section: s/libdevel/ocaml/

- - - - -


3 changed files:

- debian/caml.mk
- debian/changelog
- debian/control


Changes:

=====================================
debian/caml.mk
=====================================
@@ -16,6 +16,7 @@
 
 CAMLC      ?= ocamlc
 OCAMLMKLIB ?= ocamlmklib
+HAVE_OCAMLOPT := $(shell command -v ocamlopt >/dev/null 2>&1 && echo yes)
 
 OCAMLFLAGS = -ccopt -fPIC -ccopt -std=c99 -ccopt -I. -ccopt -Isrc -ccopt -Isrc/mcl
 MCL_OBJS   = $(wildcard src/clew/*.o src/gryphon/*.o src/impala/*.o src/mcl/*.o)
@@ -24,8 +25,15 @@ MCL_OBJS   = $(wildcard src/clew/*.o src/gryphon/*.o src/impala/*.o src/mcl/*.o)
 
 all:
 	$(CAMLC) -c $(OCAMLFLAGS) -o caml/caml_mcl.o caml/caml_mcl.c
+ifeq ($(HAVE_OCAMLOPT),yes)
 	$(OCAMLMKLIB) -o mcl -oc mcl_stubs caml/mcl.ml caml/caml_mcl.o $(MCL_OBJS) -ltingea -lm
+else
+	# No native compiler (e.g. loong64): build bytecode archive and stubs only
+	$(CAMLC) -c caml/mcl.ml
+	$(OCAMLMKLIB) -o mcl -oc mcl_stubs caml/mcl.cmo caml/caml_mcl.o $(MCL_OBJS) -ltingea -lm
+endif
 
 clean:
-	rm -f caml/caml_mcl.o mcl.cma mcl.cmxa mcl.cmi mcl.cmo mcl.cmx mcl.o mcl.a \
+	rm -f caml/caml_mcl.o caml/mcl.cmo caml/mcl.cmi caml/mcl.cmx caml/mcl.o \
+	      mcl.cma mcl.cmxa mcl.cmi mcl.cmo mcl.cmx mcl.o mcl.a \
 	      libmcl_stubs.a dllmcl_stubs.so


=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+mcl (1:22-282+ds-7) UNRELEASED; urgency=medium
+
+  * libmcl-ocaml-dev:Section: s/libdevel/ocaml/
+
+ -- Andreas Tille <tille at debian.org>  Fri, 06 Nov 2026 15:45:09 +0100
+
+mcl (1:22-282+ds-6) unstable; urgency=medium
+
+  * Conflicts/Relaces: libmcl14-ocaml-dev
+    Closes: #1153198
+  * debputy lint --auto-fix (routine-update)
+  * Enable build on loong64 architecture
+
+ -- Andreas Tille <tille at debian.org>  Fri, 06 Nov 2026 15:42:27 +0100
+
 mcl (1:22-282+ds-5) unstable; urgency=medium
 
   * Re-enable OCaml bindings for the current MCL version and ship them in


=====================================
debian/control
=====================================
@@ -7,18 +7,18 @@ Uploaders:
 Section: math
 Build-Depends:
  debhelper-compat (= 14),
- architecture-is-64-bit,
- dh-ocaml,
- zoem,
- tidy,
  aephea,
- ocaml,
- ocamlbuild,
- ocaml-findlib,
- oasis,
+ architecture-is-64-bit,
  bsdextrautils,
  dh-exec,
+ dh-ocaml,
  libtingea-dev,
+ oasis,
+ ocaml,
+ ocaml-findlib,
+ ocamlbuild,
+ tidy,
+ zoem,
 Vcs-Browser: https://salsa.debian.org/med-team/mcl
 Vcs-Git: https://salsa.debian.org/med-team/mcl.git
 Homepage: https://micans.org/mcl/
@@ -26,8 +26,8 @@ Homepage: https://micans.org/mcl/
 Package: mcl
 Architecture: any
 Depends:
- ${shlibs:Depends},
  ${misc:Depends},
+ ${shlibs:Depends},
 Suggests:
  mcl-doc,
 Enhances:
@@ -61,13 +61,17 @@ Package: libmcl-ocaml-dev
 Architecture: any
 Section: ocaml
 Depends:
- ocaml-findlib,
  mcl,
+ ocaml-findlib,
+ ${misc:Depends},
  ${ocaml:Depends},
  ${shlibs:Depends},
- ${misc:Depends},
+Conflicts:
+ libmcl14-ocaml-dev,
 Provides:
  ${ocaml:Provides},
+Replaces:
+ libmcl14-ocaml-dev,
 Description: library providing bindings between mcl and OCaml
  The MCL package is an implementation of the MCL algorithm, and offers
  utilities for manipulating sparse matrices (the essential data



View it on GitLab: https://salsa.debian.org/med-team/mcl/-/compare/1df83ad4b0767e50ff24e95f7f5895ffd5f79175...da6821ddb42911fab852ec88a7f0aa99d89d35da

-- 
View it on GitLab: https://salsa.debian.org/med-team/mcl/-/compare/1df83ad4b0767e50ff24e95f7f5895ffd5f79175...da6821ddb42911fab852ec88a7f0aa99d89d35da
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261106/74ac0033/attachment-0001.htm>


More information about the debian-med-commit mailing list