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

Support libraries in decomp.me #843

Merged
merged 12 commits into from
Sep 30, 2023
Merged

Support libraries in decomp.me #843

merged 12 commits into from
Sep 30, 2023

Conversation

roblabla
Copy link
Contributor

@roblabla roblabla commented Sep 9, 2023

This MR introduces libraries in decomp.me. This is a new section under "Options" that allow adding libraries to the scratch, which allows the user to #include the headers provided by that lib.

Fixes #842

Example:

image

This is ready for review.

@roblabla roblabla marked this pull request as ready for review September 23, 2023 23:16
@roblabla
Copy link
Contributor Author

There's one mypy error that I just can't figure out for the life of me. If someone can find a fix, I'd be grateful.

Otherwise, this feature is ready for review.

backend/compilers/download.py Outdated Show resolved Hide resolved
Copy link
Member

@bates64 bates64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frontend changes lgtm

@ethteck
Copy link
Member

ethteck commented Sep 29, 2023

image I think the library flag(s) that get appended should always start with a space

@roblabla
Copy link
Contributor Author

roblabla commented Sep 29, 2023

I think the library flag(s) that get appended should always start with a space

Nice catch, I added a space, and also moved the libraries to be within sandbox.quote_options (which I think is more correct?)

@ethteck ethteck merged commit e1c33d4 into decompme:main Sep 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make some common libraries available to the compiler
4 participants