Skip to content

Log used system libraries when -v is specified - #8310

Closed
sbc100 wants to merge 1 commit into
incomingfrom
log_used_libraries
Closed

sbc100 wants to merge 1 commit into
incomingfrom
log_used_libraries

Conversation

@sbc100

@sbc100 sbc100 commented Mar 19, 2019 •

Copy link
Copy Markdown
Collaborator

This brings us in line with documentation:
https://github.com/emscripten-core/emscripten/wiki/Linking

I also prefer this as it means that normal developers don't need
to trawl through all the EMCC_DEBUG output.

This also speeds up the test_emcc_caching a lot because EMCC_DEBUG
was forcing all the system libraries to build built on a single core.

This brings us in line with documentation:
https://github.com/emscripten-core/emscripten/wiki/Linking

I also prefer this as it means that normal developers don't need
to trawl through all the EMCC_DEBUG output.

This also speeds up the test_emcc_caching a lot because EMCC_DEBUG
was forcing all the system libraries to build built on a single core.
@kripken

kripken commented Mar 19, 2019

Copy link
Copy Markdown
Member

I don't feel strongly about this, but I feel it adds special-casing to the code for little benefit.

It's curious that the docs mentioned we do this although we didn't, but I'm not sure we should match the docs instead of changing them.

@sbc100

sbc100 commented Mar 19, 2019

Copy link
Copy Markdown
Collaborator Author

One benefit is that it dramatically speeds up this test :)

@sbc100

sbc100 commented Mar 19, 2019

Copy link
Copy Markdown
Collaborator Author

In my machine this test currently takes:

real	5m52.856s

With this change:

real	0m35.907s

@kripken

kripken commented Mar 20, 2019

Copy link
Copy Markdown
Member

I agree we should speed up the test, yeah. How about just doing that directly? We can remove EMCC_DEBUG and not look for the logging messages at all, and just look at the generated libraries in the cache dir. I think that's better overall.

@sbc100

sbc100 commented Mar 20, 2019

Copy link
Copy Markdown
Collaborator Author

OK, i'll give that a go

@quantum5

Copy link
Copy Markdown
Member

Is this superseded by #8787?

@sbc100

sbc100 commented Jun 19, 2019

Copy link
Copy Markdown
Collaborator Author

Yup

@sbc100 sbc100 closed this Jun 19, 2019
@sbc100
sbc100 deleted the log_used_libraries branch June 19, 2019 03:06
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.

3 participants