Repository activity
40458 results across all weeks
dune hangs in mdx tests waiting for _build/default/_build/.rpc/dune
I noticed that the capnp-rpc-unix package's tests now hang with the latest dune, whereas they used to pass (ocaml/opam-repository#29035 (comment)).
Thomas Leonard (@talex5)feat(fiber): add native appendable-list reductions
Add a native, stack-safe Fiber.map_reduce_appendable_list that walks the append tree without flattening it or building a sequence. Add the corresponding Memo override, using the existing fixed-size dependency collector to preserve parallel cache restoration.
Rudi Grinberg (@rgrinberg)feat(foreign): compile assembly sources
This PR adds as new foreign language for assembly sources. When using foreign stubs/archives stanzas with the (language asm) field, dune will recognise sources ending in .s/.S/.asm as assembly sources and pass them to an assembler.
Ali Caglayan (@Alizter)feat(foreign): support explicitly mixed-language sources
Add a new (languages) field to foreign_stubs and foreign_library that allows mixed source kinds.
Ali Caglayan (@Alizter)feat(melange): enable the extension by default in Dune 3.26
Enable Melange 1.0 by default in Dune language 3.26, preserving explicit declarations and older-language behavior.
Antonio Nuno Monteiro (@anmonteiro)feat(ppx): pass the compilation mode to ppx drivers as a cookie
This PR adds --cookie mode="ocaml" or --cookie mode="melange" to the ppx driver, for the mode it preprocesses. A ppx reads it with ppxlib's Driver.Cookies.get "mode".
David Sancho (@davesnx)feat: configure niceness of spawned actions
Add an opt-in niceness adjustment for Unix build actions so Dune can be favored over spawned work when both need CPU, without a wrapper process.
Rudi Grinberg (@rgrinberg)feature(clean): accept source directories (#2288)
Fixes #2288.
Rudi Grinberg (@rgrinberg)fix(action-plugin): lend job slots while building dependencies
Dynamic actions currently retain their scheduler reservation while waiting for dependencies. At -j 1, a dependency that needs another subprocess cannot start, so the build deadlocks.
Rudi Grinberg (@rgrinberg)fix(compile-commands): identify original sources
Use absolute source-file identities and build working directories in the compilation database. Fixes #16225.
Ali Caglayan (@Alizter)fix(compile_commands): avoid copy_files discovery cycles
Fixes #16516 by deferring compilation-database discovery.
Ali Caglayan (@Alizter)fix(compile_commands): filter stanzas before source discovery
Skip non-foreign stanzas during compilation-database discovery.
Ali Caglayan (@Alizter)fix(cram): isolate temporary directories per test
Builds on the temporary-directory defaults and override matrix in #16982.
Rudi Grinberg (@rgrinberg)fix(ctypes): reuse foreign compilation arguments for type probes
Depends on #16836 (reproduction).
Ali Caglayan (@Alizter)fix(dune-cache): recognize legacy cache files
Description
. (@dibrinsofor)fix(melange): resolve aliases through hidden private interfaces
Resolve Melange aliases into local private modules and installed private libraries using hidden CMI paths and sandbox dependencies. Assume Melange 6+ and reuse the OCaml version check for hidden includes.
Antonio Nuno Monteiro (@anmonteiro)fix(memo): preserve parallel restoration for sequence reductions
Make Memo.map_reduce_seq record independent branches as Par dependencies so cache restoration can check them concurrently. Collect branches incrementally, preserving one-shot sequence consumption and recording dependencies before propagating errors.
Rudi Grinberg (@rgrinberg)fix(menhir): preserve alias opens during inference
Fix Menhir inference for imported types that refer to guarded alias modules.
Antonio Nuno Monteiro (@anmonteiro)fix(merlin): include hidden Melange dependency interfaces
Include private Melange dependency interfaces as hidden Merlin paths, matching the OCaml behavior from #16629.
Antonio Nuno Monteiro (@anmonteiro)fix(merlin): recognize complete dialect suffixes
Select Merlin readers and source kinds using complete dialect suffixes, including preprocessed files and Melange conditional sources.
Antonio Nuno Monteiro (@anmonteiro)