0a7f9a39a9
This is a rewrite of the build system with `jbuilder`, with just a minimal toplevel Makefile for backward compatibility. This first patch preserves the project architecture, we only gain proper dependencies handling and always up-to-date `.merlin` files. A latter patch may split the project in smaller "sub-package", i.e. multiple `.opam` files. The embedded versions of the economic protocol are now compiled with `jbuilder` instead of `tezos-protocol-compiler`, potentially allowing proper inlining at the cost of slightly-less-stricter sandboxing. Nevertheless, dynamically loaded protocol are still compiled with the `tezos-protocol-compiler` and thus strictly sandboxed ; and a CI rule also checks the proper sandboxing of embedded protocols. This patch is coauthored with @hnrgrgr
43 lines
910 B
Plaintext
43 lines
910 B
Plaintext
opam-version: "1.2"
|
|
version: "dev"
|
|
maintainer: "contact@tezos.com"
|
|
authors: [ "Tezos devteam" ]
|
|
homepage: "https://www.tezos.com/"
|
|
bug-reports: "https://gitlab.com/tezos/tezos/issues"
|
|
dev-repo: "https://gitlab.com/tezos/tezos.git"
|
|
license: "unreleased"
|
|
depends: [
|
|
"ocamlfind" {build}
|
|
"jbuilder" {build}
|
|
"base-bigarray"
|
|
"base-threads"
|
|
"conf-libev"
|
|
"calendar"
|
|
"cohttp" { >= "0.21" }
|
|
"conduit"
|
|
"ezjsonm" { >= "0.5.0" }
|
|
"git"
|
|
"git-unix"
|
|
"irmin" { >= "1.3" }
|
|
"irmin-unix" { >= "1.3" }
|
|
"lwt" { >= "3.0.0" }
|
|
"lwt_ssl"
|
|
"menhir"
|
|
"mtime" { >= "1.0.0" }
|
|
"ocp-ocamlres" { >= "dev" }
|
|
"ocplib-endian"
|
|
"ocplib-json-typed"
|
|
"ocplib-resto" { >= "dev" }
|
|
"reactiveData"
|
|
"sodium" { >= "0.3.0" }
|
|
"magic-mime"
|
|
"leveldb" { >= "1.1.2" }
|
|
"kaputt" # { test }
|
|
"bisect_ppx" # { test }
|
|
]
|
|
build: [
|
|
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
|
]
|
|
build-test: [
|
|
[ "jbuilder" "runtest" ]
|
|
] |