Skip to content

Small CMake setup improvements#229

Merged
guybedford merged 1 commit intobytecodealliance:mainfrom
tschneidereit:cmake-improvements
Mar 18, 2025
Merged

Small CMake setup improvements#229
guybedford merged 1 commit intobytecodealliance:mainfrom
tschneidereit:cmake-improvements

Conversation

@tschneidereit
Copy link
Member

This commit includes two kinds of changes:

  1. It makes various tools (binaryen, wasm-tools, wasmtime, weval, and wizer) that are installed during configuration available to embeddings by moving the variables into the CMake variables cache
  2. It changes the OpenSSL configuration to ignore patches that are applied multiple times, making the configuration more robust

The latter change is needed in situations where an embedding moves to a different version of StarlingMonkey without deleting the build dir. That causes the OpenSSL config to be reapplied, while the old, already patched, files are kept around.

This commit includes two kinds of changes:
1. It makes various tools (binaryen, wasm-tools, wasmtime, weval, and wizer) that are installed during configuration available to embeddings by moving the variables into the CMake variables cache
2. It changes the OpenSSL configuration to ignore patches that are applied multiple times, making the configuration more robust

The latter change is needed in situations where an embedding moves to a different version of StarlingMonkey without deleting the build dir. That causes the OpenSSL config to be reapplied, while the old, already patched, files are kept around.
@guybedford guybedford merged commit 5590f40 into bytecodealliance:main Mar 18, 2025
5 checks passed
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