Dune is a fast and composable build system for OCaml projects. It handles the low-level details of OCaml compilation, allowing developers to describe the structure of a project rather than manually maintain complex build rules.
The software reads project metadata from static dune files written using a simple S-expression syntax. From this information, it creates build rules, manages package installation and generates configuration files for development tools such as Merlin.
Dune supports parallel builds, repositories containing multiple packages and simultaneous builds against several configurations. Multiple Dune projects can also be combined into a single build, making the software well suited to monorepositories and the concurrent development of related packages.
This is free and open source software.
Key Features
- Fast, low-overhead build process.
- Supports parallel builds on all platforms.
- Uses static project files with a simple S-expression syntax.
- Handles repositories containing multiple packages.
- Combines multiple projects into a single build.
- Supports simultaneous builds against several OCaml configurations.
- Offers cross-compilation through opam.
- Generates configuration files for development tools such as Merlin.
- Requires no system dependencies beyond OCaml.
Website: github.com/ocaml/dune
Support:
Developer: Dune team
License: MIT License
Dune is written in OCaml. Learn OCaml with our recommended free books and free tutorials.
Related Software
| Build Systems | |
|---|---|
| Cargo | Rust package manager |
| gulp | Toolkit to automate & enhance your workflow |
| Bazel | Build and test your multi-language, multi-platform projects |
| Apache Maven | Build automation tool used primarily for Java projects |
| Gradle | Build tool with a focus on build automation and support for multi-language |
| Meson | Next-generation build system |
| CMake | Family of tools designed to build, test and package software |
| Buck2 | Encourages the creation of small, reusable modules |
| Leiningen | Automating Clojure projects |
| Grunt | JavaScript Task Runner |
| Ninja | Small build system with a focus on speed |
| xmake | Cross-platform build utility based on Lua |
| SCons | Software construction tool |
| Pants | Scalable build system for monorepos |
| PHing | Build system based on Apache Ant |
| Rake | make-like build utility for Ruby |
| Apache Ant | Tool for automating software build processes |
| Cabal | Common Architecture for Building Applications and Libraries |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.