[PATCH] D24476: [CMake] Fix linker-as-ld to symlink instead of copy lld

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 15:47:18 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281271: [CMake] Fix linker-as-ld to symlink instead of copy lld (authored by cbieneman).

Changed prior to commit:
  https://reviews.llvm.org/D24476?vs=71060&id=71068#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24476

Files:
  lld/trunk/test/mach-o/linker-as-ld.yaml

Index: lld/trunk/test/mach-o/linker-as-ld.yaml
===================================================================
--- lld/trunk/test/mach-o/linker-as-ld.yaml
+++ lld/trunk/test/mach-o/linker-as-ld.yaml
@@ -1,7 +1,7 @@
 # REQUIRES: system-linker-mach-o
 #
-# RUN: mkdir -p %t.dir && cp `which lld` %t.dir/ld \
-# RUN:  && %t.dir/ld -arch x86_64 -macosx_version_min 10.8 %s \
+# RUN: rm -rf %T/ld && ln -s `which lld` %T/ld \
+# RUN:  && %T/ld -arch x86_64 -macosx_version_min 10.8 %s \
 # RUN: %p/Inputs/linker-as-ld.yaml -o %t \
 # RUN:  && llvm-nm %t | FileCheck %s
 #


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24476.71068.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/6281d042/attachment.bin>


More information about the llvm-commits mailing list