mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 12:01:27 +00:00
build script: remove obsolete sdk path and os version
This commit is contained in:
parent
12ded9d9a7
commit
b398a4b50b
1 changed files with 0 additions and 9 deletions
9
build.py
9
build.py
|
@ -1634,8 +1634,6 @@ class Builder(object):
|
||||||
self.xcode = arguments.xcode
|
self.xcode = arguments.xcode
|
||||||
self.checkout_commit = arguments.checkout_commit
|
self.checkout_commit = arguments.checkout_commit
|
||||||
self.build_path = arguments.build_path
|
self.build_path = arguments.build_path
|
||||||
self.sdk_path = arguments.sdk_path
|
|
||||||
self.os_version = arguments.os_version
|
|
||||||
self.verbose = arguments.verbose
|
self.verbose = arguments.verbose
|
||||||
|
|
||||||
self.platform = None
|
self.platform = None
|
||||||
|
@ -1660,11 +1658,6 @@ class Builder(object):
|
||||||
self.jobs = arguments.jobs and arguments.jobs or \
|
self.jobs = arguments.jobs and arguments.jobs or \
|
||||||
subprocess.check_output(['sysctl', '-n', 'hw.ncpu']).decode('ascii').strip()
|
subprocess.check_output(['sysctl', '-n', 'hw.ncpu']).decode('ascii').strip()
|
||||||
|
|
||||||
if not self.sdk_path:
|
|
||||||
sdk_probe_path = f'{self.root_path}sdk{os.sep}MacOSX{self.os_version}.sdk'
|
|
||||||
if os.path.exists(sdk_probe_path):
|
|
||||||
self.sdk_path = sdk_probe_path
|
|
||||||
|
|
||||||
self.target.initialize(self)
|
self.target.initialize(self)
|
||||||
|
|
||||||
def _populate_platforms(self, arguments):
|
def _populate_platforms(self, arguments):
|
||||||
|
@ -1923,8 +1916,6 @@ class Builder(object):
|
||||||
group.add_argument('--checkout-commit', metavar='commit',
|
group.add_argument('--checkout-commit', metavar='commit',
|
||||||
help='target\'s source code commit or tag to checkout')
|
help='target\'s source code commit or tag to checkout')
|
||||||
group.add_argument('--build-path', metavar='path', help='target build path')
|
group.add_argument('--build-path', metavar='path', help='target build path')
|
||||||
group.add_argument('--sdk-path', metavar='path', help='path to macOS SDK')
|
|
||||||
group.add_argument('--os-version', metavar='version', default='10.9', help='macOS deployment version')
|
|
||||||
group.add_argument('--sdk-path-x64', metavar='path', help='path to macOS SDK for x86_64')
|
group.add_argument('--sdk-path-x64', metavar='path', help='path to macOS SDK for x86_64')
|
||||||
group.add_argument('--sdk-path-arm', metavar='path', help='path to macOS SDK for ARM64')
|
group.add_argument('--sdk-path-arm', metavar='path', help='path to macOS SDK for ARM64')
|
||||||
group.add_argument('--os-version-x64', metavar='version', help='macOS deployment version for x86_64')
|
group.add_argument('--os-version-x64', metavar='version', help='macOS deployment version for x86_64')
|
||||||
|
|
Loading…
Reference in a new issue