Skip to content

Commit 89655ea

Browse files
authored
---
yaml --- r: 338927 b: refs/heads/rxwei-patch-1 c: ab8387d h: refs/heads/master i: 338925: 96b5fd6 338923: 2de85c7 338919: d7008f1 338911: 9afab6d
1 parent d5c6afb commit 89655ea

File tree

9 files changed

+3
-27
lines changed

9 files changed

+3
-27
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: e09fe6ddb62974e6ed2e4b942776d1fd33de1330
1018+
refs/heads/rxwei-patch-1: ab8387d4cc9e48a308aa56e9396919be6ab17d85
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/cmake/modules/AddSwift.cmake

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,16 +2206,12 @@ function(_add_swift_executable_single name)
22062206
# SWIFT_ENABLE_TENSORFLOW
22072207
set(swift_relative_library_path "../lib/swift/${SWIFT_SDK_${SWIFTEXE_SINGLE_SDK}_LIB_SUBDIR}")
22082208
is_darwin_based_sdk("${SWIFTEXE_SINGLE_SDK}" IS_DARWIN)
2209-
# NOTE: Adding "${SWIFTLIB_DIR}/linux" to the rpath is a hack solely for
2210-
# working around tests like Driver/linker.swift which copy/hard link Swift
2211-
# executables to different directories without also copying the "libs"
2212-
# directory. A more robust solution should be found.
22132209
# NOTE: Adding "${SWIFTLIB_DIR}/.." to the rpath was necessary to fix linker
22142210
# errors for Syntax/Parser tests on Linux.
22152211
if("${SWIFTEXE_SINGLE_SDK}" STREQUAL "LINUX" AND NOT "${SWIFTEXE_SINGLE_SDK}" STREQUAL "ANDROID")
2216-
set(local_rpath "$ORIGIN:$ORIGIN/${swift_relative_library_path}:${SWIFTLIB_DIR}/linux:${SWIFTLIB_DIR}/..:/usr/lib/swift/linux")
2212+
set(local_rpath "$ORIGIN:$ORIGIN/${swift_relative_library_path}:${SWIFTLIB_DIR}/..:/usr/lib/swift/linux")
22172213
elseif("${SWIFTEXE_SINGLE_SDK}" STREQUAL "CYGWIN")
2218-
set(local_rpath "$ORIGIN:$ORIGIN/${swift_relative_library_path}:${SWIFTLIB_DIR}/cygwin:${SWIFTLIB_DIR}/..:/usr/lib/swift/cygwin")
2214+
set(local_rpath "$ORIGIN:$ORIGIN/${swift_relative_library_path}:${SWIFTLIB_DIR}/..:/usr/lib/swift/cygwin")
22192215
endif()
22202216
# END SWIFT_ENABLE_TENSORFLOW
22212217

branches/rxwei-patch-1/test/Driver/driver-compile.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
2-
// UNSUPPORTED: tensorflow
3-
41
// RUN: %empty-directory(%t)
52

63
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt

branches/rxwei-patch-1/test/Driver/linker-clang_rt.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
2-
// UNSUPPORTED: tensorflow
3-
41
// Make sure that the platform-appropriate clang_rt library (found relative to
52
// the compiler) is included when using Swift as a linker (with Apple targets).
63

branches/rxwei-patch-1/test/Driver/linker.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// Must be able to run xcrun-return-self.sh
22
// REQUIRES: shell
3-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
4-
// UNSUPPORTED: tensorflow
5-
63
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt
74
// RUN: %FileCheck %s < %t.simple.txt
85
// RUN: %FileCheck -check-prefix SIMPLE %s < %t.simple.txt

branches/rxwei-patch-1/test/Driver/options-repl-darwin.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
2-
// UNSUPPORTED: tensorflow
3-
41
// REQUIRES: OS=macosx
52

63
// Test LLDB detection, first in a clean environment, then in one that looks

branches/rxwei-patch-1/test/Driver/options-repl.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
2-
// UNSUPPORTED: tensorflow
3-
41
// RUN: not %swift -repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s
52
// RUN: not %swift_driver -sdk "" -repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s
63
// RUN: not %swift_driver -sdk "" -lldb-repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s

branches/rxwei-patch-1/test/Driver/static-stdlib.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// Statically link a "hello world" program
2-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because TensorFlow currently doesn't work with static-stdlib.
3-
// UNSUPPORTED: tensorflow
42
// XFAIL: linux, win32
53
// REQUIRES: static_stdlib
64
// REQUIRES: executable_test

branches/rxwei-patch-1/test/Driver/subcommands.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
// REQUIRES: shell
2-
// SWIFT_ENABLE_TENSORFLOW: This test is unsupported because moving Swift executables without the TensorFlow libraries causes dynamic linking to fail.
3-
// UNSUPPORTED: tensorflow
4-
52
// Check that 'swift' and 'swift repl' invoke the REPL.
63

74
// RUN: rm -rf %t.dir

0 commit comments

Comments
 (0)