UCL-ARC/hpc-spack

__spack_path_placeholder__ in paths in generated modules

Opened this issue · 3 comments

This is an issue on spack.

It is to do with padded paths not being substituted. So is related to using the buildcache. So we may be waiting for a fix.

Workaround: final build of a site does not use the build cache.

Another workaround: post process them away with sed (effective but yuk!)

Looks like it will be fixed in an update: spack/spack#36611

As Heather suggested, this could be patched, using a patch file recorded in our repo, applied to the version of spack we are using. This would need to be applied each time a new site is created by spacksites. To make the patch see Harmen Stoppels pull request

have updated to spack v0.19.2 does this still occur?