Skip to content

Do not link libraries in coqnative.#14540

Merged
coqbot-app[bot] merged 1 commit intorocq-prover:masterfrom
ppedrot:native-dont-link-coqnative
Jun 29, 2021
Merged

Do not link libraries in coqnative.#14540
coqbot-app[bot] merged 1 commit intorocq-prover:masterfrom
ppedrot:native-dont-link-coqnative

Conversation

@ppedrot
Copy link
Copy Markdown
Member

@ppedrot ppedrot commented Jun 23, 2021

This is not actually required since we never evaluate any native program. The only thing that the native compiler needs to correctly perform the compilation is the association dirpath → file prefix. We explictly register this instead of going through the linking phase.

This is not actually required since we never evaluate any native program. The
only thing that the native compiler needs to correctly perform the compilation
is the association dirpath → file prefix. We explictly register this instead of
going through the linking phase.
@ppedrot ppedrot marked this pull request as ready for review June 23, 2021 15:35
@ppedrot ppedrot requested a review from a team as a code owner June 23, 2021 15:35
@ppedrot
Copy link
Copy Markdown
Member Author

ppedrot commented Jun 28, 2021

This is basically ready and needs an assignee. @ejgallego ?

@ejgallego ejgallego self-assigned this Jun 28, 2021
@ejgallego ejgallego added part: native compiler kind: performance Improvements to performance and efficiency. labels Jun 29, 2021
@ejgallego ejgallego added this to the 8.15+rc1 milestone Jun 29, 2021
Copy link
Copy Markdown
Contributor

@ejgallego ejgallego left a comment

Choose a reason for hiding this comment

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

Seems to work, and does provide a nice speed-up.

@ejgallego
Copy link
Copy Markdown
Contributor

@coqbot: merge now

@coqbot-app coqbot-app bot merged commit 2cb396b into rocq-prover:master Jun 29, 2021
@ppedrot ppedrot deleted the native-dont-link-coqnative branch June 29, 2021 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: performance Improvements to performance and efficiency. part: native compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants