-
Notifications
You must be signed in to change notification settings - Fork 14.7k
[flang/flang-rt] Add -isysroot flag only to tests really requiring #152914
New issue
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
Changes from 2 commits
156b6b0
2449ff8
0cef883
131e0fd
465aa39
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,12 @@ import lit.util | |
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@") | ||
config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@")) | ||
config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@" | ||
config.host_triple = "@LLVM_HOST_TRIPLE@" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why has this been added? I don't see it being used anywhere in this PR - at least not directly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is used by There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I remove this line, I'll get the following error message. We could fix
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've seen Since we would want clang to know whether it is cross-compiling, I would keep |
||
config.target_triple = "@LLVM_TARGET_TRIPLE@" | ||
config.llvm_target_triple_env = "@LLVM_TARGET_TRIPLE_ENV@" | ||
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" | ||
config.errc_messages = "@LLVM_LIT_ERRC_MESSAGES@" | ||
config.flang_source_dir = "@FLANG_SOURCE_DIR@" | ||
config.flang_obj_root = "@FLANG_BINARY_DIR@" | ||
config.flang_tools_dir = lit_config.substitute("@FLANG_TOOLS_DIR@") | ||
config.flang_intrinsic_modules_dir = "@FLANG_INTRINSIC_MODULES_DIR@" | ||
|
Uh oh!
There was an error while loading. Please reload this page.