-
Couldn't load subscription status.
- Fork 25.7k
Closed
Labels
module: buildBuild system issuesBuild system issuesmodule: regressionIt used to work, and now it doesn'tIt used to work, and now it doesn'ttriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
With latest main, I get warning
CMake Warning at [..]/torch/share/cmake/Caffe2/public/cuda.cmake:150 (message):
Failed to compute shorthash for libnvrtc.so
I believe this bug was introduced by 479ce5e as cmake now attempts to use the Python::Interpreter target, which cannot be resolved within an execute_process context. Should be reverted back to:
if("${Python_EXECUTABLE}" STREQUAL "")
set(_python_exe "python3")
else()
set(_python_exe "${Python_EXECUTABLE}")
endif()
execute_process(
COMMAND "${_python_exe}" -c
Alternatively, the python executable path should be manually extracted from Python::Interpreter.
Versions
Torch version db4c7bb
malfet
Metadata
Metadata
Assignees
Labels
module: buildBuild system issuesBuild system issuesmodule: regressionIt used to work, and now it doesn'tIt used to work, and now it doesn'ttriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module