Bump emscripten version to 2.0.1 (#41509)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 28 Aug 2020 15:19:12 +0000 (17:19 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Aug 2020 15:19:12 +0000 (17:19 +0200)
Updates the emscripten Docker container we use to build in CI. We no longer need to explicitly set `EMSDK_PATH` since the container already does it.
Also remove `--embedded` flag from `./emsdk activate` since it was deprecated and is now the default.

eng/pipelines/common/platform-matrix.yml
eng/pipelines/libraries/build-job.yml
eng/pipelines/mono/templates/build-job.yml
src/mono/wasm/Makefile

index ff89dc1..cfec860 100644 (file)
@@ -157,7 +157,7 @@ jobs:
       archType: wasm
       platform: Browser_wasm
       container:
-        image: ubuntu-18.04-webassembly-20200529220811-6a6da63
+        image: ubuntu-18.04-webassembly-20200827125937-9740252
         registry: mcr
       jobParameters:
         runtimeFlavor: ${{ parameters.runtimeFlavor }}
index 4854b68..6a70952 100644 (file)
@@ -62,8 +62,6 @@ jobs:
         - _subset: libs
         - _additionalBuildArguments: ''
         - ${{ parameters.variables }}
-        - ${{ if eq(parameters.osGroup, 'Browser') }}:
-          - EMSDK_PATH: /usr/local/emscripten
 
         # Tests only run for 'allConfiguration' and 'net48' build-jobs
         # If platform is in testBuildPlatforms we build tests as well.
index 901bab9..e46ca5e 100644 (file)
@@ -68,8 +68,6 @@ jobs:
       - name: osOverride
         value: -os Android
     - ${{ if eq(parameters.osGroup, 'Browser') }}:
-      - name: EMSDK_PATH
-        value: /usr/local/emscripten
       - name: archType
         value: wasm
       - name: osOverride
index 16ea3dc..c55c9cc 100644 (file)
@@ -34,7 +34,7 @@ EMCC=source $(EMSDK_PATH)/emsdk_env.sh && emcc
        git clone https://github.com/emscripten-core/emsdk.git $(EMSDK_LOCAL_PATH)
        cd $(EMSDK_LOCAL_PATH) && git checkout $(EMSCRIPTEN_VERSION)
        cd $(EMSDK_LOCAL_PATH) && ./emsdk install $(EMSCRIPTEN_VERSION)
-       cd $(EMSDK_LOCAL_PATH) && ./emsdk activate --embedded $(EMSCRIPTEN_VERSION)
+       cd $(EMSDK_LOCAL_PATH) && ./emsdk activate $(EMSCRIPTEN_VERSION)
        touch $@
 
 ifeq ($(EMSDK_PATH),emsdk)