Fixes for jbuilder.1.0.0-beta18
This commit is contained in:
parent
76a59af376
commit
a405eb2d0e
@ -26,7 +26,7 @@
|
|||||||
(libraries (tezos-base
|
(libraries (tezos-base
|
||||||
tezos-protocol-environment-sigs
|
tezos-protocol-environment-sigs
|
||||||
tezos-stdlib-unix
|
tezos-stdlib-unix
|
||||||
compiler-libs
|
compiler-libs.common
|
||||||
lwt.unix
|
lwt.unix
|
||||||
ocplib-endian
|
ocplib-endian
|
||||||
ocplib-ocamlres
|
ocplib-ocamlres
|
||||||
|
@ -22,7 +22,9 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
((targets (environment.ml))
|
((targets (environment.ml))
|
||||||
(action
|
(action
|
||||||
(write-file ${@@}
|
(write-file ${@@}
|
||||||
"include Tezos_protocol_environment_shell.MakeV1(struct let name = \"%s\" end)()"))))
|
"include Tezos_protocol_environment_shell.MakeV1(struct let name = \"%s\" end)()
|
||||||
|
module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end
|
||||||
|
"))))
|
||||||
|
|
||||||
(rule
|
(rule
|
||||||
((targets (registerer.ml))
|
((targets (registerer.ml))
|
||||||
@ -42,6 +44,7 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
((name tezos_embedded_raw_protocol_%s)
|
((name tezos_embedded_raw_protocol_%s)
|
||||||
(public_name tezos-embedded-protocol-%s.raw)
|
(public_name tezos-embedded-protocol-%s.raw)
|
||||||
(libraries (tezos_embedded_protocol_environment_%s))
|
(libraries (tezos_embedded_protocol_environment_%s))
|
||||||
|
(flags (:standard))
|
||||||
(library_flags (:standard -linkall))
|
(library_flags (:standard -linkall))
|
||||||
(flags (:standard -nopervasives -nostdlib -safe-string
|
(flags (:standard -nopervasives -nostdlib -safe-string
|
||||||
-w +a-4-6-7-9-29-32-40..42-44-45-48
|
-w +a-4-6-7-9-29-32-40..42-44-45-48
|
||||||
|
@ -55,14 +55,14 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
|
|
||||||
(rule
|
(rule
|
||||||
((targets (tezos_protocol_%s.cmo
|
((targets (tezos_protocol_%s.cmo
|
||||||
tezos_protocol_%s.cmi
|
|
||||||
tezos_protocol_%s_dummy_byte.ml))
|
tezos_protocol_%s_dummy_byte.ml))
|
||||||
(deps ((glob_files src/*.ml*)
|
(deps ((glob_files src/*.ml*)
|
||||||
src/TEZOS_PROTOCOL))
|
src/TEZOS_PROTOCOL))
|
||||||
(locks (tezos_protocol_%s.cmi))
|
|
||||||
(action (with-stdout-to ${path-no-dep:tezos_protocol_%s_dummy_byte.ml}
|
(action (with-stdout-to ${path-no-dep:tezos_protocol_%s_dummy_byte.ml}
|
||||||
(chdir ${ROOT}
|
(progn
|
||||||
(run ${bin:tezos-protocol-compiler-byte} -static -output-dep ${path-no-dep:tezos_protocol_%s} ${path-no-dep:src}))))))
|
(chdir ${ROOT}
|
||||||
|
(run ${bin:tezos-protocol-compiler-byte} -static -output-dep ${path-no-dep:.tezos_protocol_%s_byte.objs/tezos_protocol_%s} ${path-no-dep:src}))
|
||||||
|
(run ln -s .tezos_protocol_%s_byte.objs/tezos_protocol_%s.cmo tezos_protocol_%s.cmo))))))
|
||||||
|
|
||||||
(rule
|
(rule
|
||||||
((targets (tezos_protocol_%s.o
|
((targets (tezos_protocol_%s.o
|
||||||
@ -71,10 +71,12 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
(deps ((glob_files src/*.ml)
|
(deps ((glob_files src/*.ml)
|
||||||
(glob_files src/*.mli)
|
(glob_files src/*.mli)
|
||||||
src/TEZOS_PROTOCOL))
|
src/TEZOS_PROTOCOL))
|
||||||
(locks (tezos_protocol_%s.cmi))
|
|
||||||
(action (with-stdout-to ${path-no-dep:tezos_protocol_%s_dummy.ml}
|
(action (with-stdout-to ${path-no-dep:tezos_protocol_%s_dummy.ml}
|
||||||
(chdir ${ROOT}
|
(progn
|
||||||
(run ${bin:tezos-protocol-compiler} -static -output-dep ${path-no-dep:tezos_protocol_%s} ${path-no-dep:src}))))))
|
(chdir ${ROOT}
|
||||||
|
(run ${bin:tezos-protocol-compiler} -static -output-dep ${path-no-dep:.tezos_protocol_%s.objs/tezos_protocol_%s} ${path-no-dep:src}))
|
||||||
|
(run ln -s .tezos_protocol_%s.objs/tezos_protocol_%s.o tezos_protocol_%s.o)
|
||||||
|
(run ln -s .tezos_protocol_%s.objs/tezos_protocol_%s.cmx tezos_protocol_%s.cmx))))))
|
||||||
|
|
||||||
(library
|
(library
|
||||||
((name tezos_protocol_%s)
|
((name tezos_protocol_%s)
|
||||||
@ -96,7 +98,7 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
|
|
||||||
(install
|
(install
|
||||||
((section lib)
|
((section lib)
|
||||||
(files ("tezos_protocol_%s.cmx" "tezos_protocol_%s.cmi"))
|
(files (tezos_protocol_%s.cmx tezos_protocol_%s.cmi))
|
||||||
(package tezos-protocol-%s)))
|
(package tezos-protocol-%s)))
|
||||||
|
|
||||||
(alias
|
(alias
|
||||||
@ -112,11 +114,13 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
|
|||||||
version version version version
|
version version version version
|
||||||
version version version version
|
version version version version
|
||||||
version version version version
|
version version version version
|
||||||
version version
|
version version version version
|
||||||
path version
|
version version version version
|
||||||
version version version
|
version version version version
|
||||||
path version
|
path
|
||||||
version version version
|
version version version version
|
||||||
|
path
|
||||||
|
version version version version
|
||||||
version version
|
version version
|
||||||
Format.(pp_print_list (fun ppf -> Format.fprintf ppf "%S"))
|
Format.(pp_print_list (fun ppf -> Format.fprintf ppf "%S"))
|
||||||
sources
|
sources
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
tezos-client-commands
|
tezos-client-commands
|
||||||
tezos-rpc))
|
tezos-rpc))
|
||||||
(library_flags (:standard -linkall))
|
(library_flags (:standard -linkall))
|
||||||
(modules (:standard \ client_baking_commands client_baking_commands_registration main_alpha_baker))
|
(modules (:standard \ client_baking_commands client_baking_commands_registration))
|
||||||
(flags (:standard -w -9+27-30-32-40@8
|
(flags (:standard -w -9+27-30-32-40@8
|
||||||
-safe-string
|
-safe-string
|
||||||
-open Tezos_base__TzPervasives
|
-open Tezos_base__TzPervasives
|
||||||
|
2
vendors/ocplib-resto/lib_resto/jbuild
vendored
2
vendors/ocplib-resto/lib_resto/jbuild
vendored
@ -4,5 +4,5 @@
|
|||||||
((name resto)
|
((name resto)
|
||||||
(public_name ocplib-resto)
|
(public_name ocplib-resto)
|
||||||
(flags (-w -30 -safe-string))
|
(flags (-w -30 -safe-string))
|
||||||
(libraries ("uri"))
|
(libraries (uri))
|
||||||
(wrapped false)))
|
(wrapped false)))
|
||||||
|
Loading…
Reference in New Issue
Block a user