summaryrefslogtreecommitdiff
path: root/bin/haspywin.py
diff options
context:
space:
mode:
authorAlberto Invernizzi <9337627+albestro@users.noreply.github.com>2023-12-05 12:37:57 +0100
committerGitHub <noreply@github.com>2023-12-05 12:37:57 +0100
commit3547bcb51714872e4fc735a657b38ecc6eeae30c (patch)
tree21e85ae9495e076d03db6768d255018b559d5334 /bin/haspywin.py
parent53b528f6494d971bf8f476a8ad30daf34f1eb9e3 (diff)
downloadspack-3547bcb51714872e4fc735a657b38ecc6eeae30c.tar.gz
spack-3547bcb51714872e4fc735a657b38ecc6eeae30c.tar.bz2
spack-3547bcb51714872e4fc735a657b38ecc6eeae30c.tar.xz
spack-3547bcb51714872e4fc735a657b38ecc6eeae30c.zip
openfoam-org: fix for being able to build manually checked out repository (#41000)
* grep WM_PROJECT_VERSION from etc/bashrc This fixes the problem when building from a manually checked out repo which might have a different version wrt the one defined in the spack package (e.g. anything later than 5.0 is known as 5.x by the build system) * patch applies to just 5.0, in newer versions it is already addressed In `5.20171030` there's a commit https://github.com/OpenFOAM/OpenFOAM-5.x/commit/c66fba323c348012c2d4a75b9091406e1b3bcc31 very similar (almost identical) to what the patch `50-etc.patch` does. So the patch should not be applied to other than `5.0` otherwise it errors. References: - https://github.com/OpenFOAM/OpenFOAM-5.x/commits/20171030/etc/bashrc - https://github.com/OpenFOAM/OpenFOAM-5.x/blob/197d9d3bf20ac0641a8fe4f57be6a6325ca834b1/etc/bashrc#L45-L47
Diffstat (limited to 'bin/haspywin.py')
0 files changed, 0 insertions, 0 deletions