Add --vanilla
flag to r build system (#22166)
Unlike the other commands of the `R CMD` interface, the `INSTALL` command will read `Renviron` files. This can potentially break builds of r- packages, depending on what is set in the `Renviron` file. This PR adds the `--vanilla` flag to ensure that neither `Rprofile` nor `Renviron` files are read during Spack builds of r- packages.
This commit is contained in:
parent
68d5f348e5
commit
ccc7ed0af9
@ -84,6 +84,7 @@ def install(self, spec, prefix):
|
||||
config_vars = self.configure_vars()
|
||||
|
||||
args = [
|
||||
'--vanilla',
|
||||
'CMD',
|
||||
'INSTALL'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user