Skip to content

SWDEV-505204 - Update install location of libamdocl.so - #231

Closed
rocm-devops wants to merge 1 commit into
amd-stagingfrom
raramakr/SWDEV-505204
Closed

rocm-devops wants to merge 1 commit into
amd-stagingfrom
raramakr/SWDEV-505204

Conversation

@rocm-devops

Copy link
Copy Markdown
Contributor

ldconfig is run as part of rocm-opencl package installation. Adding /opt/rocm/lib to ldconfig will expose all other ROCm libraries. Install libamdocl.so in /opt/rocm-xxx/lib/opencl folder rather than installing in /opt/rocm-xxx/lib. ldconfig will use the updated installation path

Associated JIRA ticket number/Github issue number

Fixes SWDEV-505204

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Continuous Integration

What were the changes?

Install libamdocl in <install_prefix_path>/lib/opencl

Why are these changes needed?

Expose only libamdocl library as part of running ldconfig .

Updated CHANGELOG?

  • Yes
  • No, Does not apply to this PR.

Added/Updated documentation?

  • Yes
  • No, Does not apply to this PR.

Additional Checks

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally.
  • Any dependent changes have been merged.

Install libamdocl.so in /opt/rocm-xxx/lib/opencl folder rather than installing in /opt/rocm-xxx/lib.
ldconfig is run as part of rocm-opencl package installation.
ldconfig will use the updated installation path
Removed unused ROCM_PATH variable in opencl CMakeList.txt
Use RPM install time variable in rpm post scripts rather than using hard coded paths
@rocm-devops

Copy link
Copy Markdown
Contributor Author

Imported to ROCm/rocm-systems

JeniferC99 pushed a commit that referenced this pull request May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants