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

Use emcmake when building BoringSSL with Emscripten #602

Merged
merged 1 commit into from
Mar 10, 2020

Commits on Mar 9, 2020

  1. Use emcmake when building BoringSSL with Emscripten

    Emscripten toolchain includes "emconfigure" tool which sets various
    standard variables to setup crosscompilation. Since v1.14.1 Emscripten
    include "emcmake" tool which is effectively emconfigure for CMake.
    
    Themis can build embedded BoringSSL when it is selected as cryptographic
    backend. With Emscriptedn we always use (and build) embedded BoringSSL.
    For that we use "emconfigure cmake" to configure the build.
    
    Since Emscripten v1.39.9 it is now mandatory to use "emcmake" for CMake
    configuration, as it is evident from the following error message:
    
        $ emmake make wasmthemis
        make: make wasmthemis
        building embedded BoringSSL...
        error: use `emcmake` rather then `emconfigure` for cmake projects
        make: *** [build/boringssl/crypto/libcrypto.a] Error 1
    
    Use emmake if it is available, otherwise fall back to emconfigure when
    building embedded BoringSSL with Emscripten.
    ilammy committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    c54321d View commit details
    Browse the repository at this point in the history