-
Notifications
You must be signed in to change notification settings - Fork 2.4k
add compiler to custom scope #14516
Copy link
Copy link
Closed
Labels
Description
It is possible to see the compilers in a custom scope,
$ spack --config-scope configs compilers
==> Available compilers
-- gcc centos7-x86_64 -------------------------------------------
[email protected] [email protected] [email protected] [email protected]
-- intel centos7-x86_64 -----------------------------------------
[email protected]However, it is not possible to add compilers to a custom scope.
$ mkdir newscope
$ spack --config-scope newscope compiler add
==> Found no new compilers
==> Compilers are defined in the following files:
/Users/gpjohnsn/.spack/linux/compilers.yamlRemoving the user scope compiler:
$ rm ~/.spack/linux/compilers.yaml
$ spack --config-scope newscope compiler add
==> Added 1 new compiler to /Users/gpjohnsn/.spack/linux/compilers.yaml
[email protected]
==> Compilers are defined in the following files:
/Users/gpjohnsn/.spack/linux/compilers.yamlIt would be really nice to be able to add compilers to a custom scope. That would allow more control and hopefully prevent having entries in the user scope interfere with a custom compilers.yaml file.
Reactions are currently unavailable