Skip to content
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

[xpu] [Windows] Do not reset %LIB% on Windows after building torch #593

Open
wants to merge 1 commit into
base: xpu-main
Choose a base branch
from

Conversation

CarlGao4
Copy link

When I'm building ipex on Windows, I noticed that torchaudio, torchvision and ipex will fail after successfully building torch. After I removed the block building PyTorch and restart cmd.exe, the rest was compiled successfully. I forgot to save the error message, but the main idea is that lib not found (like kernel32.lib).
Then I noticed in compile_bundle.bat that set "LIB=" will actually delete this variable! Then the compiler won't find static libs in default VS lib paths, so kernel32.lib will not be found.

@CarlGao4 CarlGao4 requested a review from gujinghui as a code owner April 16, 2024 03:46
@CarlGao4 CarlGao4 changed the title Do not reset %LIB% on Windows after building torch [xpu] [Windows] Do not reset %LIB% on Windows after building torch Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant