mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

commit f8bd63ced1a5272760bbfdc7b72599f5a50f8afd
parent 56435042e4d07a7928d0b04e7b89fe257b7dfbff
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Tue,  4 Nov 2025 16:06:56 +0000

ocaml packages

Diffstat:
Mdownloadlist.sha256 | 3+++
Mtemplates/dune | 2+-
Atemplates/macros | 15+++++++++++++++
Mtemplates/pkg/ocaml-astring | 12------------
Mtemplates/pkg/ocaml-bos | 12------------
Mtemplates/pkg/ocaml-cmdliner | 12------------
Mtemplates/pkg/ocaml-fmt | 12------------
Mtemplates/pkg/ocaml-fpath | 12------------
Mtemplates/pkg/ocaml-logs | 18++----------------
Mtemplates/pkg/ocaml-lun | 13+++----------
Mtemplates/pkg/ocaml-mtime | 12------------
Atemplates/pkg/ocaml-ppx_derivers | 10++++++++++
Atemplates/pkg/ocaml-ppx_deriving | 11+++++++++++
Atemplates/pkg/ocaml-ppxlib | 11+++++++++++
Mtemplates/pkg/ocaml-rresult | 12------------
Mtemplates/pkg/ocaml-topkg | 17+----------------
Mtemplates/pkg/wip.environment | 1+
Mtemplates/topkg | 7+++++--
Mvariants/ccx-x86_64/ocaml-astring | 9++++-----
Mvariants/ccx-x86_64/ocaml-base | 4++--
Mvariants/ccx-x86_64/ocaml-bos | 21++++++++++-----------
Mvariants/ccx-x86_64/ocaml-cmdliner | 9++++-----
Mvariants/ccx-x86_64/ocaml-fmt | 11+++++------
Mvariants/ccx-x86_64/ocaml-fpath | 11+++++------
Mvariants/ccx-x86_64/ocaml-logs | 17++++++++---------
Mvariants/ccx-x86_64/ocaml-lun | 7+++----
Mvariants/ccx-x86_64/ocaml-mtime | 9++++-----
Avariants/ccx-x86_64/ocaml-ppx_derivers | 109+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Avariants/ccx-x86_64/ocaml-ppx_deriving | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Avariants/ccx-x86_64/ocaml-ppxlib | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mvariants/ccx-x86_64/ocaml-rresult | 9++++-----
Mvariants/ccx-x86_64/ocaml-sexplib0 | 2+-
Mvariants/ccx-x86_64/ocaml-topkg | 5++---
Mvariants/ccx-x86_64/wip.environment | 9+++++----
Mvariants/root-x86_64/ocaml-astring | 9++++-----
Mvariants/root-x86_64/ocaml-base | 4++--
Mvariants/root-x86_64/ocaml-bos | 21++++++++++-----------
Mvariants/root-x86_64/ocaml-cmdliner | 9++++-----
Mvariants/root-x86_64/ocaml-fmt | 11+++++------
Mvariants/root-x86_64/ocaml-fpath | 11+++++------
Mvariants/root-x86_64/ocaml-logs | 17++++++++---------
Mvariants/root-x86_64/ocaml-lun | 7+++----
Mvariants/root-x86_64/ocaml-mtime | 9++++-----
Avariants/root-x86_64/ocaml-ppx_derivers | 109+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Avariants/root-x86_64/ocaml-ppx_deriving | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Avariants/root-x86_64/ocaml-ppxlib | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mvariants/root-x86_64/ocaml-rresult | 9++++-----
Mvariants/root-x86_64/ocaml-sexplib0 | 2+-
Mvariants/root-x86_64/ocaml-topkg | 5++---
Mvariants/root-x86_64/wip.environment | 9+++++----
50 files changed, 835 insertions(+), 261 deletions(-)

