Commit 35e32d8
authored
[Driver][SYCL] Initial support for allowing fat static -lname processing (#5413)
When processing for fat static libraries, add searches for -lname type
libraries passed on the command line. This also takes advantage of
the -Ldir options and LIBRARY_PATH environment variable for locating
the libraries.
When a library is found (with a .a extension) that is what is used for
unbundling and added to the device link.
NOTE: This behavior does not match the recent implementation done for OpenMP
offloading with fat static libraries. That implementation is directly
integrated into the llvm-link call. It would be good to also follow this
for consistency, but will require some refactoring to accomplish.1 parent 6f40376 commit 35e32d8
File tree
2 files changed
+57
-0
lines changed- clang
- lib/Driver
- test/Driver
2 files changed
+57
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2977 | 2977 | | |
2978 | 2978 | | |
2979 | 2979 | | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
| 2987 | + | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
2980 | 3015 | | |
2981 | 3016 | | |
2982 | 3017 | | |
| |||
3014 | 3049 | | |
3015 | 3050 | | |
3016 | 3051 | | |
| 3052 | + | |
3017 | 3053 | | |
3018 | 3054 | | |
3019 | 3055 | | |
| |||
3053 | 3089 | | |
3054 | 3090 | | |
3055 | 3091 | | |
| 3092 | + | |
| 3093 | + | |
3056 | 3094 | | |
3057 | 3095 | | |
3058 | 3096 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
37 | 56 | | |
38 | 57 | | |
39 | 58 | | |
| |||
0 commit comments