Commit e663ede
committed
cmake: build crypto_plugins only when needed for radosgw
Make crypto_plugins a conditional ALL target instead of an explicit
dependency to improve build parallelism.
Background:
- dbbf052: Added crypto plugins with ceph_crypto_isal as os dependency
- 53726b8: Changed os to depend on crypto_plugins (not specific plugin)
- Issue:
* crypto_plugins are not dependencys of "os" at all
* crypto_plugins are runtime-only dependencies for rgw_common
In this change:
- Remove crypto_plugins from explicit target dependencies
- Add crypto_plugins to ALL target when WITH_RADOSGW=ON
- Plugins now build in parallel with other targets
- Maintains runtime plugin loading without compile-time coupling
This improves build concurrency by allowing crypto_plugins to build
in parallel with os/rgw_common instead of sequentially, and prevents
building crypto plugins when RadosGW is disabled.
Signed-off-by: Kefu Chai <[email protected]>1 parent ba6e10a commit e663ede
3 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
877 | | - | |
878 | 876 | | |
879 | 877 | | |
880 | 878 | | |
| |||
1147 | 1145 | | |
1148 | 1146 | | |
1149 | 1147 | | |
| 1148 | + | |
1150 | 1149 | | |
1151 | 1150 | | |
1152 | 1151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
0 commit comments