[flang-commits] [flang] [flang] Allow different linker name (PR #77849)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Fri Jan 12 08:39:31 PST 2024


================
@@ -6,7 +6,7 @@
 ! RUN: %flang -### --target=aarch64-linux-gnu -isysroot /path/to/sysroot \
 ! RUN:        %s 2>&1 | FileCheck %s --check-prefix=CHECK-LINUX
 
-! CHECK-DARWIN: "{{.*[\/]}}ld" {{.*}}"-syslibroot" "/path/to/sysroot"
+! CHECK-DARWIN: "{{.*[\/]}}ld{{(64)?(\.lld)?}}" {{.*}}"-syslibroot" "/path/to/sysroot"
----------------
luporl wrote:

There is a Windows buildbot that uses "ld" only in the linker command line: https://lab.llvm.org/buildbot/#/builders/120/builds/6174.
I guess it's better to remove the `[\/]` part, or make it optional.

https://github.com/llvm/llvm-project/pull/77849


More information about the flang-commits mailing list