Instead of having multiple kyua libraries, just include the files as part
of usr.bin/kyua. Previously, we would build each kyua source up to four
times: once as a .o file and once as a .pieo. Additionally, the kyua
libraries might be built again for compat32. As all the kyua libraries
amount to 102 C++ sources the build time is significant (especially when
using an assertions enabled compiler).
Details
Details
- Reviewers
brooks - Group Reviewers
tests - Commits
- rG22548a3b8070: Simplify and speed up the kyua build
rG2eb9ad427475: Simplify and speed up the kyua build
still compiles
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 40194 Build 37083: arc lint + arc unit
Event Timeline
usr.bin/kyua/store/Makefile.inc | ||
---|---|---|
1–2 | Do you really want this and the one in utils? |
usr.bin/kyua/store/Makefile.inc | ||
---|---|---|
1–2 | Forgot to delete these two after prefixing all source files with <lib>/ (to resolve the name conflicts) |
Comment Actions
I guess we could also merge */Makefile.inc to the main makefile, but this change was simpler
Comment Actions
I tend to think they should be merged into the main makefile, but probably with per-library SRCS+= lines to ease updating if new files are added upstream. I don't feel all that strongly though.