Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
[GR-8627] Support passing -k to HotSpot build.
Browse files Browse the repository at this point in the history
PullRequest: graal-jvmci-8/41
  • Loading branch information
tkrodriguez committed Mar 5, 2018
2 parents 6a4b077 + 0d2dde1 commit c0cc87c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mx.jvmci/mx_jvmci.py
Expand Up @@ -878,6 +878,8 @@ def filterXusage(line):
cpus = mx.cpu_count()
makeDir = join(_suite.dir, 'make')
runCmd = [mx.gmake_cmd(), '-C', makeDir]
if self.args.keep_going:
runCmd += ['-k']

env = os.environ.copy()

Expand Down Expand Up @@ -1030,6 +1032,7 @@ def parse_args(self, args):
# Call mx.build to compile the Java sources
parser = AP()
parser.add_argument('-D', action='append', help='set a HotSpot build variable (run \'mx buildvars\' to list variables)', metavar='name=value')
parser.add_argument('-k', '--keep-going', action='store_true', help='Pass -k to make command')

# initialize jdk
get_jvmci_jdk_dir(create=True)
Expand Down

0 comments on commit c0cc87c

Please sign in to comment.