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

Simplify conditions

parent 50a76e65
No related branches found
No related tags found
No related merge requests found
...@@ -548,14 +548,11 @@ def nativebuild(args): ...@@ -548,14 +548,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.suite("sulong", fatalIfMissing=False): if mx.suite("sulong", fatalIfMissing=False) and not _fastr_suite.isBinarySuite():
# native.recommended runs FastR, it already has a build dependency to the FASTR distribution # 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 # if we are running with sulong we also need the SULONG distribution
rec = mx.project('com.oracle.truffle.r.native.recommended', fatalIfMissing=False) rec = mx.project('com.oracle.truffle.r.native.recommended')
if rec: rec.buildDependencies += [mx.distribution('SULONG')]
rec.buildDependencies += [mx.distribution('SULONG')]
else:
assert _fastr_suite.isBinarySuite()
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.
Finish editing this message first!
Please register or to comment