8000 [SYCL] Generate and install stripped PDBs for SYCL libraries by steffenlarsen · Pull Request #4915 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SYCL] Generate and install stripped PDBs for SYCL libraries #4915

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

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

steffenlarsen
Copy link
Contributor

Adds stripped PDB files for SYCL library and the PI plugins when building with MSVC. Full PDB files will also be generated, but only the stripped variants will be installed.

The stripped PDB files will only be generated and installed if the used linker supports the /PDBSTRIPPED option. LLD does not currently support this option. If the stripped PDB is not generated, no PDB files are installed for the SYCL libraries and PI plugins.

< 8000 div class="d-flex flex-md-row flex-column">
Adds stripped PDB files for SYCL library and the PI plugins when
building with MSVC. Full PDB files will also be generated, but only the
stripped variants will be installed.

The stripped PDB files will only be generated and installed if the used
linker supports the /PDBSTRIPPED options. LLD does not currently support
this option. If the stripped PDB is not generated, no PDB files are
installed for the SYCL libraries and PI plugins.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
Comment on lines +52 to +53
# Install stripped PDB
add_stripped_pdb(pi_cuda)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this also be done for hip plugin?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To my knowledge, the HIP plugin is not currently supported on Windows. As soon as it is, I imagine the CMake will include this entire MSVC section, adjusted for the HIP plugin.

@s-kanaev
Copy link
Contributor

@againull , @smaslov-intel , a friendly ping on review

@bader bader merged commit 6e5dd48 into intel:sycl Nov 17, 2021
@steffenlarsen steffenlarsen deleted the steffen/stripped_pdb branch December 6, 2023 11:38
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.

4 participants
0