Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.6k
Commitf2a8e18
authored
msys2: Recommend correct cmake package (#59001)
msys2 ships 2 different cmake packages, one built natively (with mingwprefix in the package name) and one built against the posix emulationenvironment. The posix emulation one does not work because it willdetect unix-style paths, which it then writes into files that nativetools process. Unlike during command invocation (where the msys2 runtimelibrary does path translation), when paths are written to files, theyare written verbatim.The practical result of this is that e.g. the LLVM build will fail witha mysterious libz link failure (as e.g. reported in#54981).This is our fault, because our built instructions tell the user toinstall the wrong one.Fix all that by1. Correcting the build instructions to install the correct cmake2. Detecting if the wrong cmake is installed and advising the correctone3. Fixing an issue where the native CMake did not like ourCMAKE_C_COMPILER setting.With all this, CMake runs correctly under msys2 withUSE_BINARYBUILDER_LLVM=0.1 parent7a8d0e4 commitf2a8e18
File tree
3 files changed
+20
-5
lines changed- deps/tools
- doc/src/devdocs/build
3 files changed
+20
-5
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
434 |
| - | |
| 434 | + | |
| 435 | + | |
435 | 436 |
| |
436 |
| - | |
| 437 | + | |
437 | 438 |
| |
438 | 439 |
| |
439 | 440 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
| |||
68 | 74 |
| |
69 | 75 |
| |
70 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
71 | 85 |
| |
72 | 86 |
| |
73 | 87 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
| 144 | + | |
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
| 156 | + | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
|
0 commit comments
Comments
(0)