diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-09-28 00:38:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 18:38:14 -0400 |
commit | 87450f3688d5d4799bb08526f82061ab4b9cb944 (patch) | |
tree | 48e8cfdd4021028bf1800148ba1b80678f33c479 /COPYRIGHT | |
parent | c0da0d83ff0f377dc622503127bc1f4c686ac52c (diff) | |
download | spack-87450f3688d5d4799bb08526f82061ab4b9cb944.tar.gz spack-87450f3688d5d4799bb08526f82061ab4b9cb944.tar.bz2 spack-87450f3688d5d4799bb08526f82061ab4b9cb944.tar.xz spack-87450f3688d5d4799bb08526f82061ab4b9cb944.zip |
Use gnuconfig package for config file replacement (#26035)
* Use gnuconfig package for config file replacement
Currently the autotools build system tries to pick up config.sub and
config.guess files from the system (in /usr/share) on arm and power.
This is introduces an implicit system dependency which we can avoid by
distributing config.guess and config.sub files in a separate package,
such as the new `gnuconfig` package which is very lightweight/text only
(unlike automake where we previously pulled these files from as a
backup). This PR adds `gnuconfig` as an unconditional build dependency
for arm and power archs.
In case the user needs a system version of config.sub and config.guess,
they are free to mark `gnuconfig` as an external package with the prefix
pointing to the directory containing the config files:
```yaml
gnuconfig:
externals:
- spec: gnuconfig@master
prefix: /tmp/tmp.ooBlkyAKdw/lol
buildable: false
```
Apart from that, this PR gives some better instructions for users when
replacing config files goes wrong.
* Mock needs this package too now, because autotools adds a depends_on
* Add documentation
* Make patch_config_files a prop, fix the docs, add integrations tests
* Make macOS happy
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions