aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-09-18 18:05:30 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-10-01 16:33:24 +0300
commit9ce607665a2dfc2239198040494d646fa243747b (patch)
tree3985ce90956e3c153f10f7810e4728a460436ef6 /docs/markdown/snippets
parentd584c7debb128253c72df892595d9ffe79262f04 (diff)
downloadmeson-9ce607665a2dfc2239198040494d646fa243747b.zip
meson-9ce607665a2dfc2239198040494d646fa243747b.tar.gz
meson-9ce607665a2dfc2239198040494d646fa243747b.tar.bz2
Add a simple reproducibility test command.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/reprotester.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/snippets/reprotester.md b/docs/markdown/snippets/reprotester.md
new file mode 100644
index 0000000..dc86acd
--- /dev/null
+++ b/docs/markdown/snippets/reprotester.md
@@ -0,0 +1,15 @@
+## Simple tool to test build reproducibility
+
+Meson now ships with a command for testing whether your project can be
+[built reprodicibly](https://reproducible-builds.org/). It can be used
+by running a command like the following in the source root of your
+project:
+
+ meson reprotest --intermediaries -- --buildtype=debugoptimized
+
+All command line options after the `--` are passed to the build
+invocations directly.
+
+This tool is not meant to be exhaustive, but instead easy and
+convenient to run. It will detect some but definitely not all
+reproducibility issues.