File tree Expand file tree Collapse file tree 9 files changed +3
-27
lines changed Expand file tree Collapse file tree 9 files changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
1015
1015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
1016
1016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
1017
1017
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
1019
1019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
1020
1020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
1021
1021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9
Original file line number Diff line number Diff line change @@ -2206,16 +2206,12 @@ function(_add_swift_executable_single name)
2206
2206
# SWIFT_ENABLE_TENSORFLOW
2207
2207
set (swift_relative_library_path "../lib/swift/${SWIFT_SDK_${SWIFTEXE_SINGLE_SDK} _LIB_SUBDIR}" )
2208
2208
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.
2213
2209
# NOTE: Adding "${SWIFTLIB_DIR}/.." to the rpath was necessary to fix linker
2214
2210
# errors for Syntax/Parser tests on Linux.
2215
2211
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" )
2217
2213
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" )
2219
2215
endif ()
2220
2216
# END SWIFT_ENABLE_TENSORFLOW
2221
2217
Original file line number Diff line number Diff line change 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
-
4
1
// RUN: %empty-directory(%t)
5
2
6
3
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt
Original file line number Diff line number Diff line change 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
-
4
1
// Make sure that the platform-appropriate clang_rt library (found relative to
5
2
// the compiler) is included when using Swift as a linker (with Apple targets).
6
3
Original file line number Diff line number Diff line change 1
1
// Must be able to run xcrun-return-self.sh
2
2
// 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
-
6
3
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt
7
4
// RUN: %FileCheck %s < %t.simple.txt
8
5
// RUN: %FileCheck -check-prefix SIMPLE %s < %t.simple.txt
Original file line number Diff line number Diff line change 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
-
4
1
// REQUIRES: OS=macosx
5
2
6
3
// Test LLDB detection, first in a clean environment, then in one that looks
Original file line number Diff line number Diff line change 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
-
4
1
// RUN: not %swift -repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s
5
2
// RUN: not %swift_driver -sdk "" -repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s
6
3
// RUN: not %swift_driver -sdk "" -lldb-repl %s 2>&1 | %FileCheck -check-prefix=REPL_NO_FILES %s
Original file line number Diff line number Diff line change 1
1
// 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
4
2
// XFAIL: linux, win32
5
3
// REQUIRES: static_stdlib
6
4
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// 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
-
5
2
// Check that 'swift' and 'swift repl' invoke the REPL.
6
3
7
4
// RUN: rm -rf %t.dir
You can’t perform that action at this time.
0 commit comments