Skip to content

Commit

Permalink
[FBcode->GH] Bump SoLoader and Allow building torchvision operators s…
Browse files Browse the repository at this point in the history
…tatically (#7342)

Co-authored-by: Eric Sauser <[email protected]>
Co-authored-by: Sim Sun <[email protected]>
  • Loading branch information
3 people authored Feb 27, 2023
1 parent 8ee4d59 commit 126e3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ allprojects {

androidSupportAppCompatV7Version = "28.0.0"
fbjniJavaOnlyVersion = "0.0.3"
soLoaderNativeLoaderVersion = "0.10.4"
soLoaderNativeLoaderVersion = "0.10.5"
pytorchAndroidVersion = "1.12"
}

Expand Down
2 changes: 1 addition & 1 deletion torchvision/csrc/macros.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#ifdef _WIN32
#if defined(_WIN32) && !defined(TORCHVISION_BUILD_STATIC_LIBS)
#if defined(torchvision_EXPORTS)
#define VISION_API __declspec(dllexport)
#else
Expand Down

0 comments on commit 126e3e7

Please sign in to comment.