Compare commits
140 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06a86cad81 | ||
|
|
146142d656 | ||
|
|
836822abda | ||
|
|
2f3375545a | ||
|
|
890a33a2d0 | ||
|
|
493ce7b7ef | ||
|
|
fdd91af0d8 | ||
|
|
f7bd4f2975 | ||
|
|
85859ce6f2 | ||
|
|
44d69f6b11 | ||
|
|
3025091edc | ||
|
|
bdff9da145 | ||
|
|
5e00b46ccb | ||
|
|
65b81cbfb7 | ||
|
|
8a80202e94 | ||
|
|
30f268210d | ||
|
|
e8b7e3898e | ||
|
|
7eb99c9abe | ||
|
|
0f09d23f58 | ||
|
|
cfc02b42ca | ||
|
|
a5e7a8cbbe | ||
|
|
3a29ce3a6d | ||
|
|
684f60e3d0 | ||
|
|
6a01d90761 | ||
|
|
cb1ce5ff91 | ||
|
|
5923869db8 | ||
|
|
7da3dbf488 | ||
|
|
58c31cc982 | ||
|
|
f0c1c80838 | ||
|
|
16fed01b22 | ||
|
|
954cd5a48a | ||
|
|
30e1a15ea4 | ||
|
|
2b749b0551 | ||
|
|
7835ceec6d | ||
|
|
c42fdafe27 | ||
|
|
b25a690073 | ||
|
|
77a25cee8c | ||
|
|
326a9c68d2 | ||
|
|
594b95bea5 | ||
|
|
89b356be90 | ||
|
|
880cc573d3 | ||
|
|
b6e079d202 | ||
|
|
5515cdc0e9 | ||
|
|
3555f12da5 | ||
|
|
a5fccffcba | ||
|
|
7297f1f8dd | ||
|
|
63aa62e5c3 | ||
|
|
84eda40037 | ||
|
|
0e8d9a2ae7 | ||
|
|
3631ce9297 | ||
|
|
ba5707b2bd | ||
|
|
946f11170e | ||
|
|
28ee4aaef9 | ||
|
|
cfd816c53a | ||
|
|
7995f539ab | ||
|
|
2d82b286c5 | ||
|
|
cf706e9f8c | ||
|
|
50825add7a | ||
|
|
c23f82a54c | ||
|
|
f795f84fab | ||
|
|
33ec5ddc6d | ||
|
|
a0993487f4 | ||
|
|
203d3dffb7 | ||
|
|
3bff422f6b | ||
|
|
14881fd6e2 | ||
|
|
489d00e5f4 | ||
|
|
0f29a5f36a | ||
|
|
d77b748548 | ||
|
|
993a65744a | ||
|
|
fb83b68a67 | ||
|
|
18a3e99eaa | ||
|
|
7bd779ad75 | ||
|
|
39c2970231 | ||
|
|
2185ad6b08 | ||
|
|
2cf3996c68 | ||
|
|
e601bae386 | ||
|
|
7d172c2d75 | ||
|
|
e65929cbc6 | ||
|
|
209222ba18 | ||
|
|
35e6c6f157 | ||
|
|
2f270baa4c | ||
|
|
3fcc79c835 | ||
|
|
a7911740e1 | ||
|
|
6e0bc222a6 | ||
|
|
32d989760c | ||
|
|
36bff69e46 | ||
|
|
6e96dffe9b | ||
|
|
52ecf102bf | ||
|
|
6f162e464e | ||
|
|
33574a9cc8 | ||
|
|
92351ab8b4 | ||
|
|
12c4bb55a5 | ||
|
|
e699447e52 | ||
|
|
5203fad767 | ||
|
|
ce5c02c2a0 | ||
|
|
5a43ac7e12 | ||
|
|
80e921d901 | ||
|
|
89ee7a420c | ||
|
|
3c27d8efa9 | ||
|
|
1a90f14efc | ||
|
|
69d59c02f7 | ||
|
|
e06e5d86e1 | ||
|
|
16bb386c93 | ||
|
|
672b2ed9cd | ||
|
|
9630564026 | ||
|
|
96f14a2270 | ||
|
|
afe805eb5a | ||
|
|
c4c3592b95 | ||
|
|
f3e530b23b | ||
|
|
308383c7bd | ||
|
|
4580e9dceb | ||
|
|
134b5e568d | ||
|
|
114710af4f | ||
|
|
384b7e5c5e | ||
|
|
acad1c2836 | ||
|
|
0fa0d4878c | ||
|
|
4744349aaa | ||
|
|
cb21dff8c8 | ||
|
|
849682db3e | ||
|
|
358fca60b3 | ||
|
|
715e50af87 | ||
|
|
401aabeea7 | ||
|
|
a1d73a2da4 | ||
|
|
549469ed2f | ||
|
|
8868602918 | ||
|
|
b3bad1d821 | ||
|
|
5b72f4d47a | ||
|
|
e1c4ce182d | ||
|
|
f1b8e426d5 | ||
|
|
39473a4e59 | ||
|
|
c1ebc8d06d | ||
|
|
391b15504a | ||
|
|
d1b193a3a8 | ||
|
|
904f3c9fac | ||
|
|
1f11cd451a | ||
|
|
0afa631907 | ||
|
|
6a5a36b0b3 | ||
|
|
c73c65fa07 | ||
|
|
a1a02d530f | ||
|
|
b2bdbf6204 |
11 changed files with 1025 additions and 104 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/dune-1.7.3.tar.gz
|
||||
/dune-*.tar.gz
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -1,3 +1,12 @@
|
|||
# ocaml-dune
|
||||
|
||||
The ocaml-dune package
|
||||
[Dune](https://dune.build) is a build system designed for
|
||||
[OCaml](https://ocaml.org/)/[Reason](https://reasonml.github.io/) projects
|
||||
only. It focuses on providing the user with a consistent experience and takes
|
||||
care of most of the low-level details of OCaml compilation. All you have to
|
||||
do is provide a description of your project and Dune will do the rest.
|
||||
|
||||
The scheme it implements is inspired from the one used inside
|
||||
[Jane Street](https://opensource.janestreet.com/) and adapted to the open
|
||||
source world. It has matured over a long time and is used daily by hundred of
|
||||
developers, which means that it is highly tested and productive.
|
||||
|
|
|
|||
6
gating.yaml
Executable file
6
gating.yaml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
11
ocaml-dune-debuginfo.patch
Normal file
11
ocaml-dune-debuginfo.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- dune-3.20.0/src/dune_lang/dune_project.ml.orig 2025-08-19 00:28:44.000000000 -0600
|
||||
+++ dune-3.20.0/src/dune_lang/dune_project.ml 2025-08-21 20:42:51.793195598 -0600
|
||||
@@ -425,7 +425,7 @@ let interpret_lang_and_extensions ~(lang
|
||||
let filename = "dune-project"
|
||||
let opam_file_location_default ~lang:_ = `Relative_to_project
|
||||
let wrapped_executables_default ~(lang : Lang.Instance.t) = lang.version >= (2, 0)
|
||||
-let map_workspace_root_default ~(lang : Lang.Instance.t) = lang.version >= (3, 0)
|
||||
+let map_workspace_root_default ~(lang : Lang.Instance.t) = false
|
||||
|
||||
let executables_implicit_empty_intf_default ~(lang : Lang.Instance.t) =
|
||||
lang.version >= (3, 0)
|
||||
31
ocaml-dune-no-lwt.patch
Normal file
31
ocaml-dune-no-lwt.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
--- dune-3.15.0/dune-file.orig 2024-04-03 03:29:40.000000000 -0600
|
||||
+++ dune-3.15.0/dune-file 2024-04-05 08:48:56.083804773 -0600
|
||||
@@ -30,9 +30,6 @@
|
||||
(copy dune-private-libs.opam.template ordering.opam.template))
|
||||
|
||||
(rule
|
||||
- (copy dune-private-libs.opam.template dune-rpc-lwt.opam.template))
|
||||
-
|
||||
-(rule
|
||||
(copy dune-private-libs.opam.template fiber.opam.template))
|
||||
|
||||
(rule
|
||||
--- dune-3.15.0/dune-project.orig 2024-04-03 03:29:40.000000000 -0600
|
||||
+++ dune-3.15.0/dune-project 2024-04-05 08:49:50.546090649 -0600
|
||||
@@ -149,16 +149,6 @@ understood by dune language."))
|
||||
(description "Library to connect and control a running dune instance"))
|
||||
|
||||
(package
|
||||
- (name dune-rpc-lwt)
|
||||
- (synopsis "Communicate with dune using rpc and Lwt")
|
||||
- (depends
|
||||
- (dune-rpc (= :version))
|
||||
- (csexp (>= 1.5.0))
|
||||
- (lwt (>= 5.6.0))
|
||||
- base-unix)
|
||||
- (description "Specialization of dune-rpc to Lwt"))
|
||||
-
|
||||
-(package
|
||||
(name dyn)
|
||||
(synopsis "Dynamic type")
|
||||
(depends
|
||||
1047
ocaml-dune.spec
1047
ocaml-dune.spec
File diff suppressed because it is too large
Load diff
10
plans.fmf
Normal file
10
plans.fmf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
summary: Run all tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- ocaml
|
||||
- ocaml-dune
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (dune-1.7.3.tar.gz) = 744ff584acc1695f3720b142a5bc00a26901d488531629fe386f4f3b02f13b86b74e7ba5801d468f4b8ebfcee9bd15017e6dd0d0c2ae242eaef40aa99668a39d
|
||||
SHA512 (dune-3.20.2.tar.gz) = efb4376e03a3e760ee230c22ba8ac788623382437d9e3551fdd6bacdca1c6aa2db90246feb011d3d0e7ba3afa47161ebd06c80cfb24e357a82f7764bf003e355
|
||||
|
|
|
|||
6
tests/basic-test.sh
Executable file
6
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Just check that dune works.
|
||||
dune --version
|
||||
2
tests/main.fmf
Normal file
2
tests/main.fmf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
summary: Basic test
|
||||
test: ./basic-test.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue