Don't use buildcache to install patchelf (#11343)

This commit is contained in:
Patrick Gartung 2019-05-02 10:02:25 -05:00 committed by GitHub
parent 0e9513be97
commit 309122c329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ def get_patchelf():
patchelf_spec = spack.cmd.parse_specs("patchelf", concretize=True)[0]
patchelf = spack.repo.get(patchelf_spec)
if not patchelf.installed:
patchelf.do_install()
patchelf.do_install(use_cache=False)
patchelf_executable = os.path.join(patchelf.prefix.bin, "patchelf")
return patchelf_executable
else: