weixin_39980082 2020-11-30 00:02
浏览 0

features: Add install failure tracking removal through `spack clean`

Note this PR addresses a feature a user asked about when #13100 was under testing.

The distributed build process automatically removes failure tracking information for relevant packages when spack install is executed. This has been shown to cause problems with environment installations from spack.yaml files -- see #15415 -- that led to the need to optionally retain failure tracking.

This PR adds the ability to explicitly remove install failure tracking data for a Spack instance through the spack clean command using either the -f or -a options.

TODO

  • [x] Add option to documentation

Follow-On Work

  • If #15415 is merged before this PR, packaging_guide.rst's discussion of --keep-failures should be changed to reference the spack clean -f option

该提问来源于开源项目:spack/spack

  • 写回答

5条回答 默认 最新

  • weixin_39980082 2020-11-30 00:02
    关注

    FWIW. Merged develop since local testing was failing for me due to assertions related to missing provider entries in etc/spack/defaults/packages.yaml. Post-merge local tests then had issues with test_make_elf_binaries_relative (fixed in a separate PR) and test_clean_default.

    评论

报告相同问题?