Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

[debian] Change directory path of ld.so.conf #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

braiam
Copy link

@braiam braiam commented Apr 10, 2020

ldconfig doesn't seems to like the path ended in x86_64, it
produces the following:

/opt/rocm-3.3.0/opencl/lib/x86_64: (hwcap: 0x0000000000000002)

and libraries aren't listed in the ld.cache. Removing the suffix allows
the linker to properly cache the cl libraries. Also it maintains
consistency with other ld.so.conf files of the ROCm project.


This change is Reviewable

ldconfig doesn't seems to like the path ended in x86_64, it
produces the following:

/opt/rocm-3.3.0/opencl/lib/x86_64: (hwcap: 0x0000000000000002)

and libraries aren't listed in the ld.cache. Removing the suffix allows
the linker to properly cache the cl libraries. Also it maintains
consistency with other ld.so.conf files of the ROCm project.
@braiam
Copy link
Author

braiam commented Apr 10, 2020

Technically, this file should be present in the directory rather than being created from a postinst script, but I didn't find the packager repository to fix this.

@vsytch
Copy link
Contributor

vsytch commented Apr 11, 2020

The change has already been made internally and will be available in a future ROCm release.

@braiam
Copy link
Author

braiam commented Jul 24, 2020

@vsytch has the internal version been released? For some reason the deb repository is broken right now and can't verify.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants