-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: cmake: need to uniformize installation of libraries in CMAKE_INSTALL_LIBDIR (not lib) #89489
Comments
Add
|
Can you please share a reference to some sort of standard requiring the 64-binaries must be put in
|
|
I see your point. Please keep in mind though, that when PyTorch is build, those libs are installed inside |
馃悰 Describe the bug
Installed pytorch from source, with cmake.
In particular I noticed that some libraries are installed in a hard-coded
$DESTDIR/$CMAKE_INSTALL_PREFIX/lib
, which is not expected on x86_64 (should be.../lib64
fromCMAKE_INSTALL_LIBDIR
).Looking at the cmake files:
git grep CMAKE_INSTALL_LIBDIR git grep "DESTINATION lib"
and found issues.
So I propose to do this:
then reviewing with
git gui
or something else, to get rid of false positives (eg. test executables shouldn't go there, and it's OK for the deployed platform-agnostic.py
files to be in.../lib
).Versions
PyTorch version: 1.13.0+cu117
cc @malfet @seemethere @jbschlosser
The text was updated successfully, but these errors were encountered: