8a65fe8da6
The PETSc library's config/install.py script checks whether /usr/bin/install_name_tool is an existing file: https://gitlab.com/petsc/petsc/-/blob/master/config/install.py#L368 Therefore, it is not enough to replace it with something that we expect to be on the PATH, as this will cause the linked if statement to be silently skipped. The consequence is that applications linked against this version of petsc will fail at runtime on MacOS with a dynamic loading error. Instead, we should replace install_name_tool with the absolute path of a binary we know will be present at build time. Note that this should be fixed upstream as well, but this is sufficient to fix the runtime error. |
||
---|---|---|
.. | ||
androidndk-pkgs | ||
arduino | ||
beam-modules | ||
bower-modules/generic | ||
chez-modules | ||
compilers | ||
coq-modules | ||
dhall-modules | ||
dotnet-modules | ||
em-modules/generic | ||
go-modules | ||
go-packages | ||
guile-modules | ||
haskell-modules | ||
idris-modules | ||
interpreters | ||
java-modules | ||
libraries | ||
lisp-modules | ||
lua-modules | ||
misc | ||
mobile | ||
node-packages | ||
ocaml-modules | ||
perl-modules | ||
pharo | ||
pure-modules | ||
python-modules | ||
r-modules | ||
ruby-modules | ||
tools | ||
web |