[6.1.0]Do not clear --platforms
on no-op change to --cpu
#17273
Merged
--platforms
on no-op change to --cpu
#17273