Skip to content

[R][Packaging] Support building the R package under Emscripten #49981

@amoeba

Description

@amoeba

Describe the enhancement requested

The R Univese Wasm build of the R package currently fails with:

2026-04-28T20:07:43.1724290Z fatal: not a git repository (or any of the parent directories): .git
2026-04-28T20:07:43.1724640Z -- System processor: wasm32
2026-04-28T20:07:43.1724943Z CMake Error at cmake_modules/SetupCxxFlags.cmake:44 (message):
2026-04-28T20:07:43.1725271Z   Unknown system processor
2026-04-28T20:07:43.1725665Z Call Stack (most recent call first):
2026-04-28T20:07:43.1725934Z   CMakeLists.txt:344 (include)

It looks like the issue is that it's mixing the Emscripten toolchain with non-Emscripten CMake.

Component(s)

Packaging, R

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions