Skip to content

Commit

Permalink
add sycl linkage only when using dpc
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes-intel committed Sep 20, 2024
1 parent 0df7a11 commit 0e8dfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/bazel/toolchains/cc_toolchain_lnx.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _preapre_builtin_include_directory_paths(repo_ctx, tools):
"-xc++",
get_no_canonical_prefixes_opt(repo_ctx, tools.dpcc) +
_add_gcc_toolchain_if_needed(repo_ctx, tools.dpcc) +
_add_sycl_linkage(repo_ctx, tools.dpcc),
_add_sycl_linkage(repo_ctx, tools.dpcc) if tools.is_dpc_found else [],
) +
required_tmp_includes,
)
Expand Down

0 comments on commit 0e8dfdb

Please sign in to comment.