aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian/gitian-build.py
diff options
context:
space:
mode:
authorJonathan Cross <jcross@gmail.com>2019-07-19 14:12:36 +0200
committerJonathan Cross <jcross@gmail.com>2019-08-06 23:18:31 +0200
commite3cff3d76677a2ef397de7c86b1da640cb6d0cec (patch)
treed757d004972af70064ad64e6c0d591a73f562bd2 /contrib/gitian/gitian-build.py
parentMerge pull request #5635 (diff)
downloadmonero-e3cff3d76677a2ef397de7c86b1da640cb6d0cec.tar.xz
Gitian build script fixes for MacOS
Diffstat (limited to '')
-rwxr-xr-xcontrib/gitian/gitian-build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gitian/gitian-build.py b/contrib/gitian/gitian-build.py
index b654b15c7..12bde204c 100755
--- a/contrib/gitian/gitian-build.py
+++ b/contrib/gitian/gitian-build.py
@@ -64,7 +64,7 @@ def build():
if args.macos:
print('\nCompiling ' + args.version + ' MacOS')
- subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'monero='+args.commit, '--url', 'monero'+args.url, '../monero/contrib/gitian/gitian-osx.yml'])
+ subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'monero='+args.commit, '--url', 'monero='+args.url, '../monero/contrib/gitian/gitian-osx.yml'])
subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-osx', '--destination', '../gitian.sigs/', '../monero/contrib/gitian/gitian-osx.yml'])
subprocess.check_call('mv build/out/monero*.tar.gz ../monero-binaries/'+args.version, shell=True)
@@ -141,8 +141,8 @@ def main():
if not 'LXC_GUEST_IP' in os.environ.keys():
os.environ['LXC_GUEST_IP'] = '10.0.3.5'
- # Disable for MacOS if no SDK found
- if args.macos and not os.path.isfile('gitian-builder/inputs/MacOSX10.11.sdk.tar.gz'):
+ # Disable MacOS build if no SDK found
+ if args.build and args.macos and not os.path.isfile('gitian-builder/inputs/MacOSX10.11.sdk.tar.gz'):
print('Cannot build for MacOS, SDK does not exist. Will build for other OSes')
args.macos = False