Skip to content
Snippets Groups Projects
Commit d35db4c4 authored by Gilles Duboscq's avatar Gilles Duboscq
Browse files

Add conditional build dependency to SULONG for native.recommended

parent 8306926e
Branches
No related tags found
No related merge requests found
# #
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
...@@ -530,6 +530,11 @@ def nativebuild(args): ...@@ -530,6 +530,11 @@ def nativebuild(args):
def mx_post_parse_cmd_line(opts): def mx_post_parse_cmd_line(opts):
mx_fastr_dists.mx_post_parse_cmd_line(opts) mx_fastr_dists.mx_post_parse_cmd_line(opts)
if _mx_sulong:
# native.recommended runs FastR, it already has a build dependency to the FASTR distribution
# if we are running with sulong we also need the SULONG distribution
rec = mx.project('com.oracle.truffle.r.native.recommended')
rec.buildDependencies += [mx.distribution('SULONG')]
mx_unittest.add_config_participant(_unittest_config_participant) mx_unittest.add_config_participant(_unittest_config_participant)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment