No camlp5 yet, and perl4caml fails to build.
[fedora-ocaml-rebuild.git] / Goalfile
1 # See README.
2
3 include "fedora.gl"
4
5 let fedora-dir = "%HOME/d/fedora"
6
7 let fedora-branch = "master"
8 #let fedora-branch = "f32"
9 let fedora-tag = "f33-build-side-21752"
10
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.11.0 pre-release"
14
15 # Packages that are blocked.  Any dependent packages are also blocked
16 # automatically.
17 # XXX Not implemented, use ignore for now.
18 #let fedora-blocked = [ "ocaml-camlp4" ]
19
20 # Packages that are ignored, which means they are treated as if
21 # they have been rebuilt.
22 let fedora-ignored = [
23     "ocaml-srpm-macros", "ocaml",
24
25     # Not updated yet for OCaml 4.11.
26     "ocaml-camlp5",
27
28     # https://github.com/ocaml/ocaml/issues/9461
29     "ocaml-perl4caml",
30 ]
31
32 # All OCaml-related source package names
33 let other-packages = [
34     "alt-ergo", "apron", "brltty", "coccinelle",
35     "graphviz", "hevea", "hivex",
36     "laby",
37     "libguestfs", "libnbd", "opam",
38     "utop",
39     "virt-top", "virt-v2v",
40     "z3",
41
42     # For Coq:
43     "coq", "frama-c", "gappalib-coq",
44     "zenon",
45     "flocq",
46
47     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
48     # to fix this in goals itself, but in the meantime disable nbdkit
49     # and build it by hand.
50     #"nbdkit",
51
52     # https://bugzilla.redhat.com/show_bug.cgi?id=1797853
53     # "plplot",
54
55     # These packages require camlp5 which has not been updated for 4.11.
56     #"haxe",
57     #"why3",
58 ]
59
60 pure function get-source-packages () returning strings = {
61     cd %fedora-dir
62     for f in ocaml* %other-packages; do
63         [ -f $f/%fedora-branch/$f.spec ] && echo "$f"
64     done
65 }
66 let fedora-source-packages = get-source-packages ()
67
68 # Main goal: Rebuild all packages in Koji.
69 goal all = : wrap ("is-koji-built", fedora-source-packages)