diff --git a/downloadlist.sha256 b/downloadlist.sha256 @@ -87,3 +87,6 @@ c988b7769a59749631c3c98ba5edd1d2fe91f5dc380b5e0593c073c92f4bee01 11922 https://g ee97065ba41ce28f19dea9453c6bec4e0ef26165ad7394c4131ea0c65c0f06d5 19795 https://erratique.ch/software/logs/releases/logs-0.9.0.tbz 097cb2802e3701ead9572e1b483d5a28c6e2f0a39449faaf9b44ad8a89834d88 15370 https://erratique.ch/software/mtime/releases/mtime-2.1.0.tbz cca8badff83b470fdcfb1840116f8e8a6f2cb86cde2f44ed28cf26cbf692a793 26006 https://github.com/robur-coop/lun/releases/download/v0.0.1/lun-0.0.1.tbz +b6595ee187dea792b31fc54a0e1524ab1e48bc6068d3066c45215a138cc73b95 2530 https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz +2e223837e7cecc3bc84a432432c0a72f4e1d5be9165c9c33772f156db85db0b3 413133 https://github.com/ocaml-ppx/ppxlib/releases/download/0.37.0/ppxlib-0.37.0.tbz +c91d1ea5e15e6928a2f8947dbd135b9f765cc0e2d72be271427981afcd350c24 48969 https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.1/ppx_deriving-6.1.1.tar.gz diff --git a/templates/dune b/templates/dune @@ -11,7 +11,7 @@ export DUNE_CACHE=disabled {{ super() }} {% endblock configure %} {%- block build %} -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" {% block dune_build_args %}{% endblock %} {% endblock build %} {%- block install %} diff --git a/templates/macros b/templates/macros @@ -0,0 +1,15 @@ +{% macro genlinks_ocaml_library(name, modules=[]) %} + x["./library.ocaml/{{name}}/META"]=1 +{%- for m in modules %} + x["./library.ocaml/{{name}}/{{m}}.a"]=1 + x["./library.ocaml/{{name}}/{{m}}.cma"]=1 + x["./library.ocaml/{{name}}/{{m}}.cmi"]=1 + {#- x["./library.ocaml/{{name}}/{{m}}.cmt"]=1 #} + x["./library.ocaml/{{name}}/{{m}}.cmti"]=1 + x["./library.ocaml/{{name}}/{{m}}.cmx"]=1 + x["./library.ocaml/{{name}}/{{m}}.cmxa"]=1 + {#- x["./library.ocaml/{{name}}/{{m}}.cmxs"]=1 #} + {#- x["./library.ocaml/{{name}}/{{m}}.ml"]=1 #} + x["./library.ocaml/{{name}}/{{m}}.mli"]=1 +{%- endfor -%} +{% endmacro %} diff --git a/templates/pkg/ocaml-astring b/templates/pkg/ocaml-astring @@ -5,15 +5,3 @@ {% block package_deps -%} #+{{pkg_install_name("ocaml-topkg")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/astring/astring.a"]=1 - x["./library.ocaml/astring/astring.cma"]=1 - x["./library.ocaml/astring/astring.cmi"]=1 - # x["./library.ocaml/astring/astring.cmt"]=1 - x["./library.ocaml/astring/astring.cmti"]=1 - x["./library.ocaml/astring/astring.cmx"]=1 - x["./library.ocaml/astring/astring.cmxa"]=1 - # x["./library.ocaml/astring/astring.cmxs"]=1 - # x["./library.ocaml/astring/astring.ml"]=1 - x["./library.ocaml/astring/astring.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-bos b/templates/pkg/ocaml-bos @@ -11,15 +11,3 @@ #+{{pkg_install_name("ocaml-logs")}} #+{{pkg_install_name("ocaml-mtime")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/bos/bos.a"]=1 - x["./library.ocaml/bos/bos.cma"]=1 - x["./library.ocaml/bos/bos.cmi"]=1 - # x["./library.ocaml/bos/bos.cmt"]=1 - x["./library.ocaml/bos/bos.cmti"]=1 - x["./library.ocaml/bos/bos.cmx"]=1 - x["./library.ocaml/bos/bos.cmxa"]=1 - # x["./library.ocaml/bos/bos.cmxs"]=1 - # x["./library.ocaml/bos/bos.ml"]=1 - x["./library.ocaml/bos/bos.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-cmdliner b/templates/pkg/ocaml-cmdliner @@ -5,15 +5,3 @@ {% block package_deps -%} #+{{pkg_install_name("ocaml-topkg")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/cmdliner/cmdliner.a"]=1 - x["./library.ocaml/cmdliner/cmdliner.cma"]=1 - x["./library.ocaml/cmdliner/cmdliner.cmi"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmt"]=1 - x["./library.ocaml/cmdliner/cmdliner.cmti"]=1 - x["./library.ocaml/cmdliner/cmdliner.cmx"]=1 - x["./library.ocaml/cmdliner/cmdliner.cmxa"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmxs"]=1 - # x["./library.ocaml/cmdliner/cmdliner.ml"]=1 - x["./library.ocaml/cmdliner/cmdliner.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-fmt b/templates/pkg/ocaml-fmt @@ -6,15 +6,3 @@ #+{{pkg_install_name("ocaml-topkg")}} #+{{pkg_install_name("ocaml-cmdliner")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/fmt/fmt.a"]=1 - x["./library.ocaml/fmt/fmt.cma"]=1 - x["./library.ocaml/fmt/fmt.cmi"]=1 - # x["./library.ocaml/fmt/fmt.cmt"]=1 - x["./library.ocaml/fmt/fmt.cmti"]=1 - x["./library.ocaml/fmt/fmt.cmx"]=1 - x["./library.ocaml/fmt/fmt.cmxa"]=1 - # x["./library.ocaml/fmt/fmt.cmxs"]=1 - # x["./library.ocaml/fmt/fmt.ml"]=1 - x["./library.ocaml/fmt/fmt.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-fpath b/templates/pkg/ocaml-fpath @@ -6,15 +6,3 @@ #+{{pkg_install_name("ocaml-topkg")}} #+{{pkg_install_name("ocaml-astring")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/fpath/fpath.a"]=1 - x["./library.ocaml/fpath/fpath.cma"]=1 - x["./library.ocaml/fpath/fpath.cmi"]=1 - # x["./library.ocaml/fpath/fpath.cmt"]=1 - x["./library.ocaml/fpath/fpath.cmti"]=1 - x["./library.ocaml/fpath/fpath.cmx"]=1 - x["./library.ocaml/fpath/fpath.cmxa"]=1 - # x["./library.ocaml/fpath/fpath.cmxs"]=1 - # x["./library.ocaml/fpath/fpath.ml"]=1 - x["./library.ocaml/fpath/fpath.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-logs b/templates/pkg/ocaml-logs @@ -8,24 +8,10 @@ #+{{pkg_install_name("ocaml-cmdliner")}} #+{{pkg_install_name("ocaml-fmt")}} {% endblock package_deps %} -{%- block build %} -ocaml -I "$OCAMLPATH" pkg/pkg.ml build \ +{%- block topkg_build_args -%} --with-cmdliner true \ --with-fmt true \ --with-js_of_ocaml-compiler false \ --with-lwt false \ --with-base-threads false - -{% endblock build %} -{% block genlinks_begin %} - x["./library.ocaml/logs/logs.a"]=1 - x["./library.ocaml/logs/logs.cma"]=1 - x["./library.ocaml/logs/logs.cmi"]=1 - # x["./library.ocaml/logs/logs.cmt"]=1 - x["./library.ocaml/logs/logs.cmti"]=1 - x["./library.ocaml/logs/logs.cmx"]=1 - x["./library.ocaml/logs/logs.cmxa"]=1 - # x["./library.ocaml/logs/logs.cmxs"]=1 - # x["./library.ocaml/logs/logs.ml"]=1 - x["./library.ocaml/logs/logs.mli"]=1 -{% endblock genlinks_begin %} +{% endblock topkg_build_args %} diff --git a/templates/pkg/ocaml-lun b/templates/pkg/ocaml-lun @@ -2,15 +2,8 @@ {%- set upstream_name="lun" -%} {%- set pkg_source="tbz" -%} {% extends "dune" %} +{% import "macros" as m %} +{%- block dune_build_args %}-p lun -j "${JOBS:-1}"{% endblock %} {% block genlinks_begin %} - x["./library.ocaml/lun/lun.a"]=1 - x["./library.ocaml/lun/lun.cma"]=1 - x["./library.ocaml/lun/lun.cmi"]=1 - # x["./library.ocaml/lun/lun.cmt"]=1 - x["./library.ocaml/lun/lun.cmti"]=1 - x["./library.ocaml/lun/lun.cmx"]=1 - x["./library.ocaml/lun/lun.cmxa"]=1 - # x["./library.ocaml/lun/lun.cmxs"]=1 - # x["./library.ocaml/lun/lun.ml"]=1 - x["./library.ocaml/lun/lun.mli"]=1 +{{ m.genlinks_ocaml_library(upstream_name, [upstream_name]) }} {% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-mtime b/templates/pkg/ocaml-mtime @@ -5,15 +5,3 @@ {% block package_deps -%} #+{{pkg_install_name("ocaml-topkg")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/mtime/mtime.a"]=1 - x["./library.ocaml/mtime/mtime.cma"]=1 - x["./library.ocaml/mtime/mtime.cmi"]=1 - # x["./library.ocaml/mtime/mtime.cmt"]=1 - x["./library.ocaml/mtime/mtime.cmti"]=1 - x["./library.ocaml/mtime/mtime.cmx"]=1 - x["./library.ocaml/mtime/mtime.cmxa"]=1 - # x["./library.ocaml/mtime/mtime.cmxs"]=1 - # x["./library.ocaml/mtime/mtime.ml"]=1 - x["./library.ocaml/mtime/mtime.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-ppx_derivers b/templates/pkg/ocaml-ppx_derivers @@ -0,0 +1,10 @@ +{%- set pkg_version="1.2.1" -%} +{%- set upstream_name="ppx_derivers" -%} +{% extends "dune" %} +{% import "macros" as m %} +{% block package_deps -%} +#@untar:-z:{{downloads["https://github.com/ocaml-ppx/"~upstream_name~"/archive/"~pkg_version~".tar.gz"]}}:. +{% endblock package_deps %} +{% block genlinks_begin %} +{{ m.genlinks_ocaml_library(upstream_name, [upstream_name]) }} +{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-ppx_deriving b/templates/pkg/ocaml-ppx_deriving @@ -0,0 +1,11 @@ +{%- set pkg_version="6.1.1" -%} +{%- set upstream_name="ppx_deriving" -%} +{% extends "dune" %} +{% import "macros" as m %} +{% block package_deps -%} +#+{{pkg_install_name("ocaml-ppxlib")}} +#@untar:-z:{{downloads["https://github.com/ocaml-ppx/"~upstream_name~"/releases/download/v"~pkg_version~"/"~upstream_name~"-"~pkg_version~".tar.gz"]}}:. +{% endblock package_deps %} +{% block genlinks_begin %} +{{ m.genlinks_ocaml_library(upstream_name, ["api/ppx_deriving"]) }} +{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-ppxlib b/templates/pkg/ocaml-ppxlib @@ -0,0 +1,11 @@ +{%- set pkg_version="0.37.0" -%} +{%- set upstream_name="ppxlib" -%} +{% extends "dune" %} +{% import "macros" as m %} +{% block package_deps -%} +#+{{pkg_install_name("ocaml-ppx_derivers")}} +#@untar:-j:{{downloads["https://github.com/ocaml-ppx/"~upstream_name~"/releases/download/"~pkg_version~"/"~upstream_name~"-"~pkg_version~".tbz"]}}:. +{% endblock package_deps %} +{% block genlinks_begin %} +{{ m.genlinks_ocaml_library(upstream_name, [upstream_name]) }} +{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-rresult b/templates/pkg/ocaml-rresult @@ -5,15 +5,3 @@ {% block package_deps -%} #+{{pkg_install_name("ocaml-topkg")}} {% endblock package_deps %} -{% block genlinks_begin %} - x["./library.ocaml/rresult/rresult.a"]=1 - x["./library.ocaml/rresult/rresult.cma"]=1 - x["./library.ocaml/rresult/rresult.cmi"]=1 - # x["./library.ocaml/rresult/rresult.cmt"]=1 - x["./library.ocaml/rresult/rresult.cmti"]=1 - x["./library.ocaml/rresult/rresult.cmx"]=1 - x["./library.ocaml/rresult/rresult.cmxa"]=1 - # x["./library.ocaml/rresult/rresult.cmxs"]=1 - # x["./library.ocaml/rresult/rresult.ml"]=1 - x["./library.ocaml/rresult/rresult.mli"]=1 -{% endblock genlinks_begin %} diff --git a/templates/pkg/ocaml-topkg b/templates/pkg/ocaml-topkg @@ -2,19 +2,4 @@ {%- set upstream_name="topkg" -%} {%- set pkg_source="tbz" -%} {% extends "topkg" %} -{%- block build %} -ocaml -I "$OCAMLPATH" pkg/pkg.ml build --dev-pkg true - -{% endblock build %} -{% block genlinks_begin %} - x["./library.ocaml/topkg/topkg.a"]=1 - x["./library.ocaml/topkg/topkg.cma"]=1 - x["./library.ocaml/topkg/topkg.cmi"]=1 - # x["./library.ocaml/topkg/topkg.cmt"]=1 - x["./library.ocaml/topkg/topkg.cmti"]=1 - x["./library.ocaml/topkg/topkg.cmx"]=1 - x["./library.ocaml/topkg/topkg.cmxa"]=1 - # x["./library.ocaml/topkg/topkg.cmxs"]=1 - # x["./library.ocaml/topkg/topkg.ml"]=1 - x["./library.ocaml/topkg/topkg.mli"]=1 -{% endblock genlinks_begin %} +{%- block topkg_build_args %}--dev-pkg true{% endblock %} diff --git a/templates/pkg/wip.environment b/templates/pkg/wip.environment @@ -6,4 +6,5 @@ #+{{pkg_install_name("opam")}} #+{{pkg_install_name("ocaml-bos")}} #+{{pkg_install_name("ocaml-lun")}} +#+{{pkg_install_name("ocaml-ppx_deriving")}} {#- #+{{pkg_install_name("ocaml-findlib")}} #} diff --git a/templates/topkg b/templates/topkg @@ -1,4 +1,5 @@ {% extends "genlinks" %} +{% import "macros" as m %} {% block template_deps -%} {{ super() -}} #+{{pkg_install_name("busybox-diffutils")}} @@ -9,7 +10,7 @@ #+{{pkg_install_name("opam")}} {% endblock template_deps %} {%- block build %} -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build {% block topkg_build_args %}{% endblock %} {% endblock build %} {%- block install %} @@ -24,4 +25,6 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build {{ super() -}} $2 == "library.ocaml" { link($0); next } {% endblock genlinks_rules -%} - +{% block genlinks_begin %} +{{ m.genlinks_ocaml_library(upstream_name, [upstream_name]) }} +{% endblock genlinks_begin %} diff --git a/variants/ccx-x86_64/ocaml-astring b/variants/ccx-x86_64/ocaml-astring @@ -8,7 +8,7 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 #@untar:-j:sha256:865692630c07c3ab87c66cdfc2734c0fdfc9c34a57f8e89ffec7c7d15e7a70fa:. @@ -20,7 +20,7 @@ cd 'astring-0.8.5' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/astring/META"]=1 x["./library.ocaml/astring/astring.a"]=1 x["./library.ocaml/astring/astring.cma"]=1 x["./library.ocaml/astring/astring.cmi"]=1 - # x["./library.ocaml/astring/astring.cmt"]=1 x["./library.ocaml/astring/astring.cmti"]=1 x["./library.ocaml/astring/astring.cmx"]=1 x["./library.ocaml/astring/astring.cmxa"]=1 - # x["./library.ocaml/astring/astring.cmxs"]=1 - # x["./library.ocaml/astring/astring.ml"]=1 x["./library.ocaml/astring/astring.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-base b/variants/ccx-x86_64/ocaml-base @@ -7,7 +7,7 @@ #+ocaml.b8790b4e31ab26a55165b60c745d8789addca32a91a851444cbf36abe8c19dc5 #+dune.c0d42300ccdc7cde0eb62ac8076b599c1b8504fd53a02f3b433a5461d2b92b53 #+ocaml_intrinsics_kernel.5e07197dee1cfa96b830aef206f4465a29d84cc8cb19e793cc18924bbf5e19cd -#+ocaml-sexplib0.57729d618b7257492073c9b3c4ce4b99a4c50fa838a0f98cff51c5ff3c6320ed +#+ocaml-sexplib0.db56f47ee5ae97f50676d225b1875347438e5d74d8b7000cba78f194fa0e40b7 #@untar:-z:sha256:3f3f64789ab25bb5cb7f5f907dd651dec9cc9440981822fe75df6b94344b7208:. @@ -25,7 +25,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" dune install \ diff --git a/variants/ccx-x86_64/ocaml-bos b/variants/ccx-x86_64/ocaml-bos @@ -8,13 +8,13 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef -#+ocaml-astring.20c5ab454f46b26a677ce1cec8eb7345850823314d3a93aab4849a3fe23b0d47 -#+ocaml-fpath.bec59f163bad0d726c722021b5892b78a593980056825251596e13f3ab31991d -#+ocaml-rresult.9cb11f01ad3fc18ff1eac51edc2045aac895f559780b7eae99f5c259bb05b9a2 -#+ocaml-fmt.5a323613e5740ba985fff767ea107f23c0c50ea8c50c2444dbd07ccd7582b1b6 -#+ocaml-logs.0d180bb15d159c0a440a217ccdad049adb246ad70b6ae2f0fcae83c6fbe6fe91 -#+ocaml-mtime.cd79f92ec98a82602257e8a5d1bbd5010080db3c155ae186e135bd8f51f77b62 +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 +#+ocaml-astring.d12e0c3eb49b2bcd4c23e4ebfa09fd87b069b13663fd426107c1b35f496739e4 +#+ocaml-fpath.46a508fb12f4b218bc703d14be3bb656a82d41f0d73bb40388f3cf77695f97b6 +#+ocaml-rresult.51b53cf2c5d52743c14ba53d19303fb3d9a333c5290bea4a8c76dfb7c5c0ced6 +#+ocaml-fmt.556a3926ddb18e9f3ebdbf21598bc35efa3c34a1c89061811c39de7d72f6d00d +#+ocaml-logs.4dbbd4f4c5cb63082031e44b344104d0954a62fb9baf5961c412183de1d1717d +#+ocaml-mtime.2c502acb1865227780aa1f5f23061f69498ae2351b5f576b119e32419765bcd5 #@untar:-j:sha256:d8d62e786b10d697e0457205a8eedeaa27ebcc90f1855f18df190cac2e3d8f37:. @@ -26,7 +26,7 @@ cd 'bos-0.2.1' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -42,15 +42,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/bos/META"]=1 x["./library.ocaml/bos/bos.a"]=1 x["./library.ocaml/bos/bos.cma"]=1 x["./library.ocaml/bos/bos.cmi"]=1 - # x["./library.ocaml/bos/bos.cmt"]=1 x["./library.ocaml/bos/bos.cmti"]=1 x["./library.ocaml/bos/bos.cmx"]=1 x["./library.ocaml/bos/bos.cmxa"]=1 - # x["./library.ocaml/bos/bos.cmxs"]=1 - # x["./library.ocaml/bos/bos.ml"]=1 x["./library.ocaml/bos/bos.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-cmdliner b/variants/ccx-x86_64/ocaml-cmdliner @@ -8,7 +8,7 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 #@untar:-j:sha256:4e547a631c36fbaadff60d3bd7724eb3f83ba274e92fb725950bae7868378582:. @@ -20,7 +20,7 @@ cd 'cmdliner-2.0.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/cmdliner/META"]=1 x["./library.ocaml/cmdliner/cmdliner.a"]=1 x["./library.ocaml/cmdliner/cmdliner.cma"]=1 x["./library.ocaml/cmdliner/cmdliner.cmi"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmt"]=1 x["./library.ocaml/cmdliner/cmdliner.cmti"]=1 x["./library.ocaml/cmdliner/cmdliner.cmx"]=1 x["./library.ocaml/cmdliner/cmdliner.cmxa"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmxs"]=1 - # x["./library.ocaml/cmdliner/cmdliner.ml"]=1 x["./library.ocaml/cmdliner/cmdliner.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-fmt b/variants/ccx-x86_64/ocaml-fmt @@ -8,8 +8,8 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef -#+ocaml-cmdliner.ec7ccf7d8eacbb9326906803a3eb395459f2636d627b0c402c0f5ca642e625c5 +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 +#+ocaml-cmdliner.89c362cd30d38fbbf02894beecb4e902060082853e6ddce3a93a6846cce9e0fe #@untar:-j:sha256:857cfd47a54b52429cd9b3e2665e44173cd1bd3b435bece7172f984ad5376a1b:. @@ -21,7 +21,7 @@ cd 'fmt-0.11.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -37,15 +37,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/fmt/META"]=1 x["./library.ocaml/fmt/fmt.a"]=1 x["./library.ocaml/fmt/fmt.cma"]=1 x["./library.ocaml/fmt/fmt.cmi"]=1 - # x["./library.ocaml/fmt/fmt.cmt"]=1 x["./library.ocaml/fmt/fmt.cmti"]=1 x["./library.ocaml/fmt/fmt.cmx"]=1 x["./library.ocaml/fmt/fmt.cmxa"]=1 - # x["./library.ocaml/fmt/fmt.cmxs"]=1 - # x["./library.ocaml/fmt/fmt.ml"]=1 x["./library.ocaml/fmt/fmt.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-fpath b/variants/ccx-x86_64/ocaml-fpath @@ -8,8 +8,8 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef -#+ocaml-astring.20c5ab454f46b26a677ce1cec8eb7345850823314d3a93aab4849a3fe23b0d47 +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 +#+ocaml-astring.d12e0c3eb49b2bcd4c23e4ebfa09fd87b069b13663fd426107c1b35f496739e4 #@untar:-j:sha256:12b08ff192d037d9b6d69e9ca19d1d385184f20b3237c27231e437ac81ace70f:. @@ -21,7 +21,7 @@ cd 'fpath-0.7.3' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -37,15 +37,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/fpath/META"]=1 x["./library.ocaml/fpath/fpath.a"]=1 x["./library.ocaml/fpath/fpath.cma"]=1 x["./library.ocaml/fpath/fpath.cmi"]=1 - # x["./library.ocaml/fpath/fpath.cmt"]=1 x["./library.ocaml/fpath/fpath.cmti"]=1 x["./library.ocaml/fpath/fpath.cmx"]=1 x["./library.ocaml/fpath/fpath.cmxa"]=1 - # x["./library.ocaml/fpath/fpath.cmxs"]=1 - # x["./library.ocaml/fpath/fpath.ml"]=1 x["./library.ocaml/fpath/fpath.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-logs b/variants/ccx-x86_64/ocaml-logs @@ -8,10 +8,10 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef -#+ocaml-mtime.cd79f92ec98a82602257e8a5d1bbd5010080db3c155ae186e135bd8f51f77b62 -#+ocaml-cmdliner.ec7ccf7d8eacbb9326906803a3eb395459f2636d627b0c402c0f5ca642e625c5 -#+ocaml-fmt.5a323613e5740ba985fff767ea107f23c0c50ea8c50c2444dbd07ccd7582b1b6 +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 +#+ocaml-mtime.2c502acb1865227780aa1f5f23061f69498ae2351b5f576b119e32419765bcd5 +#+ocaml-cmdliner.89c362cd30d38fbbf02894beecb4e902060082853e6ddce3a93a6846cce9e0fe +#+ocaml-fmt.556a3926ddb18e9f3ebdbf21598bc35efa3c34a1c89061811c39de7d72f6d00d #@untar:-j:sha256:ee97065ba41ce28f19dea9453c6bec4e0ef26165ad7394c4131ea0c65c0f06d5:. @@ -23,14 +23,14 @@ cd 'logs-0.9.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build \ - --with-cmdliner true \ +ocaml -I "$OCAMLPATH" pkg/pkg.ml build --with-cmdliner true \ --with-fmt true \ --with-js_of_ocaml-compiler false \ --with-lwt false \ --with-base-threads false + opam-installer -i \ --prefix="$dest" \ --libdir="$dest/library.ocaml" \ @@ -44,15 +44,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build \ cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/logs/META"]=1 x["./library.ocaml/logs/logs.a"]=1 x["./library.ocaml/logs/logs.cma"]=1 x["./library.ocaml/logs/logs.cmi"]=1 - # x["./library.ocaml/logs/logs.cmt"]=1 x["./library.ocaml/logs/logs.cmti"]=1 x["./library.ocaml/logs/logs.cmx"]=1 x["./library.ocaml/logs/logs.cmxa"]=1 - # x["./library.ocaml/logs/logs.cmxs"]=1 - # x["./library.ocaml/logs/logs.ml"]=1 x["./library.ocaml/logs/logs.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-lun b/variants/ccx-x86_64/ocaml-lun @@ -20,7 +20,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" -p lun -j "${JOBS:-1}" dune install \ @@ -43,15 +43,14 @@ dune runtest --build-dir=.testenv --no-buffer --verbose cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/lun/META"]=1 x["./library.ocaml/lun/lun.a"]=1 x["./library.ocaml/lun/lun.cma"]=1 x["./library.ocaml/lun/lun.cmi"]=1 - # x["./library.ocaml/lun/lun.cmt"]=1 x["./library.ocaml/lun/lun.cmti"]=1 x["./library.ocaml/lun/lun.cmx"]=1 x["./library.ocaml/lun/lun.cmxa"]=1 - # x["./library.ocaml/lun/lun.cmxs"]=1 - # x["./library.ocaml/lun/lun.ml"]=1 x["./library.ocaml/lun/lun.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-mtime b/variants/ccx-x86_64/ocaml-mtime @@ -8,7 +8,7 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 #@untar:-j:sha256:097cb2802e3701ead9572e1b483d5a28c6e2f0a39449faaf9b44ad8a89834d88:. @@ -20,7 +20,7 @@ cd 'mtime-2.1.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/mtime/META"]=1 x["./library.ocaml/mtime/mtime.a"]=1 x["./library.ocaml/mtime/mtime.cma"]=1 x["./library.ocaml/mtime/mtime.cmi"]=1 - # x["./library.ocaml/mtime/mtime.cmt"]=1 x["./library.ocaml/mtime/mtime.cmti"]=1 x["./library.ocaml/mtime/mtime.cmx"]=1 x["./library.ocaml/mtime/mtime.cmxa"]=1 - # x["./library.ocaml/mtime/mtime.cmxs"]=1 - # x["./library.ocaml/mtime/mtime.ml"]=1 x["./library.ocaml/mtime/mtime.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-ppx_derivers b/variants/ccx-x86_64/ocaml-ppx_derivers @@ -0,0 +1,109 @@ +#!/usr/bin/env pthbs-build +#+busybox.47c820e8cf3f700bf5b693d7d379272d485e5078b2036912ce2e01bb998caf1f +#+busybox-findutils.79fab8ce17646e27c958348822c367903ddbef44dcebb134d16caa4fc287b716 +#+busybox-awk.6efe6e8726ffa7c47dc117be114219675ccea315e4e29685e40a06b61d249f9b +#+busybox-diffutils.f40ac7713836b6eaa4e46db3b7577b533f4738fb10bf732edc044ffc48eb9ec8 +#+musl-cross-make.e4735d8572f9b6654a7381ebdfbd62e665d1d1da5e06a56923e89274cc6a510f +#+ocaml.b8790b4e31ab26a55165b60c745d8789addca32a91a851444cbf36abe8c19dc5 +#+dune.c0d42300ccdc7cde0eb62ac8076b599c1b8504fd53a02f3b433a5461d2b92b53 +#@untar:-z:sha256:b6595ee187dea792b31fc54a0e1524ab1e48bc6068d3066c45215a138cc73b95:. + + +# - build script start - + +prefix=/home/ccx/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppx_derivers-1.2.1' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppx_derivers" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppx_derivers/META"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.a"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cma"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmi"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmti"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmx"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmxa"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/ccx-x86_64/ocaml-ppx_deriving b/variants/ccx-x86_64/ocaml-ppx_deriving @@ -0,0 +1,110 @@ +#!/usr/bin/env pthbs-build +#+busybox.47c820e8cf3f700bf5b693d7d379272d485e5078b2036912ce2e01bb998caf1f +#+busybox-findutils.79fab8ce17646e27c958348822c367903ddbef44dcebb134d16caa4fc287b716 +#+busybox-awk.6efe6e8726ffa7c47dc117be114219675ccea315e4e29685e40a06b61d249f9b +#+busybox-diffutils.f40ac7713836b6eaa4e46db3b7577b533f4738fb10bf732edc044ffc48eb9ec8 +#+musl-cross-make.e4735d8572f9b6654a7381ebdfbd62e665d1d1da5e06a56923e89274cc6a510f +#+ocaml.b8790b4e31ab26a55165b60c745d8789addca32a91a851444cbf36abe8c19dc5 +#+dune.c0d42300ccdc7cde0eb62ac8076b599c1b8504fd53a02f3b433a5461d2b92b53 +#+ocaml-ppxlib.fb5b0bcf70106902cbaa1112d120507affdd1d85088ab03c7f465e8aa65d7234 +#@untar:-z:sha256:c91d1ea5e15e6928a2f8947dbd135b9f765cc0e2d72be271427981afcd350c24:. + + +# - build script start - + +prefix=/home/ccx/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppx_deriving-6.1.1' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppx_deriving" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppx_deriving/META"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.a"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cma"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmi"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmti"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmx"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmxa"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/ccx-x86_64/ocaml-ppxlib b/variants/ccx-x86_64/ocaml-ppxlib @@ -0,0 +1,110 @@ +#!/usr/bin/env pthbs-build +#+busybox.47c820e8cf3f700bf5b693d7d379272d485e5078b2036912ce2e01bb998caf1f +#+busybox-findutils.79fab8ce17646e27c958348822c367903ddbef44dcebb134d16caa4fc287b716 +#+busybox-awk.6efe6e8726ffa7c47dc117be114219675ccea315e4e29685e40a06b61d249f9b +#+busybox-diffutils.f40ac7713836b6eaa4e46db3b7577b533f4738fb10bf732edc044ffc48eb9ec8 +#+musl-cross-make.e4735d8572f9b6654a7381ebdfbd62e665d1d1da5e06a56923e89274cc6a510f +#+ocaml.b8790b4e31ab26a55165b60c745d8789addca32a91a851444cbf36abe8c19dc5 +#+dune.c0d42300ccdc7cde0eb62ac8076b599c1b8504fd53a02f3b433a5461d2b92b53 +#+ocaml-ppx_derivers.5ca2a68a6ac7c9091218af71829f52f68e2458953e86c072245892b3a956bda8 +#@untar:-j:sha256:2e223837e7cecc3bc84a432432c0a72f4e1d5be9165c9c33772f156db85db0b3:. + + +# - build script start - + +prefix=/home/ccx/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppxlib-0.37.0' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppxlib" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppxlib/META"]=1 + x["./library.ocaml/ppxlib/ppxlib.a"]=1 + x["./library.ocaml/ppxlib/ppxlib.cma"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmi"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmti"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmx"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmxa"]=1 + x["./library.ocaml/ppxlib/ppxlib.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/ccx-x86_64/ocaml-rresult b/variants/ccx-x86_64/ocaml-rresult @@ -8,7 +8,7 @@ #+ocaml-findlib.fe147b0c821388c1663dcf058bfea31504d7bdf2af5161104aa5a20f821446a9 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-topkg.c440f7f2689ef8ddaa0eceddf419d4d07f17675741ee871d9f017d268b91a1ef +#+ocaml-topkg.02b87c9d63261e49719f8b3122004e32fb434c900694e0825dee8f5676b2bbd8 #@untar:-j:sha256:11aa7f5b83460e60431e3154e3e32c071d46e151ea5760cf24377805bf975540:. @@ -20,7 +20,7 @@ cd 'rresult-0.7.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/rresult/META"]=1 x["./library.ocaml/rresult/rresult.a"]=1 x["./library.ocaml/rresult/rresult.cma"]=1 x["./library.ocaml/rresult/rresult.cmi"]=1 - # x["./library.ocaml/rresult/rresult.cmt"]=1 x["./library.ocaml/rresult/rresult.cmti"]=1 x["./library.ocaml/rresult/rresult.cmx"]=1 x["./library.ocaml/rresult/rresult.cmxa"]=1 - # x["./library.ocaml/rresult/rresult.cmxs"]=1 - # x["./library.ocaml/rresult/rresult.ml"]=1 x["./library.ocaml/rresult/rresult.mli"]=1 } diff --git a/variants/ccx-x86_64/ocaml-sexplib0 b/variants/ccx-x86_64/ocaml-sexplib0 @@ -20,7 +20,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" dune install \ diff --git a/variants/ccx-x86_64/ocaml-topkg b/variants/ccx-x86_64/ocaml-topkg @@ -35,15 +35,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build --dev-pkg true cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/topkg/META"]=1 x["./library.ocaml/topkg/topkg.a"]=1 x["./library.ocaml/topkg/topkg.cma"]=1 x["./library.ocaml/topkg/topkg.cmi"]=1 - # x["./library.ocaml/topkg/topkg.cmt"]=1 x["./library.ocaml/topkg/topkg.cmti"]=1 x["./library.ocaml/topkg/topkg.cmx"]=1 x["./library.ocaml/topkg/topkg.cmxa"]=1 - # x["./library.ocaml/topkg/topkg.cmxs"]=1 - # x["./library.ocaml/topkg/topkg.ml"]=1 x["./library.ocaml/topkg/topkg.mli"]=1 } diff --git a/variants/ccx-x86_64/wip.environment b/variants/ccx-x86_64/wip.environment @@ -2,7 +2,8 @@ #+ocaml.b8790b4e31ab26a55165b60c745d8789addca32a91a851444cbf36abe8c19dc5 #+dune.c0d42300ccdc7cde0eb62ac8076b599c1b8504fd53a02f3b433a5461d2b92b53 #+ocamlbuild.af1e7c1126b473143018d4844d1142ae30a23db6b8c435f28ba21bbe015b03f8 -#+ocaml-base.272f8c0c018709fe75a711836f3d935da930c83da384ba121988e7473dec7e24 +#+ocaml-base.a46e345fc77a744509c81fab460f9959057eed33230e22f48b27177bf62a0db6 #+opam.714997e34c97a27678ee9a24f03256bbda3ac9e44597b10f56c795f37a17e989 -#+ocaml-bos.b9293c57a447214dcbd24eb96a590c7184d9d64b43e31833e0ecf20875aa1b7c -#+ocaml-lun.a18931c62b041ec7344cc73f30f4cf02ab855b3011187be0eda53cac3bc1bd1f- \ No newline at end of file +#+ocaml-bos.f48bde6d519b44d74cedb6e034a1d2e2e2333b0fae628167c141d3c990272474 +#+ocaml-lun.105aabae0c78bab45839196b82d788b20ed86bd504653ff9754907b8eaa84b79 +#+ocaml-ppx_deriving.4020de4e0bfa13413b1e3ddd39560562c54573ca86f86bcb44ee28e31336414f+ \ No newline at end of file diff --git a/variants/root-x86_64/ocaml-astring b/variants/root-x86_64/ocaml-astring @@ -8,7 +8,7 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 #@untar:-j:sha256:865692630c07c3ab87c66cdfc2734c0fdfc9c34a57f8e89ffec7c7d15e7a70fa:. @@ -20,7 +20,7 @@ cd 'astring-0.8.5' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/astring/META"]=1 x["./library.ocaml/astring/astring.a"]=1 x["./library.ocaml/astring/astring.cma"]=1 x["./library.ocaml/astring/astring.cmi"]=1 - # x["./library.ocaml/astring/astring.cmt"]=1 x["./library.ocaml/astring/astring.cmti"]=1 x["./library.ocaml/astring/astring.cmx"]=1 x["./library.ocaml/astring/astring.cmxa"]=1 - # x["./library.ocaml/astring/astring.cmxs"]=1 - # x["./library.ocaml/astring/astring.ml"]=1 x["./library.ocaml/astring/astring.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-base b/variants/root-x86_64/ocaml-base @@ -7,7 +7,7 @@ #+ocaml.4b14d5c50c08207a0442af369f9995a12f6a15db8d8b0fd5247a982789fc3090 #+dune.95c82b3a7b7ca44addea06a8be851397ad92a3cb48b570829ef4e6509757ea02 #+ocaml_intrinsics_kernel.e74a8c4072d574aabd5c636d27c5c79d21310b47c01166721a9ff93879f37373 -#+ocaml-sexplib0.698077c9e66db4501a62e534e98c367fac64f25350ece28e8b99a7c7c91cb7db +#+ocaml-sexplib0.3626d02ae1d3673c0f1fbd67d7f4a646c0649e732f252f57e58b64da357f936e #@untar:-z:sha256:3f3f64789ab25bb5cb7f5f907dd651dec9cc9440981822fe75df6b94344b7208:. @@ -25,7 +25,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" dune install \ diff --git a/variants/root-x86_64/ocaml-bos b/variants/root-x86_64/ocaml-bos @@ -8,13 +8,13 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 -#+ocaml-astring.efdd25e49a36264acd969292ebed318c1c5c9a9ac87d6432689fa05d74ed750b -#+ocaml-fpath.406a982d259af5ce349b00db87cc30a1fa98fb992d86e6281a05128ccaa369e1 -#+ocaml-rresult.2bf80737a8c2e7fb74a4964eaddecac799b32c6e389064e0c19fbc07db68e687 -#+ocaml-fmt.27c928579ee8cbb67b165c7c832c51b2d19d7ba5aa403dd3ba5a7e81f5738d95 -#+ocaml-logs.89f26ff1cb50381127cb0573f49d0e42e1bd97a7454db5ab4f61dbe7c7a40e68 -#+ocaml-mtime.58ee1d2a6e5e2e7185a5fc9ffc1a2cfadf635806a55a961d6f44509de0a25e74 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 +#+ocaml-astring.61a44bbf87b9028ec9a584c6c3baaf7453e928226f440aa7e026ad43df6152b0 +#+ocaml-fpath.2dbe7653c03be630a9955e3a51b31bdbe04a366d5353b0cffcf6ea300587ab1b +#+ocaml-rresult.fe64418f0ba1d7ea507b862e8e00bac2debaf2a2eac843c7415b24279452046a +#+ocaml-fmt.71eb931df2f4fab7401f600b8d30ae220670ab363081b8af14865ae3afda080d +#+ocaml-logs.7feae98b115797af62c7a4068a21588b6d47b75e64ea68502b6d67b9389bddb4 +#+ocaml-mtime.5e39e28fd6487c7366e9a749f1c972afe13c72298899bd35d579f90f584e3245 #@untar:-j:sha256:d8d62e786b10d697e0457205a8eedeaa27ebcc90f1855f18df190cac2e3d8f37:. @@ -26,7 +26,7 @@ cd 'bos-0.2.1' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -42,15 +42,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/bos/META"]=1 x["./library.ocaml/bos/bos.a"]=1 x["./library.ocaml/bos/bos.cma"]=1 x["./library.ocaml/bos/bos.cmi"]=1 - # x["./library.ocaml/bos/bos.cmt"]=1 x["./library.ocaml/bos/bos.cmti"]=1 x["./library.ocaml/bos/bos.cmx"]=1 x["./library.ocaml/bos/bos.cmxa"]=1 - # x["./library.ocaml/bos/bos.cmxs"]=1 - # x["./library.ocaml/bos/bos.ml"]=1 x["./library.ocaml/bos/bos.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-cmdliner b/variants/root-x86_64/ocaml-cmdliner @@ -8,7 +8,7 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 #@untar:-j:sha256:4e547a631c36fbaadff60d3bd7724eb3f83ba274e92fb725950bae7868378582:. @@ -20,7 +20,7 @@ cd 'cmdliner-2.0.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/cmdliner/META"]=1 x["./library.ocaml/cmdliner/cmdliner.a"]=1 x["./library.ocaml/cmdliner/cmdliner.cma"]=1 x["./library.ocaml/cmdliner/cmdliner.cmi"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmt"]=1 x["./library.ocaml/cmdliner/cmdliner.cmti"]=1 x["./library.ocaml/cmdliner/cmdliner.cmx"]=1 x["./library.ocaml/cmdliner/cmdliner.cmxa"]=1 - # x["./library.ocaml/cmdliner/cmdliner.cmxs"]=1 - # x["./library.ocaml/cmdliner/cmdliner.ml"]=1 x["./library.ocaml/cmdliner/cmdliner.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-fmt b/variants/root-x86_64/ocaml-fmt @@ -8,8 +8,8 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 -#+ocaml-cmdliner.09fd939edba12db32abaaa689d5eea6cac869f674bc9846c6fd2fba84509b410 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 +#+ocaml-cmdliner.43c701024e3c24e36eed9192b4ae1ecb8f8aaaf069deea16837c43c5c8839454 #@untar:-j:sha256:857cfd47a54b52429cd9b3e2665e44173cd1bd3b435bece7172f984ad5376a1b:. @@ -21,7 +21,7 @@ cd 'fmt-0.11.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -37,15 +37,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/fmt/META"]=1 x["./library.ocaml/fmt/fmt.a"]=1 x["./library.ocaml/fmt/fmt.cma"]=1 x["./library.ocaml/fmt/fmt.cmi"]=1 - # x["./library.ocaml/fmt/fmt.cmt"]=1 x["./library.ocaml/fmt/fmt.cmti"]=1 x["./library.ocaml/fmt/fmt.cmx"]=1 x["./library.ocaml/fmt/fmt.cmxa"]=1 - # x["./library.ocaml/fmt/fmt.cmxs"]=1 - # x["./library.ocaml/fmt/fmt.ml"]=1 x["./library.ocaml/fmt/fmt.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-fpath b/variants/root-x86_64/ocaml-fpath @@ -8,8 +8,8 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 -#+ocaml-astring.efdd25e49a36264acd969292ebed318c1c5c9a9ac87d6432689fa05d74ed750b +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 +#+ocaml-astring.61a44bbf87b9028ec9a584c6c3baaf7453e928226f440aa7e026ad43df6152b0 #@untar:-j:sha256:12b08ff192d037d9b6d69e9ca19d1d385184f20b3237c27231e437ac81ace70f:. @@ -21,7 +21,7 @@ cd 'fpath-0.7.3' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -37,15 +37,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/fpath/META"]=1 x["./library.ocaml/fpath/fpath.a"]=1 x["./library.ocaml/fpath/fpath.cma"]=1 x["./library.ocaml/fpath/fpath.cmi"]=1 - # x["./library.ocaml/fpath/fpath.cmt"]=1 x["./library.ocaml/fpath/fpath.cmti"]=1 x["./library.ocaml/fpath/fpath.cmx"]=1 x["./library.ocaml/fpath/fpath.cmxa"]=1 - # x["./library.ocaml/fpath/fpath.cmxs"]=1 - # x["./library.ocaml/fpath/fpath.ml"]=1 x["./library.ocaml/fpath/fpath.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-logs b/variants/root-x86_64/ocaml-logs @@ -8,10 +8,10 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 -#+ocaml-mtime.58ee1d2a6e5e2e7185a5fc9ffc1a2cfadf635806a55a961d6f44509de0a25e74 -#+ocaml-cmdliner.09fd939edba12db32abaaa689d5eea6cac869f674bc9846c6fd2fba84509b410 -#+ocaml-fmt.27c928579ee8cbb67b165c7c832c51b2d19d7ba5aa403dd3ba5a7e81f5738d95 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 +#+ocaml-mtime.5e39e28fd6487c7366e9a749f1c972afe13c72298899bd35d579f90f584e3245 +#+ocaml-cmdliner.43c701024e3c24e36eed9192b4ae1ecb8f8aaaf069deea16837c43c5c8839454 +#+ocaml-fmt.71eb931df2f4fab7401f600b8d30ae220670ab363081b8af14865ae3afda080d #@untar:-j:sha256:ee97065ba41ce28f19dea9453c6bec4e0ef26165ad7394c4131ea0c65c0f06d5:. @@ -23,14 +23,14 @@ cd 'logs-0.9.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build \ - --with-cmdliner true \ +ocaml -I "$OCAMLPATH" pkg/pkg.ml build --with-cmdliner true \ --with-fmt true \ --with-js_of_ocaml-compiler false \ --with-lwt false \ --with-base-threads false + opam-installer -i \ --prefix="$dest" \ --libdir="$dest/library.ocaml" \ @@ -44,15 +44,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build \ cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/logs/META"]=1 x["./library.ocaml/logs/logs.a"]=1 x["./library.ocaml/logs/logs.cma"]=1 x["./library.ocaml/logs/logs.cmi"]=1 - # x["./library.ocaml/logs/logs.cmt"]=1 x["./library.ocaml/logs/logs.cmti"]=1 x["./library.ocaml/logs/logs.cmx"]=1 x["./library.ocaml/logs/logs.cmxa"]=1 - # x["./library.ocaml/logs/logs.cmxs"]=1 - # x["./library.ocaml/logs/logs.ml"]=1 x["./library.ocaml/logs/logs.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-lun b/variants/root-x86_64/ocaml-lun @@ -20,7 +20,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" -p lun -j "${JOBS:-1}" dune install \ @@ -43,15 +43,14 @@ dune runtest --build-dir=.testenv --no-buffer --verbose cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/lun/META"]=1 x["./library.ocaml/lun/lun.a"]=1 x["./library.ocaml/lun/lun.cma"]=1 x["./library.ocaml/lun/lun.cmi"]=1 - # x["./library.ocaml/lun/lun.cmt"]=1 x["./library.ocaml/lun/lun.cmti"]=1 x["./library.ocaml/lun/lun.cmx"]=1 x["./library.ocaml/lun/lun.cmxa"]=1 - # x["./library.ocaml/lun/lun.cmxs"]=1 - # x["./library.ocaml/lun/lun.ml"]=1 x["./library.ocaml/lun/lun.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-mtime b/variants/root-x86_64/ocaml-mtime @@ -8,7 +8,7 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 #@untar:-j:sha256:097cb2802e3701ead9572e1b483d5a28c6e2f0a39449faaf9b44ad8a89834d88:. @@ -20,7 +20,7 @@ cd 'mtime-2.1.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/mtime/META"]=1 x["./library.ocaml/mtime/mtime.a"]=1 x["./library.ocaml/mtime/mtime.cma"]=1 x["./library.ocaml/mtime/mtime.cmi"]=1 - # x["./library.ocaml/mtime/mtime.cmt"]=1 x["./library.ocaml/mtime/mtime.cmti"]=1 x["./library.ocaml/mtime/mtime.cmx"]=1 x["./library.ocaml/mtime/mtime.cmxa"]=1 - # x["./library.ocaml/mtime/mtime.cmxs"]=1 - # x["./library.ocaml/mtime/mtime.ml"]=1 x["./library.ocaml/mtime/mtime.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-ppx_derivers b/variants/root-x86_64/ocaml-ppx_derivers @@ -0,0 +1,109 @@ +#!/usr/bin/env pthbs-build +#+busybox.05cde6bebcef146cc4de9201c82e0ef427702cc3bfe1acb48c0587542ba53002 +#+busybox-findutils.2c87d98d861d724e141128f395bed58e70601468aee2a192d77d5791d83772b7 +#+busybox-awk.a5b9d5a1c719361e565a642a57d44356c26855fb0eda30c03eaf582ba6c3194b +#+busybox-diffutils.977bc00da27e0150d3b3d395fe42cf24e0364b03390cab81002f27b34158d9fc +#+musl-cross-make.ef7f483eefcad5b8f2d6c8329e61a0acaca7864b88e9521cb839392c62f45676 +#+ocaml.4b14d5c50c08207a0442af369f9995a12f6a15db8d8b0fd5247a982789fc3090 +#+dune.95c82b3a7b7ca44addea06a8be851397ad92a3cb48b570829ef4e6509757ea02 +#@untar:-z:sha256:b6595ee187dea792b31fc54a0e1524ab1e48bc6068d3066c45215a138cc73b95:. + + +# - build script start - + +prefix=/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppx_derivers-1.2.1' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppx_derivers" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppx_derivers/META"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.a"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cma"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmi"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmti"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmx"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.cmxa"]=1 + x["./library.ocaml/ppx_derivers/ppx_derivers.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/root-x86_64/ocaml-ppx_deriving b/variants/root-x86_64/ocaml-ppx_deriving @@ -0,0 +1,110 @@ +#!/usr/bin/env pthbs-build +#+busybox.05cde6bebcef146cc4de9201c82e0ef427702cc3bfe1acb48c0587542ba53002 +#+busybox-findutils.2c87d98d861d724e141128f395bed58e70601468aee2a192d77d5791d83772b7 +#+busybox-awk.a5b9d5a1c719361e565a642a57d44356c26855fb0eda30c03eaf582ba6c3194b +#+busybox-diffutils.977bc00da27e0150d3b3d395fe42cf24e0364b03390cab81002f27b34158d9fc +#+musl-cross-make.ef7f483eefcad5b8f2d6c8329e61a0acaca7864b88e9521cb839392c62f45676 +#+ocaml.4b14d5c50c08207a0442af369f9995a12f6a15db8d8b0fd5247a982789fc3090 +#+dune.95c82b3a7b7ca44addea06a8be851397ad92a3cb48b570829ef4e6509757ea02 +#+ocaml-ppxlib.ac12cd2608a7baa3ef609d829bb2a94f2f6f28491769106e855aa90d5de5e031 +#@untar:-z:sha256:c91d1ea5e15e6928a2f8947dbd135b9f765cc0e2d72be271427981afcd350c24:. + + +# - build script start - + +prefix=/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppx_deriving-6.1.1' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppx_deriving" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppx_deriving/META"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.a"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cma"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmi"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmti"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmx"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.cmxa"]=1 + x["./library.ocaml/ppx_deriving/api/ppx_deriving.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/root-x86_64/ocaml-ppxlib b/variants/root-x86_64/ocaml-ppxlib @@ -0,0 +1,110 @@ +#!/usr/bin/env pthbs-build +#+busybox.05cde6bebcef146cc4de9201c82e0ef427702cc3bfe1acb48c0587542ba53002 +#+busybox-findutils.2c87d98d861d724e141128f395bed58e70601468aee2a192d77d5791d83772b7 +#+busybox-awk.a5b9d5a1c719361e565a642a57d44356c26855fb0eda30c03eaf582ba6c3194b +#+busybox-diffutils.977bc00da27e0150d3b3d395fe42cf24e0364b03390cab81002f27b34158d9fc +#+musl-cross-make.ef7f483eefcad5b8f2d6c8329e61a0acaca7864b88e9521cb839392c62f45676 +#+ocaml.4b14d5c50c08207a0442af369f9995a12f6a15db8d8b0fd5247a982789fc3090 +#+dune.95c82b3a7b7ca44addea06a8be851397ad92a3cb48b570829ef4e6509757ea02 +#+ocaml-ppx_derivers.434b2183caf47f2c3879acc89fa4251dcfef41d797dfe4ccabd9fe4fd3414af7 +#@untar:-j:sha256:2e223837e7cecc3bc84a432432c0a72f4e1d5be9165c9c33772f156db85db0b3:. + + +# - build script start - + +prefix=/versions/$pthbs_package +dest=${pthbs_destdir%/}${prefix} +cd 'ppxlib-0.37.0' + + +export DUNE_CACHE=disabled + + + +dune build --release --no-buffer --verbose -j "${JOBS:-1}" + + +dune install \ + --destdir="$pthbs_destdir" \ + --prefix="$prefix" \ + --libdir="$prefix/library.ocaml" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --etcdir="$prefix/config/etc" \ + --mandir="$prefix/man" \ + --docdir="$prefix/doc/ocaml-ppxlib" \ + --datadir="$prefix/data" \ + + + +dune runtest --build-dir=.testenv --no-buffer --verbose + + + +cd "$pthbs_destdir/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + + x["./library.ocaml/ppxlib/META"]=1 + x["./library.ocaml/ppxlib/ppxlib.a"]=1 + x["./library.ocaml/ppxlib/ppxlib.cma"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmi"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmti"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmx"]=1 + x["./library.ocaml/ppxlib/ppxlib.cmxa"]=1 + x["./library.ocaml/ppxlib/ppxlib.mli"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "library.ocaml" { link($0); next } + +$2 == "config" { link($0); next } +$2 == "keys" { link($0); next } +$2 == "zsh" { link($0); next } +$2 == "env" { link($0); next } +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(\..*)?$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } +$2 == "data" { link($0); next } +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links + diff --git a/variants/root-x86_64/ocaml-rresult b/variants/root-x86_64/ocaml-rresult @@ -8,7 +8,7 @@ #+ocaml-findlib.904b5d142efa177bbf52240eab6c0c12939c379ef5aea4d3f2c39302d1a34522 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-topkg.5bf44aba09f15368614c9fadd8aed1698398a912cc215fca27bbe65284e64b47 +#+ocaml-topkg.80bea899d973cda9b05bac07f0146e4fb07cc61f6482ce028db24ae3f14555d5 #@untar:-j:sha256:11aa7f5b83460e60431e3154e3e32c071d46e151ea5760cf24377805bf975540:. @@ -20,7 +20,7 @@ cd 'rresult-0.7.0' -ocaml -I "$OCAMLPATH" pkg/pkg.ml build +ocaml -I "$OCAMLPATH" pkg/pkg.ml build opam-installer -i \ @@ -36,15 +36,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/rresult/META"]=1 x["./library.ocaml/rresult/rresult.a"]=1 x["./library.ocaml/rresult/rresult.cma"]=1 x["./library.ocaml/rresult/rresult.cmi"]=1 - # x["./library.ocaml/rresult/rresult.cmt"]=1 x["./library.ocaml/rresult/rresult.cmti"]=1 x["./library.ocaml/rresult/rresult.cmx"]=1 x["./library.ocaml/rresult/rresult.cmxa"]=1 - # x["./library.ocaml/rresult/rresult.cmxs"]=1 - # x["./library.ocaml/rresult/rresult.ml"]=1 x["./library.ocaml/rresult/rresult.mli"]=1 } diff --git a/variants/root-x86_64/ocaml-sexplib0 b/variants/root-x86_64/ocaml-sexplib0 @@ -20,7 +20,7 @@ export DUNE_CACHE=disabled -dune build --release --no-buffer --verbose -j "${JOBS:-1}" +dune build --release --no-buffer --verbose -j "${JOBS:-1}" dune install \ diff --git a/variants/root-x86_64/ocaml-topkg b/variants/root-x86_64/ocaml-topkg @@ -35,15 +35,14 @@ ocaml -I "$OCAMLPATH" pkg/pkg.ml build --dev-pkg true cd "$pthbs_destdir/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + + x["./library.ocaml/topkg/META"]=1 x["./library.ocaml/topkg/topkg.a"]=1 x["./library.ocaml/topkg/topkg.cma"]=1 x["./library.ocaml/topkg/topkg.cmi"]=1 - # x["./library.ocaml/topkg/topkg.cmt"]=1 x["./library.ocaml/topkg/topkg.cmti"]=1 x["./library.ocaml/topkg/topkg.cmx"]=1 x["./library.ocaml/topkg/topkg.cmxa"]=1 - # x["./library.ocaml/topkg/topkg.cmxs"]=1 - # x["./library.ocaml/topkg/topkg.ml"]=1 x["./library.ocaml/topkg/topkg.mli"]=1 } diff --git a/variants/root-x86_64/wip.environment b/variants/root-x86_64/wip.environment @@ -2,7 +2,8 @@ #+ocaml.4b14d5c50c08207a0442af369f9995a12f6a15db8d8b0fd5247a982789fc3090 #+dune.95c82b3a7b7ca44addea06a8be851397ad92a3cb48b570829ef4e6509757ea02 #+ocamlbuild.7dbc10e2fcb4197fa855b0d7ac0932a3c7920e53535a080407d725092501ef20 -#+ocaml-base.9596755e6c311be0e4feaa6fec52595088e660c546c5847d36af0fe0c6688a44 +#+ocaml-base.b6f06195398ec855401b5525bf98c95a7579081c1a110fafb65fde664ced8fd4 #+opam.41ab4229b7606047164bfc9b9077da4555831edd67cf82d236ba1c6059bb9b96 -#+ocaml-bos.ac2d7a08a8dda7a96a86e556a6a7cf2fcee42abb0caa097331ddc0e8c9d5b89b -#+ocaml-lun.26d1026d55070b2636a5b3a2e1b10ae15c997bdeb2e455a2cd635eef71ac612b- \ No newline at end of file +#+ocaml-bos.c2747b73ddecbe1a271975c98b5b2cde1bd9da2a2e395ca2ab8b442dd8decbea +#+ocaml-lun.4d3df69287b94aaeeae796f124e3de9a305990a7f2614aa5ae5df5a2c996d6e2 +#+ocaml-ppx_deriving.9c9e0372b4383da835faf9c17ef89b49b933c7fc32e9fce2f1d39e1e0a3490cb+ \ No newline at end of file