From 710e9220b50f1160abf941f718a76b6fcc7bc401 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 18 May 2022 03:24:10 +0530 Subject: [PATCH] SWDEV-335125 - Windows: path for lld-link (#2681) Change-Id: I499ef11e2b6811d97c06bc804d65fac9fc2429b2 [ROCm/hip commit: 5e6f4ba06d89723cb26f66620a8c6a45414cd19b] --- projects/hip/bin/hipcc.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/bin/hipcc.pl b/projects/hip/bin/hipcc.pl index a2ebb9f330..24edf7c59c 100755 --- a/projects/hip/bin/hipcc.pl +++ b/projects/hip/bin/hipcc.pl @@ -155,6 +155,7 @@ if ($HIP_PLATFORM eq "amd") { # to avoid using dk linker or MSVC linker if($isWindows) { $HIPLDFLAGS .= " -fuse-ld=lld"; + $HIPLDFLAGS .= " --ld-path=$HIP_CLANG_PATH/lld-link.exe"; } $HIP_CLANG_VERSION = `$HIPCC --version`; $HIP_CLANG_VERSION=~/.*clang version (\S+).*/;