summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2019-01-02 20:44:50 +0100
committerPeter Scheibel <scheibel1@llnl.gov>2019-01-02 11:44:50 -0800
commit802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9 (patch)
tree5f240e8a2fad6dd6ed8094a3b8ea6f3474c458df /README.md
parent63e75c39726795ac238e8b0f7bf0b8d227c093a4 (diff)
downloadspack-802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9.tar.gz
spack-802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9.tar.bz2
spack-802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9.tar.xz
spack-802dc4a03a4bb86cf42ff7f60915c1dabbbe31a9.zip
patch: split up fetch and clean into separate methods (#10150)
"mirror create" was invoking a package's do_patch method in order to retrieve and archive URL patches. If a package implements a "patch" method, this is also called as part of do_patch; this failed when the package-specific implementation referred to environment variables that are only available at the time the package is built (e.g. "spack_cc"). This change introduces fetch and clean methods for patches. They are no-ops for FilePatch but perform the appropriate actions for UrlPatch. This allows "mirror create" to invoke do_fetch, which does not call the package's patch method.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions