# HG changeset patch # User Roland Schatz # Date 1455036447 -3600 # Node ID c75c5e73fd65c5f2b171051ae8cca50dd33ec33c # Parent 7b09dede4552286e16522cf600f81cb7ccb19fd4 Deploy all JVM_{product,fastdebug}_{jvmci,server} variants. diff -r 7b09dede4552 -r c75c5e73fd65 mx.jvmci/mx_jvmci.py --- a/mx.jvmci/mx_jvmci.py Mon Feb 08 10:05:21 2016 +0100 +++ b/mx.jvmci/mx_jvmci.py Tue Feb 09 17:47:27 2016 +0100 @@ -1676,12 +1676,20 @@ run_vm(['-javaagent:' + joljar, '-cp', os.pathsep.join([mx.classpath(), joljar]), "org.openjdk.jol.MainObjectInternals"] + candidates) +def deploy_binary(args): + for vmbuild in ['product', 'fastdebug']: + for vm in ['jvmci', 'server']: + if vmbuild != _vmbuild and vm != get_vm(): + mx.instantiateDistribution('JVM__', dict(vmbuild=vmbuild, vm=vm)) + mx.deploy_binary(args) + mx.update_commands(_suite, { 'build': [build, ''], 'buildjmh': [buildjmh, '[-options]'], 'buildvars': [buildvars, ''], 'buildvms': [buildvms, '[-options]'], 'c1visualizer' : [c1visualizer, ''], + 'deploy-binary' : [deploy_binary, ''], 'export': [export, '[-options] [zipfile]'], 'hsdis': [hsdis, '[att]'], 'hcfdis': [hcfdis, ''],