git clone --recursive https://github.com/pytorch/pytorch cd pytorch # if you are updating an existing checkout git submodule syncu git submodule update --init--recursive--jobs 0
CMake Error at third_party/protobuf/cmake/protoc.cmake:11 (add_executable): The install ofthe protoc target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step. Call Stack (most recent call first): third_party/protobuf/cmake/CMakeLists.txt:258 (include)
CMake Error at third_party/tensorpipe/third_party/libuv/CMakeLists.txt:338 (add_library): The install ofthe uv target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step.
CMake Error at third_party/tensorpipe/third_party/libuv/CMakeLists.txt:338 (add_library): The install ofthe uv target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step.
CMake Error at third_party/foxi/CMakeLists.txt:97 (add_library): The install ofthe foxi_dummy target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step.
CMake Error at third_party/foxi/CMakeLists.txt:97 (add_library): The install ofthe foxi_dummy target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step.
CMake Error at third_party/foxi/CMakeLists.txt:70 (add_library): The install ofthe foxi_wrapper target requires changing an RPATH fromthe build tree, but this is not supported withthe Ninja generator unless onan ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be setto avoid this relinking step.