diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2019-11-27 20:58:12 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-27 20:58:12 -0600 |
commit | e974f48be0a1fe1f622d6f5300c60b74d409fa20 (patch) | |
tree | 80d6960397f669a8ab03eca954995589ce70515a /bin/rebuild-package.sh | |
parent | 1b24dfb8bafe86fbff47a9751b199e2707e3c23e (diff) | |
download | spack-e974f48be0a1fe1f622d6f5300c60b74d409fa20.tar.gz spack-e974f48be0a1fe1f622d6f5300c60b74d409fa20.tar.bz2 spack-e974f48be0a1fe1f622d6f5300c60b74d409fa20.tar.xz spack-e974f48be0a1fe1f622d6f5300c60b74d409fa20.zip |
Build R without recommended packages (#12015)
The documentation states that Spack builds R without the recommmened
packages, with Spack handling the build of those packages to satisfy
dependencies. From the docs:
> Spack explicitly adds the --without-recommended-packages flag to
> prevent the installation of these packages. Due to the way Spack
> handles package activation (symlinking packages to the R installation
> directory), pre-existing recommended packages will cause conflicts for
> already-existing files. We could either not include these recommended
> packages in Spack and require them to be installed through
> --with-recommended-packages, or we could not install them with R and
> let users choose the version of the package they want to install. We
> chose the latter.
However, this is not what Spack is actually doing. The
`--without-recommended` configure option is not passed to R and
therefore those packages are built. This prevents R extension activation
from working as files in the recommended packages installed with R will
block linking of file from the respective `r-` packages.
This PR adds the `--without-recommended` flag to the configure options
of the R package. This will then have the Spack R build match what is
documented.
Diffstat (limited to 'bin/rebuild-package.sh')
0 files changed, 0 insertions, 0 deletions