Skip to content

Commit 0629d3f

Browse files
author
marcrasi
authored
fix tensorflow headers install location (#29417)
The compiler and the repl search for headers at `lib/swift`. The tensorflow headers have includes like `#include "tensorflow/c/bla.h"`. This change moves the tensorflow headers so that these includes get found successfully.
1 parent 677a671 commit 0629d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/TensorFlow/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ add_swift_target_library(swiftTensorFlow ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_
7272

7373

7474
swift_install_in_component(DIRECTORY ${TF_INCLUDE_DIR}/tensorflow/c/
75-
DESTINATION lib/swift/tensorflow/tensorflow/c
75+
DESTINATION lib/swift/tensorflow/c
7676
COMPONENT stdlib
7777
FILES_MATCHING
7878
PATTERN c_api.h

0 commit comments

Comments
 (0)