Skip to content

Remove sanity checks? #5042

Description

@juj

The Emscripten sanity check mechanism has been a bit inconvenient for a long time. One issue is that it adds up time to each build. The contribution is not big, but it's still a number of msecs for each tool invocation. Another issue is that the sanity check calls to java here, and on a clean OS X system, java is not installed, but /usr/bin/java contains a stub application which pops up a message dialog asking user to install it:

screen shot 2017-03-17 at 4 19 04 pm

Closure compiler is kind of deprecated, and people don't need java installed to use Emscripten, so this is giving a misleading cue.

I'm thinking about setting emsdk based installs to always enable EM_IGNORE_SANITY=1 environment variable to skip this work. Although that still does check_llvm_version() and check_node_version() checks, which are redundant with emsdk since it installs all these tools at the same time. I'd like to bump up EM_IGNORE_SANITY to early out before those checks. @kripken: Any thoughts on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions