Query
Wednesday 13 January 2021
2021-01-13 01:23:41 (1 year ago) by Tobias S. Josefowitz <tobij@tobij.de>
- pike/src/Makefile.in (+4/-3)(7 lines)
- pike/src/modules/common_module_makefile.in (+4/-3)(7 lines)
branch: 8.0
[build] Use pattern rules for rules with additional deps
Suffix rules (according to GNU make at least) cannot have dependencies
of their own, old versions of GNU make ignored such dependencies,
current versions of GNU make warn about them (and ignore them), and
future versions of GNU make are announced to treat them as non-suffix
rules, i.e.
.c.o: foo.h
would describe a rule to build .c.o from foo.h.
GNU make claims that pattern rules are what needs to be used in case
such rules have dependencies, so we shall give that a try.
2021-01-13 00:45:27 (1 year ago) by Tobias S. Josefowitz <tobij@tobij.de>
- pike/src/Makefile.in (+4/-3)(7 lines)
- pike/src/modules/common_module_makefile.in (+5/-4)(9 lines)
branch: master
[build] Use pattern rules for rules with additional deps
Suffix rules (according to GNU make at least) cannot have dependencies
of their own, old versions of GNU make ignored such dependencies,
current versions of GNU make warn about them (and ignore them), and
future versions of GNU make are announced to treat them as non-suffix
rules, i.e.
.c.o: foo.h
would describe a rule to build .c.o from foo.h.
GNU make claims that pattern rules are what needs to be used in case
such rules have dependencies, so we shall give that a try.
Saturday 03 February 2018
2018-02-03 15:57:26 (4 years ago) by Tobias S. Josefowitz <tobij@tobij.de>
- pike/src/configure.in (+2/-2)(4 lines)
- pike/src/modules/MPI/configure.in (+4/-1)(5 lines)
- pike/src/modules/Math/configure.in (+4/-1)(5 lines)
- pike/src/modules/configure.in (+6/-1)(7 lines)
branch: master
Total 21
[build] Explicitely check --with-mpi in sub configure.in files
The ac_user_opts related variables do not always get propagated in the
way that src/modules/configure.in expects. Checking --with-mpi
explicitely in sub-configures that use the setting gets around the
issue.
AC_ARG_WITH lowercases the variable name as well, so
src/modules/configure.in now also lowercases ${with_{$MODNAME}} when
checking whether to build a module.