Add architecture to CXX compiler ID detection.

26 jobs for !7491 with add_tasking_compiler in 4 minutes and 18 seconds (queued for 4 seconds)
merge request