diff options
author | Daniel Bermond | 2020-07-26 19:32:10 +0000 |
---|---|---|
committer | Daniel Bermond | 2020-07-26 19:32:10 +0000 |
commit | b810be964f646ab73f3e987c035e31f6dafc95d7 (patch) | |
tree | c33c49dfcc562945387b214246dc012012cc5a05 /010-tensorrt-use-local-protobuf-sources.patch | |
parent | 931a86f254071219a20ab49e3036ba7296c77551 (diff) | |
download | aur-b810be964f646ab73f3e987c035e31f6dafc95d7.tar.gz |
Fix cub deprecation huge warnings. Use patch for local protobuf.
Diffstat (limited to '010-tensorrt-use-local-protobuf-sources.patch')
-rw-r--r-- | 010-tensorrt-use-local-protobuf-sources.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/010-tensorrt-use-local-protobuf-sources.patch b/010-tensorrt-use-local-protobuf-sources.patch new file mode 100644 index 000000000000..5e3860c6cacc --- /dev/null +++ b/010-tensorrt-use-local-protobuf-sources.patch @@ -0,0 +1,11 @@ +--- a/third_party/protobuf.cmake ++++ b/third_party/protobuf.cmake +@@ -19,7 +19,7 @@ include(ExternalProject) + # with the include dir and binaries imported + macro(configure_protobuf VERSION) + set(protobufPackage "protobuf-cpp-${VERSION}.tar.gz") +- set(Protobuf_PKG_URL "https://github.com/google/protobuf/releases/download/v${VERSION}/${protobufPackage}") ++ set(Protobuf_PKG_URL "./protobuf-cpp-${VERSION}.tar.gz") + set(Protobuf_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}) + set(Protobuf_TARGET third_party.protobuf) + |