Fix and update brainscales stuff
This fixes two issues:
- The build flow in our rc5 did not support building when PyTorch was not installed in the PYTHONHOME/interpreter site-packages but rather provided via PYTHONPATH — we now look at both, the Python site-packages thingy, but also into PYTHONPATH/sys.path directories.
- In !112 (merged) we also forgot to specify
hxtorch
's dependency on PyTorch (it's an extension to PyTorch, so it needs headers, and also links against PyTorch).
(→ technically pynn-brainscales does not support a rebuild, but to keep our versions aligned, this also updates the version name for pynn-brainscales to rc6.)
Merge request reports
Activity
mentioned in commit 1746bd88
@elmath I uploaded a slightly wrong "fix" (targeting the "path to pytorch libraries" problems that we had in our configure step for EBRAINS (caused by the difference between our view-based approach and the PYTHONPATH approach taken here)) → can we just retrigger this one, or should I open an empty merge request?
@emuller I can un-comment it in spack.yaml, this is correct right?
pynn-brainscales@2.0-rc6 ^log4cxx@0.10.0 ^googletest@1.11.0:+gmock hxtorch@2.0-rc6 ^log4cxx@0.10.0 ^googletest@1.11.0:+gmock
Yes I tried running it 3 times but it timed out at different points, and openshift client was not very responsive either, so I thought I should wait a bit before retrying.
I hope it's ok this time: https://gitlab.ebrains.eu/technical-coordination/project-internal/devops/platform/ebrains-spack-builds/-/jobs/27914