Skip to content

Commit 1a04f32

Browse files
authored
[NFC][AOT] Don't use link flags at compile only stage (#3625)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent ef77825 commit 1a04f32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/test/unit/tools/test_aot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ def kernel(C, A, B, M, N, K,
102102
def gen_kernel_library_xpu(dir, libname):
103103
cpp_files = glob.glob(os.path.join(dir, "*.cpp"))
104104
subprocess.run(
105-
["g++"] + cpp_files + ["-I" + include_dir for include_dir in COMPILATION_HELPER.include_dir] +
106-
["-L" + dir for dir in COMPILATION_HELPER.libsycl_dir] + ["-c", "-lsycl", "-fPIC"],
105+
["g++"] + cpp_files + ["-I" + include_dir for include_dir in COMPILATION_HELPER.include_dir] + ["-c", "-fPIC"],
107106
check=True,
108107
cwd=dir,
109108
)

0 commit comments

Comments
 (0)