diff --git a/.circleci/config.yml b/.circleci/config.yml index 2c9629cdf68e..4fd8c7fb8929 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,7 @@ executors: EMCC_CORES: "4" EMSDK_NOTTY: "1" PYTHON_BIN: "python3" + EMCC_ALLOW_FASTCOMP: "1" mac: environment: EMSDK_NOTTY: "1" diff --git a/emcc.py b/emcc.py index a52027df7b09..7ad38af64373 100755 --- a/emcc.py +++ b/emcc.py @@ -1278,10 +1278,11 @@ def get_last_setting_change(setting): # we also do not support standalone mode in fastcomp. shared.Settings.STANDALONE_WASM = 1 - # We allow this warning to be supressed by the environment so that we can run the test - # suite against fastcomp while supressing this warning. + # We allow this error to be supressed by the environment so that we can run the test + # suite against fastcomp for the time being. + # See: https://github.com/emscripten-core/emscripten/issues/11319 if not shared.Settings.WASM_BACKEND and 'EMCC_ALLOW_FASTCOMP' not in os.environ: - diagnostics.warning('fastcomp', 'the fastomp compiler is deprecated. Please switch to the upstream llvm backend as soon as possible and open issues if you have trouble doing so') + exit_with_error('the fastcomp compiler is no longer available in emscripten. Please use the upstream llvm backend or use an older (< 2.0.0) version of emscripten.') if options.no_entry or ('_main' not in shared.Settings.EXPORTED_FUNCTIONS and '__start' not in shared.Settings.EXPORTED_FUNCTIONS):