Skip to content

Commit

Permalink
Prevent C API extension to build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
karllessard committed Feb 4, 2024
1 parent 2a4efc9 commit 90fd9c2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
resource = {"LICENSE", "THIRD_PARTY_TF_JNI_LICENSES"}),
@Platform(
value = "windows",
exclude = {
// We don't support C API extensions on Windows
"tfj_graph.h",
"tfj_scope.h",
"tfj_gradients.h"
},
preload = {
"api-ms-win-crt-locale-l1-1-0",
"api-ms-win-crt-string-l1-1-0",
Expand Down

0 comments on commit 90fd9c2

Please sign in to comment.