summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Disable onig-config for the 32-bit distcheck buildTavian Barnes2022-03-111-2/+2
| | | | | | | | | | | onig-config can redundantly add -L/usr/lib to LDLIBS, which results in a few warnings like /usr/bin/ld: skipping incompatible /usr/lib/libonig.so when searching for -lonig While I'm at it, explicitly restrict the -m32 build to Linux, since it doesn't work on FreeBSD and was only skipped because uname -m is amd64, not x86_64.
* Makefile: Enable time64Tavian Barnes2022-03-111-0/+1
|
* Makefile: Add lsan and tsan flag targetsTavian Barnes2022-03-091-1/+13
|
* Makefile: Make separate variables for Oniguruma flagsTavian Barnes2022-02-281-3/+6
| | | | | | This allows customizing the necessary flags if onig-config isn't available or is undesirable (e.g. when linking against a non-system build of libonig).
* Release 2.4.12.4.1Tavian Barnes2022-02-241-1/+1
|
* Makefile: Automatically discover the right flags to build with OnigurumaTavian Barnes2022-02-241-4/+11
| | | | Fixes #82.
* Release 2.42.4Tavian Barnes2022-02-221-1/+1
|
* Use EXTRA_CFLAGS instead of CFLAGS in make distcheckTavian Barnes2022-02-211-1/+1
|
* Enable Oniguruma by defaultTavian Barnes2022-02-211-5/+9
|
* Makefile: Allow extra flags to be passed with EXTRA_*FLAGS variablesTavian Barnes2022-02-091-4/+4
|
* regex: Add support for emacs and grep typesTavian Barnes2022-02-041-0/+1
|
* tests: Allow tests.sh to be invoked from any directoryTavian Barnes2022-02-011-1/+1
| | | | | This also resolves the path passed to --bfs early, so --bfs=./bfs now works.
* Standardize WITH_* make variables for configuring dependenciesTavian Barnes2022-01-291-19/+40
|
* Apply suggestions from code reviewdata-man2022-01-241-10/+5
|
* Using Oniguruma library (optionally)data-man2022-01-241-0/+10
|
* Release 2.3.12.3.1Tavian Barnes2022-01-211-1/+1
|
* Release 2.3Tavian Barnes2021-11-251-1/+1
|
* Release 2.2.12.2.1Tavian Barnes2021-06-021-1/+1
|
* Enable -Wimplicit-fallthroughTavian Barnes2021-06-021-1/+8
|
* Release 2.22.2Tavian Barnes2021-03-061-1/+1
|
* Support -flags on all the BSDsTavian Barnes2021-03-061-0/+4
|
* Update copyright datesTavian Barnes2021-02-051-1/+1
|
* Makefile: Give LTO linking access to the jobserverTavian Barnes2021-01-291-1/+1
|
* dir: New DIR* facadeTavian Barnes2021-01-281-0/+1
|
* Enable -Wshadow by defaultTavian Barnes2021-01-281-1/+1
| | | | And fix the one case it warns on.
* Makefile: Install completionsTavian Barnes2021-01-241-1/+4
|
* Makefile: Fix behaviour if .flags doesn't exist yetTavian Barnes2020-12-191-1/+7
|
* Makefile: Clean up check dependencies a bitTavian Barnes2020-12-161-8/+12
|
* Makefile: Avoid rebuilding everything for make release main.oTavian Barnes2020-12-161-20/+25
| | | | | | 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.
* Makefile: Rebuild whenever the build flags changeTavian Barnes2020-12-101-1/+5
| | | | | This removes the need to do make clean before rebuilding with a new build type.
* Makefile: Clean up flag handling a bitTavian Barnes2020-11-301-4/+4
|
* Makefile: Only do -m32 during distcheck on x86_64Tavian Barnes2020-11-301-0/+6
| | | | Multilib isn't well-supported outside of x86.
* Makefile: Run tests with --verbose during distcheckTavian Barnes2020-11-281-1/+3
|
* Release 2.12.1Tavian Barnes2020-11-111-1/+1
|
* Makefile: New gcov targetTavian Barnes2020-11-101-1/+7
|
* Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes2020-11-041-1/+1
|
* Makefile: Fail early on sanitizer errorsTavian Barnes2020-11-031-0/+8
|
* bar: Implement terminal status barsTavian Barnes2020-11-031-0/+1
|
* Release 2.02.0Tavian Barnes2020-10-141-1/+1
|
* Rename struct cmdline to bfs_ctxTavian Barnes2020-09-271-0/+1
| | | | | The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
* Implement exponential deepening searchTavian Barnes2020-06-161-1/+1
|
* tests/trie: New acceptance test for triesTavian Barnes2020-06-091-4/+10
|
* tests: New acceptance test for xtimegm()Tavian Barnes2020-06-091-3/+9
|
* Makefile: Pass -fsanitize-memory-track-origins for msan buildsTavian Barnes2020-05-221-1/+1
|
* Release 1.71.7Tavian Barnes2020-04-221-1/+1
|
* pwcache: Rename from passwd.[ch]Tavian Barnes2020-04-221-1/+1
|
* Makefile: Don't use target-specific variables for configuration targetsTavian Barnes2020-03-241-17/+28
| | | | | | | | | | | | | | | | | | | 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.
* Makefile: Add asan, msan, ubsan targetsTavian Barnes2020-03-231-3/+12
|
* Makefile: Use --sudo for every distcheck testTavian Barnes2020-03-231-11/+10
|
* passwd: Cache the user/group tablesTavian Barnes2020-02-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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'