LLNL / serac

Serac is a high order nonlinear thermomechanical simulation code
BSD 3-Clause "New" or "Revised" License
173 stars 30 forks source link

Add homebrew-based build instructions for apple silicon #1159

Closed zatkins-work closed 1 week ago

zatkins-work commented 2 weeks ago

Updates the build documentation to work for M2 macbooks. This will likely need to be revised to support x86_64 and other apple silicon.

white238 commented 2 weeks ago

https://serac.readthedocs.io/en/doc-atkins12-macos-build-docs/sphinx/quickstart.html#building-serac-dependencies-on-macos-with-homebrew

white238 commented 2 weeks ago

There are some warnings/errors in the docs build. I attach them here in case you can't view the page. I can't remember who can/cannot...

/home/serac/serac/src/docs/sphinx/quickstart.rst:282: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:286: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:297: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:305: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:306: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/serac/serac/src/docs/sphinx/quickstart.rst:313: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:315: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:319: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:320: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/serac/serac/src/docs/sphinx/quickstart.rst:322: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:326: WARNING: Unexpected indentation.
/home/serac/serac/src/docs/sphinx/quickstart.rst:333: WARNING: Error in "code-block" directive:
/home/serac/serac/src/docs/sphinx/quickstart.rst:338: WARNING: Error in "code-block" directive:
white238 commented 2 weeks ago

@zatkins-work This looks great and I very much appreciate the extra effort this took. As soon as you fix the few formatting issues we will get this merged!