Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wasm build: emscripten build toolchain #5115

Closed
aleino-nv opened this issue Sep 19, 2024 · 0 comments
Closed

Wasm build: emscripten build toolchain #5115

aleino-nv opened this issue Sep 19, 2024 · 0 comments
Assignees
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case.

Comments

@aleino-nv
Copy link
Collaborator

aleino-nv commented Sep 19, 2024

  • Setup emscripten build toolchain and use it to build the slang.dll
  • Fix all compile errors and system library dependencies so things to work. Mostly we need some work on the filesystem calls.
@aleino-nv aleino-nv self-assigned this Sep 19, 2024
@aleino-nv aleino-nv changed the title WASM build: emscripten build toolchain Wasm build: emscripten build toolchain Sep 19, 2024
@bmillsNV bmillsNV added the goal:forward looking Feature needed at a later date, not connected to a specific use case. label Sep 19, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
The issues are all are due to 'long' types being 32 bits on WASM.

- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 23, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
The issues are all are due to 'long' types being 32 bits on WASM.

- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
The issues are all are due to 'long' types being 32 bits on WASM.

- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 24, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 25, 2024
The issues are all are due to 'long' types being 32 bits on WASM.

- class members redeclared errors
- << with StringBuilder and unsigned long is ambiguous

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 25, 2024
Since the generators are run at build-time, we should not use CMAKE_EXECUTABLE_SUFFIX,
which is the suffix for the target platform.
Instead, define CMAKE_HOST_EXECUTABLE_SUFFIX as appropriate, and use that suffix instead.

This helps to address issue shader-slang#5115.
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 25, 2024
aleino-nv added a commit to aleino-nv/slang that referenced this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case.
Projects
None yet
Development

No branches or pull requests

2 participants