summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2022-02-22Release 2.42.4Tavian Barnes
2022-02-21Use EXTRA_CFLAGS instead of CFLAGS in make distcheckTavian Barnes
2022-02-21Enable Oniguruma by defaultTavian Barnes
2022-02-09Makefile: Allow extra flags to be passed with EXTRA_*FLAGS variablesTavian Barnes
2022-02-04regex: Add support for emacs and grep typesTavian Barnes
2022-02-01tests: Allow tests.sh to be invoked from any directoryTavian Barnes
This also resolves the path passed to --bfs early, so --bfs=./bfs now works.
2022-01-29Standardize WITH_* make variables for configuring dependenciesTavian Barnes
2022-01-24Apply suggestions from code reviewdata-man
2022-01-24Using Oniguruma library (optionally)data-man
2022-01-21Release 2.3.12.3.1Tavian Barnes
2021-11-25Release 2.3Tavian Barnes
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