[Build] WASM static lib build fails: no member named 'Negate' in 'onnxruntime::MLFloat16' #23769
Labels
build
build issues; typically submitted using template
ep:WebGPU
ort-web webgpu provider
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
When compiling the latest main (af04b20) and using
--build_wasm_static_lib
, I get a handful of errors related to MLFloat16 missing 'Negate', 'IsNegative', 'FromBits'.Full build command and error output pasted in the appropriate boxes.
If I swap
--build_wasm_static_lib
for--build_shared_lib
(and keep all other build flags), the compile works fine (I need to add--compile_no_warning_as_error
for a minor error:Urgency
No response
Target platform
WebAssembly
Build script
Error / output
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: