Fix Windows CMake compiler/OS detection.

Replaced deprecated `DetermineVSServicePack`macro with recommended
`CMAKE_CXX_COMPILER_VERSION`.

Deleted custom `OSVersion` detection.  The windows-specific code is
highly outdated, and on other systems simply returns `CMAKE_SYSTEM`.
We will get values like `windows-10.0.17763`, but this is preferable
to `unknownwin`, and saves us needing to maintain a separate cmake file.
40 jobs for master in 173 minutes and 28 seconds (queued for 30 seconds)
Status Name Job ID Coverage
  Build
passed build:aarch64:linux:clang-10:cxx11-on #1685391208
eigen-runner linux aarch64

00:08:39

passed build:aarch64:linux:gcc-10:cxx11-on #1685391159
eigen-runner linux aarch64

00:10:53

passed build:ppc64le:linux:clang-10:cxx11-on #1685391457
eigen-runner linux ppc64le

01:17:45

passed build:ppc64le:linux:gcc-10:cxx11-on #1685391325
eigen-runner linux ppc64le

01:20:44

passed build:x86-64:linux:clang-10:cxx11-on #1685391089
eigen-runner linux x86-64

01:58:08

passed build:x86-64:linux:clang-10:cxx11-on:avx512 #1685391111
eigen-runner linux x86-64 avx512

01:14:51

passed build:x86-64:linux:gcc-10:cxx11-on #1685391079
eigen-runner linux x86-64

01:36:04

passed build:x86-64:linux:gcc-4.8:cxx11-on #1685391037
eigen-runner linux x86-64

02:08:15

passed build:x86-64:linux:gcc-9:cxx11-on #1685391055
eigen-runner linux x86-64

01:30:36

 
  Test
failed test:aarch64:linux:clang-10:cxx11-on:official #1685406927
eigen-runner linux aarch64 allowed to fail

00:01:11

passed test:aarch64:linux:clang-10:cxx11-on:unsupported #1685392043
eigen-runner linux aarch64

00:01:23

failed test:aarch64:linux:gcc-10:cxx11-on:official #1685406559
eigen-runner linux aarch64 allowed to fail

00:01:19

failed test:aarch64:linux:gcc-10:cxx11-on:unsupported #1685408732
eigen-runner linux aarch64 allowed to fail

00:01:24

passed test:ppc64le:linux:clang-10:cxx11-on:official #1685454108
eigen-runner linux ppc64le

00:06:35

failed test:ppc64le:linux:clang-10:cxx11-on:unsupported #1685474885
eigen-runner linux ppc64le allowed to fail

00:32:25

passed test:ppc64le:linux:gcc-10:cxx11-on:official #1685449103
eigen-runner linux ppc64le

00:14:42

failed test:ppc64le:linux:gcc-10:cxx11-on:unsupported #1685496979
eigen-runner linux ppc64le allowed to fail

00:15:58

passed test:x86-64:linux:clang-10:cxx11-on:avx512:official #1685391898
eigen-runner linux x86-64 avx512

00:04:21

passed test:x86-64:linux:clang-10:cxx11-on:avx512:unsupported #1685391904
eigen-runner linux x86-64 avx512

00:04:19

passed test:x86-64:linux:clang-10:cxx11-on:official #1685391843
eigen-runner linux x86-64

00:04:21

passed test:x86-64:linux:clang-10:cxx11-on:unsupported #1685391888
eigen-runner linux x86-64

00:02:13

passed test:x86-64:linux:gcc-10:cxx11-on:official #1685391722
eigen-runner linux x86-64

00:02:16

passed test:x86-64:linux:gcc-10:cxx11-on:unsupported #1685453309
eigen-runner linux x86-64

00:02:01

passed test:x86-64:linux:gcc-4.8:cxx11-on:official #1685391493
eigen-runner linux x86-64

00:03:09

