Skip to content
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 our own libffi repository on Windows CI #14998

Merged

Conversation

HertzDevil
Copy link
Contributor

@HertzDevil HertzDevil commented Sep 13, 2024

Resolves part of #14802.

It was only a matter of time, but I decided to fork the libffi upstream and write my own CMakeLists.txt. It only handles x64 MSVC, but we could easily extend it to support ARM64 in the near future. Note that the Windows CI already uses libffi since there are interpreter tests and stdlib tests running with the interpreter.

If we are confident that it works then we should later transfer ownership of the fork to crystal-lang (I will continue to maintain it).

@HertzDevil HertzDevil added kind:refactor platform:windows Windows support based on the MSVC toolchain / Win32 API topic:infrastructure/ci labels Sep 13, 2024
@straight-shoota
Copy link
Member

question: Why not put the repo directly into crystal-lang org?

@HertzDevil
Copy link
Contributor Author

I always thought this was restricted to admins but apparently it isn't so?

@straight-shoota
Copy link
Member

I think you should be able to create repositories in crystal-lang org. If not, someone else can take care of it.
There shouldn't be any beaurocratic limitation here.

@straight-shoota straight-shoota added this to the 1.14.0 milestone Sep 16, 2024
@straight-shoota straight-shoota changed the title Use our own libffi repository on Windows CI Use our own libffi repository on Windows CI Sep 19, 2024
@straight-shoota straight-shoota merged commit 6254169 into crystal-lang:master Sep 19, 2024
63 of 65 checks passed
@HertzDevil HertzDevil deleted the refactor/windows-libffi-cmake branch September 19, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:refactor platform:windows Windows support based on the MSVC toolchain / Win32 API topic:infrastructure/ci
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants