-
-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #29408: Fix build errors with pplpy, scipy, kiwisolver, fpylll o…
…n macos with system python3 On the platform `local-homebrew-macos` defined by `tox.ini`, running on a `macos-latest` system as defined in https://help.github.com/en/actions/reference/virtual-environments-for- github-hosted-runners#supported-runners-and-hardware-resources, a branch that includes #27824 (spkg-configure.m4 for python3) leads to the following error with `pplpy`, as seen in https://github.com/mkoeppe/sage/runs/538432631: {{{ g++ -sdk macosx clang -bundle -undefined dynamic_lookup -L/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew- macos-standard/local/lib -Wl,-rpath,/Users/runner/runners/2.165.2/work/sage/sage/.tox/local- homebrew-macos-standard/local/lib -L/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew- macos-standard/homebrew/opt/readline/lib -L/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew- macos-standard/homebrew/lib -I/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew- macos-standard/homebrew/opt/readline/include -I/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew- macos-standard/homebrew/include build/temp.macosx-10.14-x86_64-3.7/ppl/linear_algebra.o build/temp.macosx-10.14-x86_64-3.7/ppl/ppl_shim.o -lgmp -lgmpxx -lppl -lm -o build/lib.macosx-10.14-x86_64-3.7/ppl/linear_algebra.cpython-37m- darwin.so clang: error: unknown argument: '-sdk' clang: error: no such file or directory: 'macosx' clang: error: no such file or directory: 'clang' error: command 'g++' failed with exit status 1 Running setup.py install for pplpy: finished with status 'error' Cleaning up... }}} Same kind of error with scipy, kiwisolver, fpylll. Full logs can be downloaded at the above link. To test locally, using #29104 + #27824, remove all python3 from the homebrew in /usr/local and run {{{ tox -e local-homebrew-macos-standard -- V=0 pplpy }}} With #29417, it is: {{{ tox -e local-homebrew-macos-standard-python3_xcode -- V=0 pplpy }}} (broken out from #29404) URL: https://trac.sagemath.org/29408 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): John Palmieri
- Loading branch information
Showing
4 changed files
with
85 additions
and
15 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
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