Skip to content

Instantly share code, notes, and snippets.

@tjammer
Created July 7, 2021 19:17
Show Gist options
  • Save tjammer/a97bb147c51e0033c4b6f4418435f6b9 to your computer and use it in GitHub Desktop.
Save tjammer/a97bb147c51e0033c4b6f4418435f6b9 to your computer and use it in GitHub Desktop.
dune build @doc --verbose
Workspace root: /tmp/tmp.0IWmErLMog
Running[0]: /usr/bin/nproc > /tmp/duneaa83be.output 2> /dev/null
Auto-detected concurrency: 4
disable binary cache
Running[1]: /home/tobi/.opam/4.12-fp/bin/ocamlc.opt -config > /tmp/dunec209bb.output
Dune context:
{ name = "default"
; kind = "default"
; profile = Dyn
; merlin = true
; for_host = None
; fdo_target_exe = None
; build_dir = "default"
; toplevel_path = Some External "/home/tobi/.opam/4.12-fp/lib/toplevel"
; ocaml_bin = External "/home/tobi/.opam/4.12-fp/bin"
; ocaml = Ok External "/home/tobi/.opam/4.12-fp/bin/ocaml"
; ocamlc = External "/home/tobi/.opam/4.12-fp/bin/ocamlc.opt"
; ocamlopt = Ok External "/home/tobi/.opam/4.12-fp/bin/ocamlopt.opt"
; ocamldep = Ok External "/home/tobi/.opam/4.12-fp/bin/ocamldep.opt"
; ocamlmklib = Ok External "/home/tobi/.opam/4.12-fp/bin/ocamlmklib.opt"
; env =
map
{ "DUNE_OCAML_HARDCODED" : "/home/tobi/.opam/4.12-fp/lib"
; "DUNE_OCAML_STDLIB" : "/home/tobi/.opam/4.12-fp/lib64"
; "DUNE_SOURCEROOT" : "/tmp/tmp.0IWmErLMog"
; "INSIDE_DUNE" : "/tmp/tmp.0IWmErLMog/_build/default"
; "OCAMLFIND_IGNORE_DUPS_IN" :
"/tmp/tmp.0IWmErLMog/_build/install/default/lib"
; "OCAMLPATH" : "/tmp/tmp.0IWmErLMog/_build/install/default/lib"
; "OCAMLTOP_INCLUDE_PATH" :
"/tmp/tmp.0IWmErLMog/_build/install/default/lib/toplevel"
}
; findlib_path = [ External "/home/tobi/.opam/4.12-fp/lib" ]
; arch_sixtyfour = true
; natdynlink_supported = true
; supports_shared_libraries = true
; ocaml_config =
{ version = "4.12.0"
; standard_library_default = "/home/tobi/.opam/4.12-fp/lib64"
; standard_library = "/home/tobi/.opam/4.12-fp/lib64"
; standard_runtime = "the_standard_runtime_variable_was_deleted"
; ccomp_type = "cc"
; c_compiler = "gcc"
; ocamlc_cflags =
[ "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-g"
; "-fno-omit-frame-pointer"
; "-fPIC"
]
; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT" ]
; ocamlopt_cflags =
[ "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-g"
; "-fno-omit-frame-pointer"
; "-fPIC"
]
; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-D_REENTRANT" ]
; bytecomp_c_compiler =
[ "gcc"
; "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-g"
; "-fno-omit-frame-pointer"
; "-fPIC"
; "-D_FILE_OFFSET_BITS=64"
; "-D_REENTRANT"
]
; bytecomp_c_libraries = [ "-lm"; "-ldl"; "-lpthread" ]
; native_c_compiler =
[ "gcc"
; "-O2"
; "-fno-strict-aliasing"
; "-fwrapv"
; "-g"
; "-fno-omit-frame-pointer"
; "-fPIC"
; "-D_FILE_OFFSET_BITS=64"
; "-D_REENTRANT"
]
; native_c_libraries = [ "-lm"; "-ldl" ]
; cc_profile = []
; architecture = "amd64"
; model = "default"
; int_size = 63
; word_size = 64
; system = "linux"
; asm = [ "as" ]
; asm_cfi_supported = true
; with_frame_pointers = true
; ext_exe = ""
; ext_obj = ".o"
; ext_asm = ".s"
; ext_lib = ".a"
; ext_dll = ".so"
; os_type = "Unix"
; default_executable_name = "a.out"
; systhread_supported = true
; host = "x86_64-pc-linux-gnu"
; target = "x86_64-pc-linux-gnu"
; profiling = false
; flambda = false
; spacetime = false
; safe_string = true
; exec_magic_number = "Caml1999X029"
; cmi_magic_number = "Caml1999I029"
; cmo_magic_number = "Caml1999O029"
; cma_magic_number = "Caml1999A029"
; cmx_magic_number = "Caml1999Y029"
; cmxa_magic_number = "Caml1999Z029"
; ast_impl_magic_number = "Caml1999M029"
; ast_intf_magic_number = "Caml1999N029"
; cmxs_magic_number = "Caml1999D029"
; cmt_magic_number = "Caml1999T029"
; natdynlink_supported = true
; supports_shared_libraries = true
; windows_unicode = false
}
}
Actual targets:
- recursive alias @doc
Running[2]: (cd _build/default/_doc/_odoc/pkg/bar && /home/tobi/.opam/4.12-fp/bin/odoc compile --pkg bar -o page-index.odoc ../../../_mlds/bar/index.mld)
Running[3]: (cd _build/default && /home/tobi/.opam/4.12-fp/bin/odoc support-files -o _doc/_html)
Running[4]: (cd _build/default && /home/tobi/.opam/4.12-fp/bin/ocamlc.opt -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I private/.secret.objs/byte -no-alias-deps -opaque -o private/.secret.objs/byte/secret.cmo -c -impl private/secret.ml)
Running[5]: (cd _build/default/_doc/_odoc/pkg/foo && /home/tobi/.opam/4.12-fp/bin/odoc compile --pkg foo -o page-index.odoc ../../../_mlds/foo/index.mld)
Running[6]: (cd _build/default/_doc/_html && /home/tobi/.opam/4.12-fp/bin/odoc html -I ../_odoc/pkg/bar -o . ../_odoc/pkg/bar/page-index.odoc)
Running[7]: (cd _build/default && /home/tobi/.opam/4.12-fp/bin/ocamlc.opt -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I public/.foo.objs/byte -I private/.secret.objs/byte -no-alias-deps -opaque -o public/.foo.objs/byte/foo.cmo -c -impl public/foo.ml)
Running[8]: (cd _build/default/private/.secret.objs/byte && /home/tobi/.opam/4.12-fp/bin/odoc compile -I . -I ../../../_doc/_odoc/pkg/foo --pkg foo -o secret.odoc secret.cmt)
Running[9]: (cd _build/default/public/.foo.objs/byte && /home/tobi/.opam/4.12-fp/bin/odoc compile -I . -I ../../../_doc/_odoc/pkg/foo -I ../../../private/.secret.objs/byte --pkg foo -o foo.odoc foo.cmt)
Running[10]: (cd _build/default/_doc/_html && /home/tobi/.opam/4.12-fp/bin/odoc html -I ../_odoc/pkg/foo -I ../../private/.secret.objs/byte -I ../../public/.foo.objs/byte -o . ../../public/.foo.objs/byte/foo.odoc)
Running[11]: (cd _build/default/_doc/_html && /home/tobi/.opam/4.12-fp/bin/odoc html -I ../_odoc/pkg/foo -I ../../private/.secret.objs/byte -I ../../public/.foo.objs/byte -o . ../../private/.secret.objs/byte/secret.odoc)
Running[12]: (cd _build/default/_doc/_html && /home/tobi/.opam/4.12-fp/bin/odoc html -I ../_odoc/pkg/foo -I ../../private/.secret.objs/byte -I ../../public/.foo.objs/byte -o . ../_odoc/pkg/foo/page-index.odoc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment