{"push_id":1302990866,"size":2,"distinct_size":1,"ref":"refs/heads/features/redirect-python-activations","head":"58843dcc38c6c16079c882da0bb1af4f11cb3a9b","before":"f0f664ca954ceafa23c98cb08daff676392e4e9f","commits":[{"sha":"a37c825d2588c462a8224735e5144f2a7fcbba9a","author":{"name":"Peter J. Scheibel","email":"f57cf270eb2b7c36e5141bfa70eb060a41cd8c4d@llnl.gov"},"message":"Optionally redirect package installs\n\nWith these changes you can:\n\n-install packages relative to a sandbox directory. This is useful if\n you want to create a Spack installation in a privileged prefix but run\n as an unprivileged user. In many cases this does not require changes to\n package.py\n-optionally install packages to any prefix you want, i.e. you can\n specify the full path up to bin, lib, etc.\n\nThese are exposed with the --destdir and --install-path options for the\n\"spack install\" command. Note that only the top-level package can be\nredirected. Furthermore if you choose to install a package to a prefix,\nother packages will not be able to find it unless packages.yaml is\nupdated.\n\nThis depends on redirection support in the package build system and\nconfiguration so this does not guarantee redirection support for all\npackages. So far the following categories are supported:\n\n-make-based packages supporting the DESTDIR option (including most\n CMake packages)\n-boost (which uses its own build system)\n-Python extensions using setup.py\n\nOther packages will require modification to support redirection.\nIn many cases the package supports an option like DESTDIR (e.g.\nopenssl has --install-prefix) so the changes are minimal.\n\nOne other constraint should be met to support redirection for a\npackage: In Package.install, any command that interacts with the\nfilesystem should use the provided convenience commands (e.g.\n'install' and 'cp'), which Spack automatically redirects. Avoid\nimporting shutil or using 'which' to locate filesystem commands.\nPackages using glob may need to instead use the newly-provided\nfunction glob_redirect.","distinct":false,"url":"https://api.github.com/repos/scheibelp/spack/commits/a37c825d2588c462a8224735e5144f2a7fcbba9a"},{"sha":"58843dcc38c6c16079c882da0bb1af4f11cb3a9b","author":{"name":"Peter J. Scheibel","email":"f57cf270eb2b7c36e5141bfa70eb060a41cd8c4d@llnl.gov"},"message":"Optionally redirect python extension activations\n\nFirstly this creates a separate .pth file for each python\nextension, so activating an extension consists entirely of\nmerging in a link tree.\n\nThis also includes an option to build the symlink tree for\nactivation as part of installing the extension, and furthermore\ncan place these symlinks in a redirected prefix.","distinct":true,"url":"https://api.github.com/repos/scheibelp/spack/commits/58843dcc38c6c16079c882da0bb1af4f11cb3a9b"}]}
{"actor":{"display_login":"scheibelp"}}