Skip to content

[Clang][Doc][NFC] Improve -offload-compress documentation and error message #17990

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 5 commits into from
Apr 16, 2025

Conversation

uditagarwal97
Copy link
Contributor

@uditagarwal97 uditagarwal97 commented Apr 12, 2025

Based on the user's feedback in #17957 and #17914

@uditagarwal97 uditagarwal97 self-assigned this Apr 12, 2025
@uditagarwal97 uditagarwal97 changed the title [Clang][Doc][NFC] Improve zstd and -offload-compress documentation and error message [Clang][Doc][NFC] Improve -offload-compress documentation and error message Apr 12, 2025
@uditagarwal97 uditagarwal97 marked this pull request as ready for review April 12, 2025 18:44
@uditagarwal97 uditagarwal97 requested review from a team as code owners April 12, 2025 18:44
Copy link
Contributor

@maarquitos14 maarquitos14 left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

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

lgtm just nits

```sh
sudo apt-get install libzstd-dev
```
Note that the libzstd-dev package provided on Ubuntu 24.04 has a bug and the zstd static library is not built with `-fPIC` flag. Linking to this library will result in a build failure. For example: [Issue#15935](https://github.com/intel/llvm/issues/15935). As an alternative, zstd can be built from source either manually or by using the [build_zstd_1_5_6_ub24.sh](https://github.com/intel/llvm/blob/sycl/devops/scripts/build_zstd_1_5_6_ub24.sh) script.
Copy link
Contributor

Choose a reason for hiding this comment

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

might be helpful to link to the launchpad bug here so people can know when its fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Done in d498a14

@uditagarwal97
Copy link
Contributor Author

@steffenlarsen ping.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

I think it looks good, but I have a couple small comments.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

@uditagarwal97 uditagarwal97 merged commit d466092 into sycl Apr 16, 2025
37 of 39 checks passed
@bader bader deleted the improve_zstd_doc branch May 1, 2025 22:42
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.

5 participants