Commit d80dadb
committed
BUG: fix macOS version checks so things work in very old versions
The two things fixed here:
- `xcrun` isn't available on very old versions (MacPorts still supports
10.5/10.6)
- Version comparison is done correctly now with
`mesonlib.version_compare`
See numpy/numpy#25406 for the bug report.1 parent 708d528 commit d80dadb
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | 745 | | |
749 | 746 | | |
750 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
751 | 754 | | |
752 | 755 | | |
753 | 756 | | |
| |||
0 commit comments