[cfe-commits] r146176 - in /cfe/trunk/test/Driver: ./ Inputs/suse_10.3_ppc64_tree/ Inputs/suse_10.3_ppc64_tree/lib/ Inputs/suse_10.3_ppc64_tree/lib64/ Inputs/suse_10.3_ppc64_tree/usr/ Inputs/suse_10.3_ppc64_tree/usr/lib/ Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/ Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/ Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/ Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/ Inputs/suse_10.3_ppc64_tree/usr/lib64/
Hal Finkel
hfinkel at anl.gov
Thu Dec 8 12:36:19 PST 2011
Author: hfinkel
Date: Thu Dec 8 14:36:19 2011
New Revision: 146176
URL: http://llvm.org/viewvc/llvm-project?rev=146176&view=rev
Log:
add tree test for suse on ppc64 (r146142)
Added:
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib/.keep
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib64/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib64/.keep
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/crtbegin.o
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/crtbegin.o
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib64/
cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib64/.keep
Modified:
cfe/trunk/test/Driver/linux-ld.c
Added: cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib/.keep
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib/.keep?rev=146176&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib64/.keep
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/lib64/.keep?rev=146176&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/crtbegin.o
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/crtbegin.o?rev=146176&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/crtbegin.o
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib/gcc/powerpc64-suse-linux/4.1.2/crtbegin.o?rev=146176&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib64/.keep
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib64/.keep?rev=146176&view=auto
==============================================================================
(empty)
Modified: cfe/trunk/test/Driver/linux-ld.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/linux-ld.c?rev=146176&r1=146175&r2=146176&view=diff
==============================================================================
--- cfe/trunk/test/Driver/linux-ld.c (original)
+++ cfe/trunk/test/Driver/linux-ld.c Thu Dec 8 14:36:19 2011
@@ -159,3 +159,15 @@
// CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../.."
// CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/lib"
// CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib"
+//
+// Test the setup that shipped in SUSE 10.3 on ppc64.
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN: -ccc-host-triple powerpc64-suse-linux \
+// RUN: --sysroot=%S/Inputs/suse_10.3_ppc64_tree \
+// RUN: | FileCheck --check-prefix=CHECK-SUSE-10-3-PPC64 %s
+// CHECK-SUSE-10-3-PPC64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
+// CHECK-SUSE-10-3-PPC64: "{{.*}}/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64/crtbegin.o"
+// CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64"
+// CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-suse-linux/4.1.2/../../../../lib64"
+// CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/lib/../lib64"
+// CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/../lib64"
More information about the cfe-commits
mailing list