-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[stdlib] [benchmarks] [NFC] Fix benchmarking for public repo #4054
Conversation
Signed-off-by: martinvuyk <[email protected]>
Signed-off-by: martinvuyk <[email protected]>
@Ahajha is this PR still needed? You recently removed these nightly variables. |
My guess is no, but I'd like to understand the issue. I assume at time of writing, A while back (December-ish) the nightly config sections were merged into the normal config sections (so no more distinction between |
@Ahajha exactly
Maybe it was around that date that I noticed it not working anymore. I've been using it mostly for PR #3528 and some few others. But since I don't use it that often I can't remember when exactly it broke. But it did work for a while executing it with magic when I added the code in PR #3697 and when PR #3825 was merged |
I merged a change last week that moved this variable to the non- |
@Ahajha still getting the same error in PR #3528 because I changed the return type of the function in-tree
|
@martinvuyk Thanks for checking, I'll take a look then. |
Haven't forgotten about this - I am going to try to get to it this week. |
Fix benchmarking for public repo. This uses a dirty trick of replacing magic's
lib/mojo/stdlib.mojopkg
because otherwise settingMODULAR_MOJO_NIGHTLY_IMPORT_PATH
to the build directory doesn't actually work.I tried using
mojo run --disable-builtins -I ${BUILD_DIR}
to make it import stdlib from there but it doesn't work.Just running the script (
lit.cfg.py
settingMODULAR_MOJO_NIGHTLY_IMPORT_PATH
) used to work before the switch to magic.