Skip to content

Conversation

@BruceForstall
Copy link
Contributor

No description provided.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 17, 2021
@BruceForstall
Copy link
Contributor Author

Issue: #48376

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now realized that the error could be because we are not running bootstrap inside jitutils_directory. I deleted _cwd from run_command, but I guess it should be there and we should continue passing jitutils_directory as current working directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh; I deleted this arg because it was "extra", but maybe the cwd should be there? But I still think we should invoke the shell script first to ensure the .dotnet directory is there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, cwd should be there so we can run it inside jitutils_directory. That should fix the problem.

And yes, we can run dotnet --info just to be sure.

@BruceForstall BruceForstall force-pushed the AttemptLinuxCollectionFix branch from 16ffb2c to 1b8d37d Compare February 17, 2021 08:04
Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor changes needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comma: _cwd=None,

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: _cwd

1. Run dotnet for jitutils with jitutils dir as the current working dir.
2. Run dotnet.sh/cmd script before running bootstrap (and `dotnet restore`)
to ensure `.dotnet` directory exists.
@BruceForstall BruceForstall force-pushed the AttemptLinuxCollectionFix branch from 1b8d37d to 18dc018 Compare February 18, 2021 08:52
@BruceForstall
Copy link
Contributor Author

@BruceForstall BruceForstall merged commit 20bba79 into dotnet:master Feb 18, 2021
@BruceForstall BruceForstall deleted the AttemptLinuxCollectionFix branch February 18, 2021 19:10
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants