summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2021-06-02Release 2.2.12.2.1Tavian Barnes
2021-06-02Enable -Wimplicit-fallthroughTavian Barnes
2021-03-06Release 2.22.2Tavian Barnes
2021-03-06Support -flags on all the BSDsTavian Barnes
2021-02-05Update copyright datesTavian Barnes
2021-01-29Makefile: Give LTO linking access to the jobserverTavian Barnes
2021-01-28dir: New DIR* facadeTavian Barnes
2021-01-28Enable -Wshadow by defaultTavian Barnes
And fix the one case it warns on.
2021-01-24Makefile: Install completionsTavian Barnes
2020-12-19Makefile: Fix behaviour if .flags doesn't exist yetTavian Barnes
2020-12-16Makefile: Clean up check dependencies a bitTavian Barnes
2020-12-16Makefile: Avoid rebuilding everything for make release main.oTavian Barnes
To do this we need to only add the release: default dependency if no non-flag goals are specified on the command line. While I'm at it, simplify and coalesce a few recipes.
2020-12-10Makefile: Rebuild whenever the build flags changeTavian Barnes
This removes the need to do make clean before rebuilding with a new build type.
2020-11-30Makefile: Clean up flag handling a bitTavian Barnes
2020-11-30Makefile: Only do -m32 during distcheck on x86_64Tavian Barnes
Multilib isn't well-supported outside of x86.
2020-11-28Makefile: Run tests with --verbose during distcheckTavian Barnes
2020-11-11Release 2.12.1Tavian Barnes
2020-11-10Makefile: New gcov targetTavian Barnes
2020-11-04Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes
2020-11-03Makefile: Fail early on sanitizer errorsTavian Barnes
2020-11-03bar: Implement terminal status barsTavian Barnes
2020-10-14Release 2.02.0Tavian Barnes
2020-09-27Rename struct cmdline to bfs_ctxTavian Barnes
The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
2020-06-16Implement exponential deepening searchTavian Barnes
2020-06-09tests/trie: New acceptance test for triesTavian Barnes
2020-06-09tests: New acceptance test for xtimegm()Tavian Barnes
2020-05-22Makefile: Pass -fsanitize-memory-track-origins for msan buildsTavian Barnes
2020-04-22Release 1.71.7Tavian Barnes
2020-04-22pwcache: Rename from passwd.[ch]Tavian Barnes
2020-03-24Makefile: Don't use target-specific variables for configuration targetsTavian Barnes
In things like release: CFLAGS := ... release: bfs CFLAGS is only set for the dependencies of release, so $ make release check doesn't set CFLAGS for tests/mksock. For the same reason, $ make asan ubsan was broken, because only the asan flags would be set for bfs. Fix it by checking MAKECMDGOALS for those targets manually instead.
2020-03-23Makefile: Add asan, msan, ubsan targetsTavian Barnes
2020-03-23Makefile: Use --sudo for every distcheck testTavian Barnes
2020-02-29passwd: Cache the user/group tablesTavian Barnes
This is a significant optimization for conditions that need these tables: Benchmark #1: ./bfs ~/code/linux -nouser >/dev/null Time (mean ± σ): 232.0 ms ± 2.5 ms [User: 44.3 ms, System: 185.0 ms] Range (min … max): 228.7 ms … 238.7 ms 12 runs Benchmark #2: ./bfs-1.6 ~/code/linux -nouser >/dev/null Time (mean ± σ): 1.050 s ± 0.012 s [User: 544.2 ms, System: 500.0 ms] Range (min … max): 1.025 s … 1.063 s 10 runs Benchmark #3: find ~/code/linux -nouser >/dev/null Time (mean ± σ): 1.040 s ± 0.012 s [User: 533.6 ms, System: 500.6 ms] Range (min … max): 1.017 s … 1.054 s 10 runs Summary './bfs ~/code/linux -nouser >/dev/null' ran 4.48 ± 0.07 times faster than 'find ~/code/linux -nouser >/dev/null' 4.52 ± 0.07 times faster than './bfs-1.6 ~/code/linux -nouser >/dev/null'
2020-02-25Release 1.61.6Tavian Barnes
2020-02-13time: Split out time-related functions from utilTavian Barnes
2020-01-09Release 1.5.21.5.2Tavian Barnes
2019-09-14Release 1.5.11.5.1Tavian Barnes
2019-09-13Makefile: Test different search strategies in parallelTavian Barnes
2019-09-13Makefile: Include -fsanitize=* in the sanitizer flag variablesTavian Barnes
2019-08-29darray: New dynamic array libraryTavian Barnes
2019-07-04Makefile: Use $(CURDIR)/bfs instead of $(realpath bfs)Tavian Barnes
$(realpath bfs) gives the empty string if bfs doesn't exist when it's evaluated.
2019-07-04distcheck: Run --sudo tests with all search strategiesTavian Barnes
2019-06-28Makefile: Allow MANDIR to be overriddenTavian Barnes
This should eliminate the need for things like this OpenBSD patch: https://github.com/openbsd/ports/blob/a3201446fc3b7c21d65855a4163576dd12206c97/sysutils/bfs/patches/patch-Makefile
2019-06-27Release 1.51.5Tavian Barnes
2019-06-04parse: Use -S {bfs,dfs,ids} rather than -{bfs,dfs,ids}Tavian Barnes
2019-05-29Implement an iterative deepening mode (-ids)Tavian Barnes
2019-05-28Implement a depth-first mode (-dfs)Tavian Barnes
2019-05-27Makefile: Make the all target really build allTavian Barnes
2019-05-24fsade: Fix ACL detection on macOSTavian Barnes
2019-05-24Implement -xattr predicateTavian Barnes