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

Updating the build doc #705

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Updating the build doc #705

merged 1 commit into from
Dec 11, 2024

Conversation

NeilMonday
Copy link
Contributor

Hello snmalloc developers. I was going through the build in my project and saw a couple of things that might need updating.

First, it looks like Visual Studio 15 aligns with 2017, not 2019.

It appears this style of generator name "Visual Studio 15 2019 Win64" are for compatibility with CMake versions before 3.1 which was around 2014. In modern CMake, the Visual Studio generator is specified like so:

cmake -G "Visual Studio 15 2017" -A Win32
cmake -G "Visual Studio 15 2017" -A x64
cmake -G "Visual Studio 15 2017" -A ARM
cmake -G "Visual Studio 15 2017" -A ARM64

Since you mention VS 2022 being used in CI regularly, it seems like that should be the generator used in the doc.

The path to malloc.cc and new.cc seem incorrect. Maybe it changed overtime and wasn't updated in the doc.

@mjp41 mjp41 enabled auto-merge (squash) December 11, 2024 18:25
@mjp41
Copy link
Member

mjp41 commented Dec 11, 2024

Thanks for fixing the docs.

@mjp41 mjp41 merged commit eca2b93 into microsoft:main Dec 11, 2024
49 of 53 checks passed
@mjp41 mjp41 mentioned this pull request Dec 11, 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