Repository navigation
Commit 4b571e7
committed
fix(ci): set VCToolsInstallDir as well — the two consumers do not read each other
Moving 14.51 out settled mcpp and broke clang. Each lever was measured
alone, and each failed in its own half:
* `VCToolsInstallDir` alone — clang used 14.44's headers, mcpp kept
scanning and handed it 14.51's std.ixx:
std.ixx:126: fatal error: 'flat_map' file not found
* moving 14.51 out alone — mcpp picked 14.44, and clang's own MSVC
detection (which goes through the VS installation's registration, and
that still names 14.51) found nothing. The compile came out with NO
include paths at all:
std.ixx:12: fatal error: 'assert.h' file not found
`assert.h` is a UCRT header, and the command line carried neither
/imsvc nor -I — clang was not looking in the wrong place, it had no
place to look.
mcpp SCANS the toolset directory; clang READS the environment. Neither
reads the other's answer, so there is one lever per consumer and both are
needed. Setting both is not redundancy.
That took three rounds to land and the intermediate states are in the
step's comment, because each of them looks like a reasonable thing to try
and each is wrong in a way only the next failure shows.1 parent df1691a commit 4b571e7
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1052 | 1071 | | |
1053 | 1072 | | |
1054 | 1073 | | |
| |||
0 commit comments