Don't build binaryen tests (#1551)
These seems to be some issue with building gtest on ubuntu/focal. Looks like maybe the libstdc++ is too old for it.
This commit is contained in:
1
emsdk.py
1
emsdk.py
@@ -1315,6 +1315,7 @@ def build_binaryen_tool(tool):
|
|||||||
# Configure
|
# Configure
|
||||||
cmake_generator, args = get_generator_and_config_args(tool)
|
cmake_generator, args = get_generator_and_config_args(tool)
|
||||||
args += ['-DENABLE_WERROR=0'] # -Werror is not useful for end users
|
args += ['-DENABLE_WERROR=0'] # -Werror is not useful for end users
|
||||||
|
args += ['-DBUILD_TESTS=0'] # We don't want to build or run tests
|
||||||
|
|
||||||
if 'Visual Studio' in CMAKE_GENERATOR:
|
if 'Visual Studio' in CMAKE_GENERATOR:
|
||||||
if BUILD_FOR_TESTING:
|
if BUILD_FOR_TESTING:
|
||||||
|
|||||||
Reference in New Issue
Block a user