You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: imported version of sulong in truffleruby (89aaf87268) does not match parent (aa6d8e07a6)
96
-
You might want to run "mx sforceimports" to use the imported version or update the import with "mx scheckimports"
94
+
...
95
+
NOTE: Set env variable JT_IMPORTS_DONT_ASK to always answer 'no' to this prompt.
96
+
97
+
WARNING: imported version of sulong in truffleruby (ae65c10142907329e03ad8e3fa17b88aca42058d) does not match parent (1bf42ddef0e4961cbb92ebc31019747fd1c15f1a)
98
+
Do you want to checkout the supported version of graal as specified in truffleruby's suite.py? (runs `mx sforceimports`) [y/n]
99
+
...
97
100
```
98
101
99
102
This warning is important.
100
-
If you did not create new commits in `graal`, you will typically need to run `jt mx sforceimports`
101
-
so that a known compatible commit of `graal` is used (that commit is recorded in `mx.truffleruby/suite.py`).
102
103
103
-
This is not done automatically, because sometimes you might want to have changes in `graal`,
104
-
and because developers of the Truffle or Sulong team typically want to use a different commit of `graal` to test their changes.
104
+
- If you did not create new commits in `graal`, this means the graal import was bumped in `suite.py` and you need
105
+
to answer `y` to this prompt, which will be equivalent to running `jt mx sforceimports` before proceeding.
106
+
- If you did create new `graal` commits, you should answer `n` or set `JT_IMPORTS_DONT_ASK` (to any value) to
107
+
automatically do so.
108
+
- If you want to set the `suite.py` import to that checked out in `graal` (unlikely), you should run
* use the version of graal in suite.py, then use "jt build --sforceimports", useful when building TruffleRuby and not changing graal at the same time (most common)
2020
+
* update the graal version in suite.py, then use "mx scheckimports", useful when explicitly updating the default graal version of TruffleRuby (rare)
2021
+
* test TruffleRuby with a different graal version with your own changes in graal, then you can ignore this warning
2022
+
MESSAGE
2023
+
end
2024
+
end
2025
+
false
2026
+
else
2027
+
# Ask to update imports.
2028
+
with_color(TERM_COLOR_RED)do
2029
+
puts"\nNOTE: Set env variable JT_IMPORTS_DONT_ASK to always answer 'no' to this prompt.\n\n"
2030
+
putsscheckimports_output
2031
+
input=''
2032
+
until%w(yn).include?input
2033
+
print'Do you want to checkout the supported version of graal as specified in truffleruby\'s suite.py? (runs `mx sforceimports`) [y/n] '
0 commit comments