Skip to content

[SYCL] Fix backwards compatibility for libraries in archive format #4685

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 1 commit into from
Oct 3, 2021

Conversation

AGindinson
Copy link
Contributor

With -sycldevice triple environment removal (as performed in
#3929), backwards compatibility has been enforced for SYCL
objects/object-format libraries only. To ensure that .a libraries
(archives) built by older compiler versions are usable with newer
compiler version, adjust clang-offload-deps to consider
-sycldevice-marked symbols when encountering a SYCL target.

Signed-off-by: Artem Gindinson artem.gindinson@intel.com

With `-sycldevice` triple environment removal (as performed in
intel#3929), backwards compatibility has been enforced for SYCL
objects/object-format libraries only. To ensure that `.a` libraries
(archives) built by older compiler versions are usable with newer
compiler version, adjust `clang-offload-deps` to consider
`-sycldevice`-marked symbols when encountering a SYCL target.

Signed-off-by: Artem Gindinson <artem.gindinson@intel.com>
@againull againull merged commit 53308b1 into intel:sycl Oct 3, 2021
@AGindinson AGindinson deleted the clang-offload-deps-sycldevice branch January 1, 2023 12:13
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