-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Better support for --llvm-root
.
#27937
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 all commits
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 |
---|---|---|
|
@@ -53,6 +53,8 @@ def convert_path_spec(name, value): | |
putenv('TARGET_RPATH_DIR', os.path.abspath(sys.argv[11])) | ||
putenv('RUST_BUILD_STAGE', sys.argv[12]) | ||
putenv('S', os.path.abspath(sys.argv[13])) | ||
putenv('RUSTFLAGS', sys.argv[15]) | ||
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. Was this necessary to pass along? It looks like this isn't used elsewhere from this patch? Also this looks like it skipped a number? 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.
Yeah, the
Didn't skip a number; 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. Hm does the run-make test need to be updated to read this variable? It looks like there aren't changes to that? 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. Indeed, fixed. |
||
putenv('LLVM_COMPONENTS', sys.argv[16]) | ||
putenv('PYTHON', sys.executable) | ||
os.putenv('TARGET', target_triple) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were these changes necessary for now? It looks like they're not needed elsewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They should be needed in
src/etc/mklldeps.py
...Huh. Somehow, that part of mklldeps didn't make it. I'll get that fixed.