[DTrace-devel] [PATCH v5 0/9] improve build configurability
Nick Alcock
nick.alcock at oracle.com
Fri Feb 2 18:37:34 UTC 2024
This series improves the build system, letting you override the results
of all Makeconfig tests, making it a tiny bit more likely that cross-
compilation will succeed (though since it is still untested, only a
*bit* more likely), and implementing a configure script so that you
can avoid having to specify Make variable assignments over and
over again.
We also fix a number of bugs related to needless reinvocation of configure
tests, re-execution of can-never-change commands, etc: these had no effect
but performance before, but now they can accidentally overwrite
configure-specified test results the bug has become observable.
This series is also pushed to
https://github.com/oracle/dtrace-utils nix/review/configury
The dtrace userspace this series applies atop is found at
https://github.com/oracle/dtrace-utils devel
DTrace should work against unmodified upstream kernels now, but some
features work better with a couple of patches and with natively-built CTF. A
kernel tree that does that is here (do a make ctf after building, and a
make ctf_install after make modules_install):
https://github.com/oracle/dtrace-linux-kernel devel/v2/6.6/dtrace
Changes since v3 (v4 affected only one patch):
- rebase against dev
- add --kernel-src-suffix and --kernel-mod-suffix, affecting
KERNELSRCNAME and KERNELBLDNAME
Nick Alcock (9):
build: overridable configuration variables
build: support make help-overrides and make help-options
build: avoid building config.mk unnecessarily
build: avoid needless re-executions
build: only touch .dir.stamp if it doesn't already exist
build: force regeneration of config.{h,mk} when configure options
change
build: support make help-overrides-option and help-overrides-header
build: add configure script
build: consistently respect CC env var if set
GNUmakefile | 101 +++++++++++++----------
Makeconfig | 154 ++++++++++++++++++++++++++++-------
Makeoptions | 19 +++--
README.md | 15 ++--
configure | 190 +++++++++++++++++++++++++++++++++++++++++++
libproc/mkoffsets.sh | 2 +-
6 files changed, 396 insertions(+), 85 deletions(-)
create mode 100755 configure
base-commit: 89f8d665b4b4236a1141b03aaccb5c9e131d18dd
--
2.43.0.272.gce700b77fd
More information about the DTrace-devel
mailing list