-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use make install on Windows (MSYS2) #355
Conversation
This type of install does not allow to install multiple different version of glscopeclient/dll I clearly do not like that |
@bvernoux I think you are misunderstanding the purpose of this PR: upstreaming the package to msys2/MINGW-packages#8676, Therefore, the layout of the files needs to follow the standard structure in GNU/Linux systems. Precisely, the structure used in MSYS2. If we kept the structure as you suggest, it would not be possible to install glscopeclient together with other tools in the system, because conflicts would/might arise. Naturally, you are free to pick the artifact and reorganise/rename the content as you wish. |
@bvernoux I plan to also offer a standalone Windows install package which will dump all of the artifacts somewhere under Program Files. This is separate from that. @umarcor So is this ready to merge? Or do you still need to fix something about liblog? On Linux liblog is statically linked so there's no artifacts to install. |
Note that there is interest in achieving this with multiple projects: GTKWave, GHDL, this one. All of those are built on MSYS2, but some users would like to use them as standalone zipfiles. See, for instance, https://github.com/achadwick/styrene. See also ghdl/ghdl#1560 (comment).
If liblog is statically linked on Windows too, then we don't need it in the package. So, this would be ready to merge, and I'd update the docs accordingly. |
According to https://github.com/azonenberg/logtools/blob/232e03e44572e048114f1e20fff841df6f165f29/CMakeLists.txt, |
Please send a PR to logtools to fix this. |
@umarcor Reminder to send the PR for install of logtools. |
@azonenberg, I think this is ready to merge. |
The first commit in this PR adds a PKGBUILD recipe for building and installing FFTS, instead of doing it manually. The recipe is equivalent to the ones used upstream, but the main branch is built, instead of using a fixed commit.
Then, make install is used for packaging the MSYS2 build of scopehal-apps, instead of manually specifying the artifacts to be uploaded. The result looks almost correct, but
liblog.dll
is missing: