Skip to content

Keep compiler.version and used emsdk version consistent #10

Description

@stevenwdv

It seems that currently we manually need to keep the compiler.version setting consistent with the emsdk version in tool_requires. With conan-io/conan#19592, detect_api will have detect_emcc_compiler, but this will be ran too early. Would there be a way to automatically set compiler.version based on the version of the emsdk tool that is used?

If not, that would be unfortunate, because then there is no possibility of using a version pattern like emsdk/[~5], because the value of compiler.version will become outdated.
Maybe we could at least check in the recipe that its version is consistent with compiler.version?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions