msvc-wine
setup-build2-github-action
msvc-wine | setup-build2-github-action | |
---|---|---|
6 | 1 | |
569 | 2 | |
- | - | |
8.3 | 10.0 | |
24 days ago | about 2 years ago | |
Shell | ||
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
msvc-wine
-
How to deal with MSVC in DevOps
Okay, I am trying it, but it does not exactly work out of the box. Do you remember how you got a hand on the MSVC libraries? I use https://github.com/mstorsjo/msvc-wine to download the MSVC toolchain using python, and then I simply wget this file https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/cmake/platforms/WinMsvc.cmake, and call CMake like in the example the file has as a comment in the first few lines. I installed clang-tools-15 and lld-15 using apt. Does this sound somehow correct? I set all the paths correctly and I get a CMake Error "include could not find requested file: [...] //ClangClCMakeCompileRules.cmake", the error occurs while CMake is testing the C compiler if it works.
-
Wine 8.0
That's a nice lead! - I'll try looking into that more. If you have or remember some more details - please share! Thanks!
(One of my use cases is https://github.com/mstorsjo/msvc-wine - and invocation of `cl.exe` or `link.exe` taking 250ms at each is not going to be great (then again `cl.exe` can be made to input several .cpp/.c files, but it becomes more awkward to express that at the build level).
- Cross compiling pybind11 module with Mingw-gcc for Windows from Linux
-
Visual Studio 2022 17.4 is available!
you can run the C++ compiler via wine: https://github.com/mstorsjo/msvc-wine
-
Wine 6.15 Released
I guess I should try installing MSVC again one of these days. Maybe it's finally possible to setup a "real" Windows cross compilation build environment without msvc-wine.
setup-build2-github-action
-
How to deal with MSVC in DevOps
There is also (community-maintained) GH Actions support. I don't believe there is integration for binary distribution package generation/upload, but I am sure it shouldn't be that difficult to add (all the underlying command are described in the first link I gave you): https://github.com/build2/setup-build2-github-action
What are some alternatives?
infra - Infrastructure to set up the public Compiler Explorer instances and compilers
msvc-dev-cmd - GitHub Action to setup Developer Command Prompt for Microsoft Visual C++
Navidrome Music Server - ๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic
NCCABoilerplate - A set of Boilerplate projects for most of the work we do
pyenv - Simple Python version management
box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
docker-msvc-cpp - Dockerized Visual C++ environment with wine
compiler-explorer - Run compilers interactively from your web browser and interact with the assembly
NotepadNext - A cross-platform, reimplementation of Notepad++
python-cmake-buildsystem - A cmake buildsystem for compiling Python
act - Run your GitHub Actions locally ๐