For bringing SLIM into its own component I suggest that it won't use the SHARED_LIB mechanism that CLM uses and that it simply be rebuilt for each test similar to other components. Because the SLIM core code is smaller, I think this should be fine. It will take quite a bit of work to get the shared-library mechanism working in cime. Currently it's pretty hardcoded around CLM versions so it would take quite a bit to either redo for SLIM or to refactor to make it more general. This is inside of cime I don't think it affects SLIM code.
For bringing SLIM into its own component I suggest that it won't use the SHARED_LIB mechanism that CLM uses and that it simply be rebuilt for each test similar to other components. Because the SLIM core code is smaller, I think this should be fine. It will take quite a bit of work to get the shared-library mechanism working in cime. Currently it's pretty hardcoded around CLM versions so it would take quite a bit to either redo for SLIM or to refactor to make it more general. This is inside of cime I don't think it affects SLIM code.