Skip to content

Search for device libs relative to LD_LIBRARY_PATH#185

Closed
jpsamaroo wants to merge 2 commits intomasterfrom
jps/devlibs-relative-libs
Closed

Search for device libs relative to LD_LIBRARY_PATH#185
jpsamaroo wants to merge 2 commits intomasterfrom
jps/devlibs-relative-libs

Conversation

@jpsamaroo
Copy link
Member

@luraess reported that AMDGPU doesn't find bitcode files on systems using Spack-provided ROCm installs. This PR works around this (and similar setups) by searching ../amdgcn/bitcode/ocml.* relative to all entries in LD_LIBRARY_PATH, which Spack and friends usually will set to point to provided libraries.

@jpsamaroo jpsamaroo added bug Something isn't working build labels Dec 16, 2021
@luraess
Copy link
Member

luraess commented Dec 16, 2021

Thanks for looking into this issue! Current fix still errors. See error_amdgpu.txt for stack trace.

@jpsamaroo jpsamaroo mentioned this pull request Jan 28, 2022
@jpsamaroo
Copy link
Member Author

Merged into #187

@jpsamaroo jpsamaroo closed this Jan 28, 2022
@jpsamaroo jpsamaroo deleted the jps/devlibs-relative-libs branch January 28, 2022 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants