support sdk-tag-X.Y.Z-64bit (we supported it without -tag-, but that did work before) (#267)
This commit is contained in:
2
emsdk
2
emsdk
@@ -2414,7 +2414,7 @@ def main():
|
|||||||
elif '-fastcomp' in arg:
|
elif '-fastcomp' in arg:
|
||||||
arg = arg.replace('-fastcomp', '')
|
arg = arg.replace('-fastcomp', '')
|
||||||
upstream = False
|
upstream = False
|
||||||
arg = arg.replace('sdk-', '').replace('-64bit', '')
|
arg = arg.replace('sdk-', '').replace('-64bit', '').replace('tag-', '')
|
||||||
release_hash = releases_info.get(arg, None) or releases_info.get('sdk-' + arg + '-64bit')
|
release_hash = releases_info.get(arg, None) or releases_info.get('sdk-' + arg + '-64bit')
|
||||||
if release_hash:
|
if release_hash:
|
||||||
sys.argv[i] = 'sdk-releases-%s-%s-64bit' % ('upstream' if upstream else 'fastcomp', release_hash)
|
sys.argv[i] = 'sdk-releases-%s-%s-64bit' % ('upstream' if upstream else 'fastcomp', release_hash)
|
||||||
|
|||||||
4
test.py
4
test.py
@@ -51,5 +51,9 @@ print('test specific release (new, full name)')
|
|||||||
check_call('./emsdk install sdk-1.38.33-upstream-64bit')
|
check_call('./emsdk install sdk-1.38.33-upstream-64bit')
|
||||||
check_call('./emsdk activate sdk-1.38.33-upstream-64bit')
|
check_call('./emsdk activate sdk-1.38.33-upstream-64bit')
|
||||||
|
|
||||||
|
print('test specific release (new, full name)')
|
||||||
|
check_call('./emsdk install sdk-tag-1.38.33-64bit')
|
||||||
|
check_call('./emsdk activate sdk-tag-1.38.33-64bit')
|
||||||
|
|
||||||
print('test binaryen source build')
|
print('test binaryen source build')
|
||||||
check_call('./emsdk install --build=Release binaryen-master-64bit')
|
check_call('./emsdk install --build=Release binaryen-master-64bit')
|
||||||
|
|||||||
Reference in New Issue
Block a user