Skip to content

--cache=disabled is triggering some re-compilation #12309

@Khady

Description

@Khady

Expected Behavior

running with --cache=disabled after a successful build shouldn't trigger recompilation, as _build contains all the up to date artifacts.

Actual Behavior

Depending on the configuration of the shared cache, building with --cache=disabled can trigger some recompilation.

Reproduction

The flow can be shorten to:

  1. dune build
  2. dune clean
  3. dune build
  4. dune build --cache=disabled
  5. dune build --cache=disabled

Specifications

  • Version of dune (output of dune --version): 3.19.1
  • Version of ocaml (output of ocamlc --version): 4.14
  • Operating system (distribution and version): debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions