Skip to content

Commit 2dbf281

Browse files
committed
[GR-15540] Fix building TruffleRuby with TruffleRuby in $PATH.
PullRequest: truffleruby/823
2 parents 746d9ff + 45e8a27 commit 2dbf281

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def miniruby_for_building_cexts(args):
6565
mx_binary = join(mx._mx_home, 'mx')
6666
options = [
6767
'--experimental-options',
68+
'--building-core-cexts',
6869
'--home=' + root,
6970
'--launcher=' + mx_binary + ' -p ' + root + ' miniruby_for_building_cexts',
7071
'--disable-gems'

mx.truffleruby/suite.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@
260260
"sulong:SULONG_LEGACY", # truffle.h
261261
],
262262
"buildEnv": {
263-
"TRUFFLERUBYOPT": "--building-core-cexts",
264263
"NFI_HEADERS_DIR": "<path:truffle:TRUFFLE_NFI_NATIVE>/include",
265264
"SULONG_HEADERS_DIR": "<path:SULONG_HOME>/include",
266265
"SULONG_POLYGLOT_H": "<path:SULONG_HOME>/include/polyglot.h",

0 commit comments

Comments
 (0)