Dolfinx Docker Compiler flags

I have been trying recently to build the dolfinx docker image for arm64, since dockerhub does not yet host such an image. While trying to do that, I noticed in the dolfinx Dockerfile that the ARG PETSC_SLEPC_OPTFLAGS="-02 -g"
uses a zero instead of O for the compiler optimization flag. That seemed strange to me since the typical compiler optimization flags are -O2 or -O3

Let me know if this is should be posted to Github instead as an issue and I can delete this. I hadn’t posted it there since I wasn’t sure if there was some reason I was missing, and it isn’t directly causing me any issues at the moment.

1 Like

I would recommend you to post this on github :wink:

1 Like