-
Notifications
You must be signed in to change notification settings - Fork 312
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
Add support for Go libraries #1318
base: main
Are you sure you want to change the base?
Conversation
Yes, these are the ones To test you would need to:
|
install_context: InstallationContext, | ||
buildconfig: LibraryBuildConfig, | ||
): | ||
self.logger = logger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the important part here is probably
infra/bin/lib/library_builder.py
Line 122 in ea29967
[self.compilerprops, self.libraryprops] = get_properties_compilers_and_libraries(self.language, self.logger) |
which will give you information about the compilers that are available
Also don't forget to add a case here: infra/bin/lib/installable/installable.py Line 265 in ea29967
You can check for Then instantiate and call the |
You can use |
is there a way to download the ARM64 version? It downloads the AMD64 by default editI found the url in |
Ah.. not by default, but you can hack in this file https://github.com/compiler-explorer/infra/blob/main/bin/yaml/go.yaml#L6 and change the URL from |
@partouf I made a little bit of progress but I'm still not sure I totally understand the difference between the library builder and the installable. As of right now, I'm able to install a library in |
Starting the conversation on adding support for Go libraries (#5242).
@partouf Is this the set of files that I need to be working on? Am I missing something? Also, is there any way to test what I'm doing? either manually or automatically