From 06b1369506ff36c1632b19dfa600382d5d2d39a5 Mon Sep 17 00:00:00 2001 From: Roger Stark Date: Tue, 24 Dec 2024 17:17:25 +0100 Subject: [PATCH 1/8] [new release] owl (3 packages) (1.2) CHANGES: * Revise automatic installation test via GitHub Action * Revise dockerfiles; add docker automatic build and deployment * Fix compatibility on MacOS and Arm64 architecture * Update compilation to OCaml 5.2.0 * Revise examples and tests * Update inline document and tutorials * FFT module revamp (@gabyfle) * Changed def of ssqr_diff' to not modify inputs (@patrick-nicodemus) * Avoid calling log(0) when generating gaussian random variables (@edwintorok) --- packages/owl-base/owl-base.1.2/opam | 28 +++++++++++++++++++ packages/owl-top/owl-top.1.2/opam | 30 ++++++++++++++++++++ packages/owl/owl.1.2/opam | 43 +++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 packages/owl-base/owl-base.1.2/opam create mode 100644 packages/owl-top/owl-top.1.2/opam create mode 100644 packages/owl/owl.1.2/opam diff --git a/packages/owl-base/owl-base.1.2/opam b/packages/owl-base/owl-base.1.2/opam new file mode 100644 index 00000000000..e74bb46c9da --- /dev/null +++ b/packages/owl-base/owl-base.1.2/opam @@ -0,0 +1,28 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "https://github.com/owlbarn/owl" +dev-repo: "git+https://github.com/owlbarn/owl.git" +bug-reports: "https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/" +synopsis: "OCaml Scientific and Engineering Computing - Base" +description: "Owl is an OCaml scientific library." +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.12.0"} + "base-bigarray" + "dune" {>= "2.0.0"} +] +url { + src: "https://github.com/owlbarn/owl/releases/download/1.2/owl-1.2.tbz" + checksum: [ + "sha256=3817a2e4391922c8a2225b4e33ca95da6809246994e6bf291a300c82d8cac6c5" + "sha512=68a21f540cb4a289419f35cd152d132af36f1000fb41f98bab6e100698820379e36d650c5aa70a0126513451b354f86a28ea4ecf6f1d3b196b5b5e56f0fac9bd" + ] +} +x-commit-hash: "7e8313b57b4aec07832c992f0b42182c034f78fe" diff --git a/packages/owl-top/owl-top.1.2/opam b/packages/owl-top/owl-top.1.2/opam new file mode 100644 index 00000000000..29b7f2b4899 --- /dev/null +++ b/packages/owl-top/owl-top.1.2/opam @@ -0,0 +1,30 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "https://github.com/owlbarn/owl" +dev-repo: "git+https://github.com/owlbarn/owl.git" +bug-reports: "https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/" +synopsis: "OCaml Scientific and Engineering Computing - Top" +description: "Owl is an OCaml scientific library." + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] +] + +depends: [ + "ocaml" {>= "4.12.0"} + "dune" {>= "2.0.0"} + "ocaml-compiler-libs" + "owl" {= version} +] +url { + src: "https://github.com/owlbarn/owl/releases/download/1.2/owl-1.2.tbz" + checksum: [ + "sha256=3817a2e4391922c8a2225b4e33ca95da6809246994e6bf291a300c82d8cac6c5" + "sha512=68a21f540cb4a289419f35cd152d132af36f1000fb41f98bab6e100698820379e36d650c5aa70a0126513451b354f86a28ea4ecf6f1d3b196b5b5e56f0fac9bd" + ] +} +x-commit-hash: "7e8313b57b4aec07832c992f0b42182c034f78fe" diff --git a/packages/owl/owl.1.2/opam b/packages/owl/owl.1.2/opam new file mode 100644 index 00000000000..1068d444d65 --- /dev/null +++ b/packages/owl/owl.1.2/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +maintainer: "Liang Wang " +authors: [ "Liang Wang" ] +license: "MIT" +homepage: "https://github.com/owlbarn/owl" +dev-repo: "git+https://github.com/owlbarn/owl.git" +bug-reports: "https://github.com/owlbarn/owl/issues" +doc: "https://owlbarn.github.io/owl/" +synopsis: "OCaml Scientific and Engineering Computing" +description: """ +Owl: OCaml Scientific and Engineering Computing + +Owl is an OCaml numerical library. +It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). +Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial. +""" + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] + [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} +] + +depends: [ + "ocaml" {>= "4.12.0"} + "alcotest" {with-test} + "base" {build} + "base-bigarray" + "conf-openblas" {>= "0.2.1"} + "ctypes" {>= "0.16.0"} + "dune" {>= "2.0.0"} + "dune-configurator" + "owl-base" {= version} + "npy" +] +url { + src: "https://github.com/owlbarn/owl/releases/download/1.2/owl-1.2.tbz" + checksum: [ + "sha256=3817a2e4391922c8a2225b4e33ca95da6809246994e6bf291a300c82d8cac6c5" + "sha512=68a21f540cb4a289419f35cd152d132af36f1000fb41f98bab6e100698820379e36d650c5aa70a0126513451b354f86a28ea4ecf6f1d3b196b5b5e56f0fac9bd" + ] +} +x-commit-hash: "7e8313b57b4aec07832c992f0b42182c034f78fe" From c8790ebb1f46ddfeb73a0496535040d8c4166954 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:56:40 +0000 Subject: [PATCH 2/8] Update packages/owl-base/owl-base.1.2/opam --- packages/owl-base/owl-base.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl-base/owl-base.1.2/opam b/packages/owl-base/owl-base.1.2/opam index e74bb46c9da..dd464933c0a 100644 --- a/packages/owl-base/owl-base.1.2/opam +++ b/packages/owl-base/owl-base.1.2/opam @@ -16,7 +16,7 @@ build: [ depends: [ "ocaml" {>= "4.12.0"} "base-bigarray" - "dune" {>= "2.0.0"} + "dune" {>= "3.16"} ] url { src: "https://github.com/owlbarn/owl/releases/download/1.2/owl-1.2.tbz" From 118e3c1a28eff0b79a023c34becc77025a15f9e5 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:56:55 +0000 Subject: [PATCH 3/8] Update packages/owl-base/owl-base.1.2/opam --- packages/owl-base/owl-base.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl-base/owl-base.1.2/opam b/packages/owl-base/owl-base.1.2/opam index dd464933c0a..e7bff2a6986 100644 --- a/packages/owl-base/owl-base.1.2/opam +++ b/packages/owl-base/owl-base.1.2/opam @@ -9,7 +9,7 @@ doc: "https://owlbarn.github.io/" synopsis: "OCaml Scientific and Engineering Computing - Base" description: "Owl is an OCaml scientific library." build: [ - [ "dune" "subst" ] {pinned} + [ "dune" "subst" ] {dev} [ "dune" "build" "-p" name "-j" jobs ] ] From 719de38c11eee2b06fd3643ba83994eb5f5e1f13 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:57:10 +0000 Subject: [PATCH 4/8] Update packages/owl-top/owl-top.1.2/opam --- packages/owl-top/owl-top.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl-top/owl-top.1.2/opam b/packages/owl-top/owl-top.1.2/opam index 29b7f2b4899..c4427ffbed0 100644 --- a/packages/owl-top/owl-top.1.2/opam +++ b/packages/owl-top/owl-top.1.2/opam @@ -10,7 +10,7 @@ synopsis: "OCaml Scientific and Engineering Computing - Top" description: "Owl is an OCaml scientific library." build: [ - [ "dune" "subst" ] {pinned} + [ "dune" "subst" ] {dev} [ "dune" "build" "-p" name "-j" jobs ] ] From 243bb5a99a836ffadbe70dc672788e376a272bcf Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:57:25 +0000 Subject: [PATCH 5/8] Update packages/owl-top/owl-top.1.2/opam --- packages/owl-top/owl-top.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl-top/owl-top.1.2/opam b/packages/owl-top/owl-top.1.2/opam index c4427ffbed0..c55f7726b72 100644 --- a/packages/owl-top/owl-top.1.2/opam +++ b/packages/owl-top/owl-top.1.2/opam @@ -16,7 +16,7 @@ build: [ depends: [ "ocaml" {>= "4.12.0"} - "dune" {>= "2.0.0"} + "dune" {>= "3.16"} "ocaml-compiler-libs" "owl" {= version} ] From a489ad955a3ab299cc517655ebf7efa7d4bbbce4 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:57:59 +0000 Subject: [PATCH 6/8] Update packages/owl/owl.1.2/opam --- packages/owl/owl.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl/owl.1.2/opam b/packages/owl/owl.1.2/opam index 1068d444d65..d0251b05314 100644 --- a/packages/owl/owl.1.2/opam +++ b/packages/owl/owl.1.2/opam @@ -28,7 +28,7 @@ depends: [ "base-bigarray" "conf-openblas" {>= "0.2.1"} "ctypes" {>= "0.16.0"} - "dune" {>= "2.0.0"} + "dune" {>= "3.16"} "dune-configurator" "owl-base" {= version} "npy" From 9370e6622e65adefafd0a5def998b861bc93304e Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 27 Dec 2024 13:58:06 +0000 Subject: [PATCH 7/8] Update packages/owl/owl.1.2/opam --- packages/owl/owl.1.2/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/owl/owl.1.2/opam b/packages/owl/owl.1.2/opam index d0251b05314..eb1cd6eff39 100644 --- a/packages/owl/owl.1.2/opam +++ b/packages/owl/owl.1.2/opam @@ -16,7 +16,7 @@ Recently, Owl has implemented algorithmic differentiation which essentially make """ build: [ - [ "dune" "subst" ] {pinned} + [ "dune" "subst" ] {dev} [ "dune" "build" "-p" name "-j" jobs ] [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} ] From 98aa76eac5214e24404d4744a4ac72e41803c161 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Sun, 5 Jan 2025 21:33:46 +0100 Subject: [PATCH 8/8] old owl-plplot need an upper bound on owl --- packages/owl-plplot/owl-plplot.0.5.0/opam | 2 +- packages/owl-plplot/owl-plplot.0.6.0/opam | 2 +- packages/owl-plplot/owl-plplot.0.7.0/opam | 2 +- packages/owl-plplot/owl-plplot.0.7.2/opam | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/owl-plplot/owl-plplot.0.5.0/opam b/packages/owl-plplot/owl-plplot.0.5.0/opam index d9d22d6b0cb..6ac99b2f9fb 100644 --- a/packages/owl-plplot/owl-plplot.0.5.0/opam +++ b/packages/owl-plplot/owl-plplot.0.5.0/opam @@ -23,7 +23,7 @@ build: [ depends: [ "dune" "ocaml" {>= "4.06.0"} - "owl" {>= "0.5.0"} + "owl" {>= "0.5.0" & < "0.6.0"} "plplot" ] url { diff --git a/packages/owl-plplot/owl-plplot.0.6.0/opam b/packages/owl-plplot/owl-plplot.0.6.0/opam index 965451022af..a039261fb2e 100644 --- a/packages/owl-plplot/owl-plplot.0.6.0/opam +++ b/packages/owl-plplot/owl-plplot.0.6.0/opam @@ -23,7 +23,7 @@ build: [ depends: [ "ocaml" {>= "4.06.0"} "dune" {>= "1.7"} - "owl" {>= "0.5.0"} + "owl" {>= "0.5.0" & < "0.7.0"} "plplot" ] url { diff --git a/packages/owl-plplot/owl-plplot.0.7.0/opam b/packages/owl-plplot/owl-plplot.0.7.0/opam index e0fe6aa177c..ad60e24c4fd 100644 --- a/packages/owl-plplot/owl-plplot.0.7.0/opam +++ b/packages/owl-plplot/owl-plplot.0.7.0/opam @@ -23,7 +23,7 @@ build: [ depends: [ "ocaml" {>= "4.06.0"} "dune" {>= "1.7.0"} - "owl" {>= "0.5.0"} + "owl" {>= "0.5.0" & < "0.8.0"} "plplot" ] url { diff --git a/packages/owl-plplot/owl-plplot.0.7.2/opam b/packages/owl-plplot/owl-plplot.0.7.2/opam index 4c625c415f5..02d7929e816 100644 --- a/packages/owl-plplot/owl-plplot.0.7.2/opam +++ b/packages/owl-plplot/owl-plplot.0.7.2/opam @@ -23,7 +23,7 @@ build: [ depends: [ "ocaml" {>= "4.06.0"} "dune" {>= "1.7.0"} - "owl" {>= "0.5.0"} + "owl" {>= "0.5.0" & < "0.8.0"} "plplot" ] url {