Commit d4f5ac2
authored
[SYCL][NativeCPU] More --shared-libs fixes. (#20081)
* SYCLNativeCPUUtils/CMakeLists.txt: remove EXCLUDE_FROM_ALL. The
rationale for setting EXCLUDE_FROM_ALL was to ensure that users do not
get the veczc binary unnecessarily but that is already handled
differently now that we no longer fetch external sources, and
EXCLUDE_FROM_ALL had the side effect of preventing component libraries
from being installed.
* vecz/tools/CMakeLists.txt: change veczc from tool to utility. The
difference is that tools get installed, utilities by default don't, and
this is not something that is meant to be installed.
* lib/CMakeLists.txt: change include order. SYCLNativeCPUUtils needs to
be included after TargetParser so that veczc correctly links to it.
Fixes #200771 parent d0fb1d0 commit d4f5ac2
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- llvm/lib
- SYCLNativeCPUUtils
- compiler_passes/vecz/tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments