Commit 0ec78f1
authored
SWDEV-428379 - Set LD_LIBRARY_PATH for executing the binaries from build directory (#449)
* SWDEV-428379 - Set LD_LIBRARY_PATH for executing the binaries from build directory
The binaries rocfft_aot_helper and stockham_aot are getting executed from build directory during build time. The hardcoded RUNPATH in this binaries are helping to find the required libraries. Hardcoded RUNPATH will be removed and will be having relative RUNPATH with respect to install directory.
LD_LIBRARY_PATH need to set during build time for a successfull exectuion of the binaries
* SWDEV-436762 - Honor the LD_LIBRARY_PATH set by build scripts
In ASAN build, the environment variable LD_LIBRARY_PATH is used to set libclang_rt.asan.so library path.
Use the LD_LIBRARY_PATH provided by build script
* SWDEV-437149 - Add RPATH to the binary rocfft_rtc_helper
Since the binary is installed in /opt/rocm-ver/lib/rocfft/version_string folder, it need relative RPATH $ORIGIN/../../../lib to find rocm libraries1 parent 670ccd1 commit 0ec78f1
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
517 | 522 | | |
518 | 523 | | |
519 | 524 | | |
| 525 | + | |
| 526 | + | |
520 | 527 | | |
521 | 528 | | |
522 | | - | |
| 529 | + | |
523 | 530 | | |
524 | 531 | | |
525 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | | - | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
0 commit comments