diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:53:56 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:53:56 +0000 |
commit | 272c9cceae7f4d2e005d2a8637b7a5e55556929a (patch) | |
tree | b7ddcae8099d4ea922abe3573f6acf65755127ff /devel | |
parent | b9cbc0045425ab03d864edf6f490646d4bcd8590 (diff) | |
download | pkgsrc-272c9cceae7f4d2e005d2a8637b7a5e55556929a.tar.gz |
Added devel/ocaml-ppx_module_timer, recording module startup times.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppx_module_timer/DESCR | 4 | ||||
-rw-r--r-- | devel/ocaml-ppx_module_timer/Makefile | 24 | ||||
-rw-r--r-- | devel/ocaml-ppx_module_timer/PLIST | 26 | ||||
-rw-r--r-- | devel/ocaml-ppx_module_timer/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-ppx_module_timer/distinfo | 6 |
5 files changed, 73 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_module_timer/DESCR b/devel/ocaml-ppx_module_timer/DESCR new file mode 100644 index 00000000000..d9cef229810 --- /dev/null +++ b/devel/ocaml-ppx_module_timer/DESCR @@ -0,0 +1,4 @@ +A ppx extension to record module startup times. + +Modules using ppx_module_timer now have instrumentation to record their startup +time. diff --git a/devel/ocaml-ppx_module_timer/Makefile b/devel/ocaml-ppx_module_timer/Makefile new file mode 100644 index 00000000000..f3d1d9336a9 --- /dev/null +++ b/devel/ocaml-ppx_module_timer/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2019/03/13 11:53:56 jaapb Exp $ + +GITHUB_PROJECT= ppx_module_timer +GITHUB_TAG= v${PKGVERSION_NOREV} +DISTNAME= ${GITHUB_PROJECT}-0.12.0 +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/janestreet/ppx_module_timer/ +COMMENT= PPX rewriter that records top-level module startup times +LICENSE= mit + +USE_LANGUAGES= # none +OCAML_USE_DUNE= yes + +.include "../../devel/ocaml-base/buildlink3.mk" +.include "../../devel/ocaml-ppx_base/buildlink3.mk" +.include "../../devel/ocaml-ppxlib/buildlink3.mk" +.include "../../devel/ocaml-stdio/buildlink3.mk" +.include "../../time/ocaml-time_now/buildlink3.mk" +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppx_module_timer/PLIST b/devel/ocaml-ppx_module_timer/PLIST new file mode 100644 index 00000000000..934c7aadc09 --- /dev/null +++ b/devel/ocaml-ppx_module_timer/PLIST @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:53:56 jaapb Exp $ +${OCAML_SITELIB}/ppx_module_timer/META +${OCAML_SITELIB}/ppx_module_timer/dune-package +${OCAML_SITELIB}/ppx_module_timer/opam +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.a +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cma +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmi +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmt +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.cmxs +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.ml +${OCAML_SITELIB}/ppx_module_timer/ppx_module_timer.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.a +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cma +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmi +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmt +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxs +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.ml +${OCAML_SITELIB}/ppx_module_timer/runtime/ppx_module_timer_runtime.mli +share/doc/ppx_module_timer/LICENSE.md +share/doc/ppx_module_timer/README.md diff --git a/devel/ocaml-ppx_module_timer/buildlink3.mk b/devel/ocaml-ppx_module_timer/buildlink3.mk new file mode 100644 index 00000000000..ae17aedbc5a --- /dev/null +++ b/devel/ocaml-ppx_module_timer/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:53:56 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppx_module_timer + +.if !defined(OCAML_PPX_MODULE_TIMER_BUILDLINK3_MK) +OCAML_PPX_MODULE_TIMER_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppx_module_timer+= ocaml-ppx_module_timer>=0.12.0 +BUILDLINK_PKGSRCDIR.ocaml-ppx_module_timer?= ../../devel/ocaml-ppx_module_timer + +.endif # OCAML_PPX_MODULE_TIMER_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppx_module_timer diff --git a/devel/ocaml-ppx_module_timer/distinfo b/devel/ocaml-ppx_module_timer/distinfo new file mode 100644 index 00000000000..6de78feaf8c --- /dev/null +++ b/devel/ocaml-ppx_module_timer/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/03/13 11:53:56 jaapb Exp $ + +SHA1 (ppx_module_timer-0.12.0.tar.gz) = 5db57a5330b76613a78b5d01d331e1064fcee588 +RMD160 (ppx_module_timer-0.12.0.tar.gz) = 862e4bb7dd99e73fd6108474d34b794645bc2e79 +SHA512 (ppx_module_timer-0.12.0.tar.gz) = 1cbddad452d14ec1b8af9a9d330d09e01dca59502399d53f8c246570860ae631c22e6c49d300a1e92ca503665aa8ba62a49f6a9446d0d7176d5064a593b892e1 +Size (ppx_module_timer-0.12.0.tar.gz) = 5678 bytes |