-
Notifications
You must be signed in to change notification settings - Fork 717
perf: build o.noexport from o.export instead of compiling from C code
#10623
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
base: master
Are you sure you want to change the base?
Conversation
|
Mathlib CI status (docs):
|
|
Reference manual CI status:
|
|
@Rob23oba I'm curious, what is the status here? I guess we would have to adjust lean-llvm to ship llvm-objcopy |
|
@Rob23oba I am assuming this pr will also simplify lakefile.lean? E.g.: ...
nativeFacets := fun shouldExport =>
if shouldExport then
#[Module.oExportFacet, `module.oShimExportFacet]
else
#[Module.oNoExportFacet, `module.oShimNoExportFacet] |
|
I don't really know enough about lakefiles to be able to answer that question. But @Kha, to answer your question, I'm not sure I'm completely happy about how fast it is, it still takes a few seconds to go through all the files (process creation overhead?). Also, I'm not very familiar with the lake code base so it'd be nice if @tydeu could look over those changes. |
Well that's still something like an improvement of two orders of magnitude over the previous code, isn't it? |
|
@Rob23oba The general idea here looks good to me. Did you mean for the code to be ready for review? After looking at this PR again today, I realized that is not clear to me from the discussion who is waiting on who. |
|
Right, I guess I should add: before realizing that there was already a solution for this problem ( |
|
@Rob23oba I would start with |
|
Alright then, I guess I'd be ready for a review then |
This part is still outstanding, no? WIthout it, I assume this would have minimal impact for the average user |
No description provided.