passed test:x86-64:linux:gcc-4.8:cxx11-on:unsupported #1685391533
eigen-runner linux x86-64

00:01:48

passed test:x86-64:linux:gcc-9:cxx11-on:official #1685391575
eigen-runner linux x86-64

00:02:32

passed test:x86-64:linux:gcc-9:cxx11-on:unsupported #1685391626
eigen-runner linux x86-64

00:02:38

failed test:aarch64:linux:clang-10:cxx11-on:official #1685404285
eigen-runner linux aarch64 allowed to fail

00:01:11

failed test:aarch64:linux:clang-10:cxx11-on:official #1685392003
eigen-runner linux aarch64 allowed to fail

00:01:19

failed test:aarch64:linux:gcc-10:cxx11-on:official #1685404620
eigen-runner linux aarch64 allowed to fail

00:01:17

failed test:aarch64:linux:gcc-10:cxx11-on:official #1685391922
eigen-runner linux aarch64 allowed to fail

00:01:26

failed test:aarch64:linux:gcc-10:cxx11-on:unsupported #1685406317
eigen-runner linux aarch64 allowed to fail

00:01:25

failed test:aarch64:linux:gcc-10:cxx11-on:unsupported #1685391953
eigen-runner linux aarch64 allowed to fail

00:01:30

failed test:ppc64le:linux:clang-10:cxx11-on:official #1685392220
eigen-runner linux ppc64le allowed to fail

00:06:23

failed test:ppc64le:linux:clang-10:cxx11-on:unsupported #1685457902
eigen-runner linux ppc64le allowed to fail

00:12:56

failed test:ppc64le:linux:clang-10:cxx11-on:unsupported #1685392236
eigen-runner linux ppc64le allowed to fail

00:31:28

failed test:ppc64le:linux:gcc-10:cxx11-on:official #1685392152
eigen-runner linux ppc64le allowed to fail

00:06:56

failed test:ppc64le:linux:gcc-10:cxx11-on:unsupported #1685492342
eigen-runner linux ppc64le allowed to fail

00:08:10

failed test:ppc64le:linux:gcc-10:cxx11-on:unsupported #1685392203
eigen-runner linux ppc64le allowed to fail

00:35:39

failed test:x86-64:linux:gcc-10:cxx11-on:unsupported #1685391794
eigen-runner linux x86-64 allowed to fail

00:02:32

 
Name Stage Failure
failed
test:aarch64:linux:gcc-10:cxx11-on:official Test
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ cd ${BUILDDIR}
$ xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
Uploading artifacts for failed job
Uploading artifacts...
builddir/JUnitTestResults_1685406559.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1685406559 responseStatus=201 Created token=x3mKQ7sD
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test:aarch64:linux:clang-10:cxx11-on:official Test
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ cd ${BUILDDIR}
$ xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
Uploading artifacts for failed job
Uploading artifacts...
builddir/JUnitTestResults_1685406927.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1685406927 responseStatus=201 Created token=hkN5rzT7
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test:aarch64:linux:gcc-10:cxx11-on:unsupported Test
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ cd ${BUILDDIR}
$ xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
Uploading artifacts for failed job
Uploading artifacts...
builddir/JUnitTestResults_1685408732.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1685408732 responseStatus=201 Created token=MeqTERrx
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test:ppc64le:linux:clang-10:cxx11-on:unsupported Test
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ cd ${BUILDDIR}
$ xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
Uploading artifacts for failed job
Uploading artifacts...
builddir/JUnitTestResults_1685474885.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1685474885 responseStatus=201 Created token=nBx2insQ
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test:ppc64le:linux:gcc-10:cxx11-on:unsupported Test
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ cd ${BUILDDIR}
$ xsltproc ../ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
Uploading artifacts for failed job
Uploading artifacts...
builddir/JUnitTestResults_1685496979.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=1685496979 responseStatus=201 Created token=gEDSyk9Q
Cleaning up file based variables
ERROR: Job failed: exit code 1