Skip to content

Use link-time optimization when compiling Opus code.#35

Open
JonathanLennox wants to merge 2 commits intojitsi:mainfrom
JonathanLennox:use-lto-for-opus
Open

Use link-time optimization when compiling Opus code.#35
JonathanLennox wants to merge 2 commits intojitsi:mainfrom
JonathanLennox:use-lto-for-opus

Conversation

@JonathanLennox
Copy link
Member

This causes emscripten to build all its dependent libraries with lto, so cache the results of that in order to speed up builds.

This causes emscripten to build all its dependent libraries with lto, so cache
the results of that in order to speed up builds.
env:
cache-name: emscripten-cache
with:
path: ~/emsdk_main/upstream/emscripten/cache
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the path we expect to see? The above has emsdk-main rather than emsdk_main

Copy link
Member Author

@JonathanLennox JonathanLennox Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right; fixed to use ${{ env.EMSDK }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants