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

Add a codegen option to disable use of jlplts #51123

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Add a codegen option to disable use of jlplts #51123

merged 2 commits into from
Sep 1, 2023

Conversation

Keno
Copy link
Member

@Keno Keno commented Aug 31, 2023

Alternative to #51108 with the same objectives.

@Keno Keno requested review from vtjnash and gbaraldi August 31, 2023 07:10
@gbaraldi
Copy link
Member

LGTM

Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

Do we document these things anywhere? I feel like folks should be warned that this generally emits slower code for most platforms (our PLT is better optimized than most platform linkers can do in most cases). But it can make sense where only static libraries really exist and there is not really a notion of posix_spawn (like WASM and embedded)

@Keno
Copy link
Member Author

Keno commented Aug 31, 2023

Do we document these things anywhere?

Probably easiest to document the fields of the julia proxy struct.

@Keno
Copy link
Member Author

Keno commented Sep 1, 2023

Will merge as is and open a separate PR for the docs.

@Keno Keno merged commit 0f4a54c into master Sep 1, 2023
6 checks passed
@Keno Keno deleted the kf/nopltopt branch September 1, 2023 04:29
Keno added a commit that referenced this pull request Sep 1, 2023
- Add documentation to CodegenParams fields per request in #51123
- Fix compare_cgparams which hadn't been updated for recent additions
- Remove unused and untested generic_context

The latter was a codegen option that I added, but eventually ended
up not using anywhere, so remove it for the time being. That said,
I may end up in a situation where I need it again in the very near
future, so I may end up eating my words here, but if I need to put
it back, I'll include a test at least ;).
DilumAluthge pushed a commit that referenced this pull request Sep 2, 2023
- Add documentation to CodegenParams fields per request in #51123
- Fix compare_cgparams which hadn't been updated for recent additions
- Remove unused and untested generic_context

The latter was a codegen option that I added, but eventually ended up
not using anywhere, so remove it for the time being. That said, I may
end up in a situation where I need it again in the very near future, so
I may end up eating my words here, but if I need to put it back, I'll
include a test at least ;).
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.

None yet

3 participants