aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/depfile.py
AgeCommit message (Collapse)AuthorFilesLines
2022-01-10depfile: type annotateDylan Baker1-15/+20
2020-11-15stabilize sets that are converted to listsPaolo Bonzini1-1/+1
The order of elements in sets cannot be relied upon, because the hash values are randomized by Python. Whenever sets are converted to lists we need to keep their order stable, or random changes in the command line cause ninja to rebuild a lot of files unnecessarily. To stabilize them, use either sort or OrderedSet. Sorting is not always applicable, but it can be faster because it's done in C and it can produce slightly nicer output.
2019-09-30Add depfile to configure_file()Marc-André Lureau1-0/+85
In qemu, minikconf generates a depfile that meson could use to automatically reconfigure on dependency change. Note: someone clever can perhaps find a way to express this with a ninja rule & depfile=. I didn't manage, so I wrote a simple depfile parser.