partial module compilation