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

fix: call asm_to_inline_asm, correct lib paths and remove masm #10

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

lemire
Copy link

@lemire lemire commented Jan 3, 2024

With this PR, I am able to get a clean build with ClangCL. The PR does three things:

  1. Instead of trying to compile the snapshot asm directly, it embeds it in cc file using tools/snapshot/asm_to_inline_asm.py. It is how v8 does it.
  2. Visual Studio could not find some libraries with ClangCL when passing /WHOLEARCHIVE:nameoflib so we correct the problem by providing the full path.
  3. We remove the masm builds as they are no longer necessary.

@targos targos merged commit 12c055a into targos:clang-cl Jan 4, 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.

2 participants