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

7 jobs for !2640 with feature/colored-smp-assembly in 5 minutes and 42 seconds (queued for 6 seconds)
Child pipeline (parent) latest detached
Status Name Job ID Coverage
  Configure
passed configure #47289

00:02:38

 
  Linting
passed black (python) #47291

00:00:36

passed pylint-flake8 (python) #47293

00:01:02

 
  Select
passed select tests #47295

00:01:03

 
  Build
failed compile cpp #47298

00:01:59

 
  Test
skipped test cpp #47303
passed test python #47305

00:00:30

 
Name Stage Failure
failed
compile cpp Build
  File "../bin/testing/runselectedtests.py", line 138, in <module>
buildTests(configDict, buildFlags)
File "../bin/testing/runselectedtests.py", line 41, in buildTests
subprocess.run(["make", "-f", "TestMakeFile"] + flags + ["testselection"], check=True)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['make', '-f', 'TestMakeFile', '-j8', '--keep-going', 'testselection']' returned non-zero exit status 2.
Cleaning up file based variables
ERROR: Job failed: exit code 1