summaryrefslogtreecommitdiffstats
path: root/TOOLS/macos-sdk-version.py
Commit message (Collapse)AuthorAgeFilesLines
* TOOLS/macos-sdk-version: use packaging instead of distutils for versionDudemanguy2023-10-271-2/+2
| | | | | | | | | Python 3.10 deprecated disutils and then removed it in 3.12. The macos sdk check uses the version compare from there, so it needs to be replaced with something else. So instead use the API from the packaging module which is also widely available and a fit replacement. Fixes #12762.
* various: remove trailing whitespaceGuido Cella2022-05-141-1/+1
|
* TOOLS: add macos-sdk-version.py scriptDudemanguy2021-11-141-0/+68
Building for macos requires us to check the macos sdk path as well as the sdk version that is on the system. To do this, let's steal the logic that's in the compiler_swift.py check from the waf build. This returns a comma-delinated string. The first entry is the absolute path to the sdk. The second entry is the detected macos sdk version.