sort out MSYS2 issues on Windows #27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The new conda packages built with WFVM currently require a MSYS2 installation and alteration of the PATH with:
Otherwise:
It is not clear to me how this used to work, at least for binutils which was also built with MSYS2:
https://github.com/m-labs/conda-recipes/blob/master/conda/binutils-or1k-linux/bld.bat
LLVM and llvmlite were built with Visual Studio, but I'd rather avoid this crap if possible. MSYS2 builds appear possible.
There are existing conda packages with the MSYS2 libraries.
The reason binutils could run without MSYS2 may be this:
8b490035bf
89ef7b7d22
If we do have to go for the Visual Studio pile of garbage, this may be useful:
And if we want to replace Conda with MSYS2 entirely (not a bad idea considering MSYS2, unlike Conda, has a package manager): I couldn't get PyQt to work with it, the application freezes when it tries to create its first widget.
Using msvc-wine is problematic because CMake (used by LLVM) uses the Registry to get information about the Visual Studio installation, and the Registry entries are missing when just copying the files (even though the compiler actually runs fine without them). This behavior is hardcoded in C++ inside CMake and is difficult to change.
With the official Visual Studio installer (which takes over an hour to complete on a Core i9-9900 with NVMe storage and 300MBps internet), CMake goes a bit further but still fails for some reason.
It's remarkable how annoying this VS stuff is. MSYS compilation pretty much worked the first time.
Compiling with VS now.