Inform the user about bootstrapping (#25964)
This commit is contained in:
parent
c0122242ee
commit
3fe9b34362
@ -182,6 +182,8 @@ def try_import(self, module, abstract_spec_str):
|
|||||||
if _try_import_from_store(module, abstract_spec_str):
|
if _try_import_from_store(module, abstract_spec_str):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
tty.info("Bootstrapping {0} from pre-built binaries".format(module))
|
||||||
|
|
||||||
# Try to install from an unsigned binary cache
|
# Try to install from an unsigned binary cache
|
||||||
abstract_spec = spack.spec.Spec(
|
abstract_spec = spack.spec.Spec(
|
||||||
abstract_spec_str + ' ^' + spec_for_current_python()
|
abstract_spec_str + ' ^' + spec_for_current_python()
|
||||||
@ -289,6 +291,7 @@ def try_import(module, abstract_spec_str):
|
|||||||
|
|
||||||
msg = "[BOOTSTRAP MODULE {0}] Try installing '{1}' from sources"
|
msg = "[BOOTSTRAP MODULE {0}] Try installing '{1}' from sources"
|
||||||
tty.debug(msg.format(module, abstract_spec_str))
|
tty.debug(msg.format(module, abstract_spec_str))
|
||||||
|
tty.info("Bootstrapping {0} from sources".format(module))
|
||||||
|
|
||||||
# Install the spec that should make the module importable
|
# Install the spec that should make the module importable
|
||||||
concrete_spec.package.do_install()
|
concrete_spec.package.do_install()
|
||||||
|
Loading…
Reference in New Issue
Block a user