Summary
When running the spack install command, an option should be available to specify a configuration scope from which to get build settings.
Rationale
When an administrator is installing a package globally for all users on a system to access, but the administrator has a ~/.spack directory containing configuration files for their own local packages, there is no way to install globally without removing or renaming the ~/.spack directory.
Description
I propose adding a --scope=<scope> flag to the spack install command that would allow a user to specify the configuration scope to pull variables from. If the flag is not provided, the current method should be used as the default.
Additional information
No response
General information
Summary
When running the
spack installcommand, an option should be available to specify a configuration scope from which to get build settings.Rationale
When an administrator is installing a package globally for all users on a system to access, but the administrator has a
~/.spackdirectory containing configuration files for their own local packages, there is no way to install globally without removing or renaming the~/.spackdirectory.Description
I propose adding a
--scope=<scope>flag to thespack installcommand that would allow a user to specify the configuration scope to pull variables from. If the flag is not provided, the current method should be used as the default.Additional information
No response
General information
spack --versionand reported the version of Spack