setup-emsdk icon indicating copy to clipboard operation
setup-emsdk copied to clipboard

Support for legacy fastcomp versions

Open atteneder opened this issue 2 years ago • 1 comments

Hi,

first of all thanks for this great action!

I need to maintain builds that run emscripten version 1.38.48-fastcomp. This action seems to always install the latest (3.1.30 as of now) and runs it to install older versions. Unfortunately this won't install fastcomp versions any longer:

/home/runner/work/_temp/.../emsdk-main/emsdk install 1.38.48-fastcomp
error: the fastcomp backend is no longer supported.  Please use an older version of emsdk (for example 3.1.29) if you want to install the old fastcomp-based SDK

Is there a fix or way around it?

Thanks!

atteneder avatar Jan 22 '23 01:01 atteneder

I ended up using numworks/setup-emscripten.

It seems to smartly choose emscripten version 3.1.29 instead of the latest one in case the desired version contains fastcomp. Maybe that's something this action could adopt.

steps:
  - uses: numworks/setup-emscripten@v1
    with:
      sdk: latest-fastcomp
  - run: emcc --version

Thanks

atteneder avatar Jan 23 '23 10:01 atteneder