-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16680 from mppf/fix-mac-os-x-make-docs
Fix mac os x make docs Follow-up to PR #16644 and #16560 This PR is intended to solve problems with `make docs` on Mac OS X. * Don't replace python3 symlinks on mac os x * Our python3-wrapper exists to tolerate a different python3 path (e.g. in the case of installation) but it causes problems with the Python wrapper used for Mac OS X frameworks (in cpython, Mac/Tools/pythonw.c). I suspect there is a bug with this framework wrapper however I don't have a small reproducer. Setting the `PYTHONEXECUTABLE` variable did not help. However, calling e.g. `/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python` from our python3-wrapper allowed it to work (since this bypasses the pythonw.c wrapper). * Update Makefiles to avoid `touch sphinx-build` which confused the issue Reviewed by @ronawho - thanks! - [x] make docs on mac os x with brew python3 - [x] make docs on Ubuntu 20.04 - [x] make docs on SLES12
- Loading branch information
Showing
3 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters