We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
FEATURE_INTERPRETER and CROSSGEN_COMPILE are mutually exclusive dotnet/coreclr#11252
FEATURE_INTERPRETER
CROSSGEN_COMPILE
So how to disable CROSSGEN_COMPILE? skipcrossgen doesn't work:
./build.sh cmakeargs "-DFEATURE_INTERPRETER=1" skipcrossgen ... /home/loongson/zhaixiang/coreclr/src/inc/switches.h:199:9: warning: defined(FEATURE_INTERPRETER) && defined(CROSSGEN_COMPILE) [-W#pragma-messages] #pragma message("defined(FEATURE_INTERPRETER) && defined(CROSSGEN_COMPILE)") ^
Then FEATURE_INTERPRETER is undefined, not be enabled https://github.com/dotnet/coreclr/issues/17294#issuecomment-493071519
diff --git a/src/inc/switches.h b/src/inc/switches.h index 6003460..7f735f3 100644 --- a/src/inc/switches.h +++ b/src/inc/switches.h @@ -196,5 +196,6 @@ #endif // !defined(CROSSGEN_COMPILE) #if defined(FEATURE_INTERPRETER) && defined(CROSSGEN_COMPILE) +#pragma message("defined(FEATURE_INTERPRETER) && defined(CROSSGEN_COMPILE)") #undef FEATURE_INTERPRETER #endif
Please give me some hint about how to SkipCrossgen.
Thanks, Leslie Zhai
The text was updated successfully, but these errors were encountered:
You can try adding DFEATURE_INTERPRETER to remove_definitions section in https://github.com/dotnet/coreclr/blob/master/crossgen.cmake to make this cleaner.
DFEATURE_INTERPRETER
remove_definitions
Sorry, something went wrong.
Hi @jkotas
Thanks for your kind response!
Another question is how to just enable FEATURE_INTERPRETER but disable CROSSGEN_COMPILE for hacking Interpreter.
Hi @jkotas and @RussKeldorph
Please review it dotnet/coreclr#24653
Successfully merging a pull request may close this issue.
Hi,
FEATURE_INTERPRETER
andCROSSGEN_COMPILE
are mutually exclusive dotnet/coreclr#11252So how to disable
CROSSGEN_COMPILE
? skipcrossgen doesn't work:Then
FEATURE_INTERPRETER
is undefined, not be enabled https://github.com/dotnet/coreclr/issues/17294#issuecomment-493071519Please give me some hint about how to SkipCrossgen.
Thanks,
Leslie Zhai
The text was updated successfully, but these errors were encountered: