We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19cbcc commit b237dc9Copy full SHA for b237dc9
tools/build_pytorch_libs.sh
@@ -281,6 +281,12 @@ function build_caffe2() {
281
# STOP!!! Are you trying to add a C or CXX flag? Add it
282
# to CMakeLists.txt and aten/CMakeLists.txt, not here.
283
# We need the vanilla cmake build to work.
284
+
285
+ # This is needed by the aten tests built with caffe2
286
+ if [ -f "${INSTALL_DIR}/lib/libnccl.so" ] && [ ! -f "lib/libnccl.so.1" ]; then
287
+ cp "${INSTALL_DIR}/lib/libnccl.so.1" "lib/libnccl.so.1"
288
+ fi
289
290
${CMAKE_INSTALL} -j"$MAX_JOBS"
291
292
# Install Python proto files
0 commit comments