Skip to content

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 [email protected]

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 <[email protected]>
@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