Hi,
Mathieu Othacehe skribis:
> Hey,
>
>> * gnu/packages/maths.scm (petsc): Update to 3.16.1.
>> [native-inputs]: Use PYTHON instead of PYTHON-2. Add WHICH.
>> [arguments]: Rewrite using gexps. Pass '--with-openblas-dir'. In
>> 'configure' phase, modify "config/example_template.py".
>
> I noticed that petsc-* packages are now part of every evaluation of
> c-u-f in Cuirass. Any chance this is related to this patch?
Oops indeed; fixed in 36f18626a9f8e9ba287e0fd3f1d0400345ca5ee7.
It’s not ‘petsc’ that was affected but rather its variants; they’d lead
to a different derivation every time (!), one that fails to build:
$ ./pre-inst-env guix build -d petsc-openmpi
/gnu/store/lszhaiiyrkbdlldp42hqfhmaxcvqpfq7-petsc-openmpi-3.16.1.drv
$ ./pre-inst-env guix build -d petsc-openmpi
/gnu/store/r2gam9iwv67qvx8hq9sj9rj430qwa31c-petsc-openmpi-3.16.1.drv
$ ./pre-inst-env guix build -d petsc-openmpi
/gnu/store/iw7jkd9dqsfxiz8qij53wdhqg9xzgi5g-petsc-openmpi-3.16.1.drv
Fun. :-)
Ludo’.