Skip to content

Commit

Permalink
Restore Javacpp config layout
Browse files Browse the repository at this point in the history
  • Loading branch information
karllessard committed Feb 4, 2024
1 parent 466ee93 commit fea58f2
Showing 1 changed file with 9 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@
@Platform(
value = {"linux", "macosx", "windows"},
compiler = "cpp17",
extension = {"-gpu"},
resource = {"LICENSE", "THIRD_PARTY_TF_JNI_LICENSES"}
),
@Platform(
value = {"linux", "macosx"},
include = {
"tensorflow/tsl/platform/ctstring_internal.h",
"tensorflow/tsl/platform/ctstring.h",
Expand All @@ -70,25 +65,18 @@
"tfj_scope.h",
"tfj_gradients.h",
},
link = {"[email protected]", "[email protected]"}
link = {"[email protected]", "[email protected]"},
resource = {"LICENSE", "THIRD_PARTY_TF_JNI_LICENSES"},
extension = {"-gpu"}
),
@Platform(
value = "windows",
include = {
"tensorflow/tsl/platform/ctstring_internal.h",
"tensorflow/tsl/platform/ctstring.h",
"tensorflow/tsl/c/tsl_status.h",
"tensorflow/c/c_api_macros.h",
"tensorflow/c/tf_datatype.h",
"tensorflow/c/tf_status.h",
"tensorflow/c/tf_buffer.h",
"tensorflow/c/tf_tensor.h",
"tensorflow/c/tf_attrtype.h",
"tensorflow/c/c_api.h",
"tensorflow/c/tf_tstring.h",
"tensorflow/c/eager/c_api.h",
"tensorflow/c/eager/c_api_experimental.h",
exclude = {
"tfj_graph.h",
"tfj_scope.h",
"tfj_gradients.h",
},
link = {"tensorflow"},
preload = {
"api-ms-win-crt-locale-l1-1-0",
"api-ms-win-crt-string-l1-1-0",
Expand Down Expand Up @@ -136,8 +124,7 @@
"msvcr120",
"libiomp5md",
"mklml"
},
link = {"tensorflow"}
}
),
@Platform(
value = "windows-x86_64",
Expand Down

0 comments on commit fea58f2

Please sign in to comment.