Skip to content
Snippets Groups Projects
Commit d46bb479 authored by Florian Angerer's avatar Florian Angerer
Browse files

Directly build GnuR's include path.

parent 14d8d305
No related branches found
No related tags found
No related merge requests found
......@@ -56,11 +56,12 @@ def _gnur_rscript():
return _mx_gnur().extensions._gnur_rscript_path()
def _gnur_include_path():
gnur_include_p = None
if _graalvm():
return _mx_gnur().extensions._gnur_include_path()
gnur_include_p = join(_mx_gnur().dir, 'gnur', _mx_gnur().extensions.r_version(), 'include')
else:
gnur_include_p = join(mx_fastr._gnur_path(), "include")
return gnur_include_p
return gnur_include_p
def _fastr_include_path():
return join(_fastr_suite_dir(), 'include')
......
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