[assembly] Make it possible to set number of threads and enable multithreading per default

Status Name Job ID Coverage
  Trigger
failed full-dune-latest-release-clang

failed full-dune-latest-release-gcc

failed full-dune-master-gcc

passed minimal-dune-latest-release-gcc

 
  Downstream Modules
skipped trigger lecture