Unity WebGLビルドが通らないと思ったらCPUの熱問題だった
要約
PCを変えてからというもの、どのUnityバージョン、どのレンダーパイプラインでも、WebGLビルドが通らない。空のプロジェクトでも失敗する。
Emscripten, LLVMのエラーで以下のようなものである。
エラー内容
Building Library\Bee\artifacts\WebGL\GameAssembly\release_WebGL_wasm\xl8yq1p3gv5y.o failed with output:
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: "C:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\clang++.exe" -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=8 -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL "--sysroot=C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\cache\sysroot" -Xclang -iwithsysroot/include\compat -D__webgl__ -Wno-c++11-extensions -Wno-nonportable-include-path -ffunction-sections -fno-unwind-tables -fomit-frame-pointer -fno-threadsafe-statics -std=c++11 -Wno-#warnings -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -O3 -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DHAVE_BDWGC_GC -DNDEBUG -I. "-IG:/Unity projects/WebGL Test/Library/Bee/artifacts/WebGL/il2cppOutput/cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/il2cpp/libil2cpp/pch" "-IC:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/il2cpp/libil2cpp" "-IC:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/il2cpp/external/baselib/Include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include" "-IC:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/il2cpp/external/baselib/Platforms/WebGL/Include" -fcolor-diagnostics -fdiagnostics-absolute-paths -c -xc++ "G:/Unity projects/WebGL Test/Library/Bee/artifacts/WebGL/il2cppOutput/cpp/mscorlib.cpp" -o Library/Bee/artifacts/WebGL/GameAssembly/release_WebGL_wasm/xl8yq1p3gv5y.o
- <eof> parser at end of file
- Optimizer
#0 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xdf0133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x486b4f
#1 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x48696c C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x495c68
#2 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x496266 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x49570c
#3 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x496266 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x496310
#4 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x3e458d C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x3e3e33
#5 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x3e0c5f C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x3dd195
#6 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xd67cd4 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xd6776a
#7 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1a851f2 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x87cd93
#8 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1092ee2 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2d79071
#9 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1a86076 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2d78a25
#10 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9d9996 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2d79605
#11 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9d99c6 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2d7a619
#12 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9d9962 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x87d0d3
#13 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9db941 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1a85de2
#14 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x87d0d3 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x108c1a2
#15 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x108824a C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1089e01
#16 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2f9382e C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2108a64
#17 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1623857 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2f92628
#18 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1623332 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x15edf45
#19 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x168a288 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x73533
#20 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x6e467 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x15064f7
#21 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xdc4e1d C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1506ad0
#22 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1481fbf C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x148230d
#23 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x14691be C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x708bb
#24 0x00007ff6c1400133 C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2d53484 (C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0xdf0133)
#25 0x00007ff6c1400133
#26 0x00007ff6c1400133 (C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0xdf0133)
0x00007FF6C1400133 (0x000002098C1FA700 0x0000000000000002 0x000000648DB88350 0x0000000000000000)
0x00007FF6C0A96B4F (0x000000648DB88288 0x000002098C1FB360 0x000000648DB88530 0x000002098C1FB480)
0x00007FF6C0A9696C (0x000002098C1FB480 0x000000648DB882C9 0x000002098C1FB480 0x0000000000000028)
0x00007FF6C0AA5C68 (0x0000020900000020 0x000002098C1FB480 0x0000000000000001 0x000000648DB88530)
0x00007FF6C0AA6266 (0x000000648DB88449 0x00000209892124F8 0x000002098CAAE300 0x0000000000000000)
0x00007FF6C0AA570C (0x000002098A7DB718 0x000002098CAAE300 0x0000000000000000 0x000000648DB88530)
0x00007FF6C0AA6266 (0x000000648DB885B9 0x000000648DB88648 0x000002098BF3ABB0 0x0000000000000000)
0x00007FF6C0AA6310 (0x000002098C1FB360 0x000002098A7D33A0 0x000002098A7049D0 0x000002098A7D0006)
0x00007FF6C09F458D (0x000002098A7D33F0 0x000002098A7D33A0 0x000000648DB886F0 0x0000000000000001)
0x00007FF6C09F3E33 (0x000002098A7D33A0 0x000000648DB88850 0x000002098BF3ABB0 0x000002098BF3ABB0)
0x00007FF6C09F0C5F (0x000002098BF3ABB0 0x000000648DB88990 0x000002098CAAEA00 0x000002098CAAE300)
0x00007FF6C09ED195 (0x000002098CAAE388 0x000002098CAAEA00 0x000002098BF3ABE8 0x000002098BF3ABE8)
0x00007FF6C1377CD4 (0x000002098CE44300 0x000002098B210BE8 0x000002098CE44318 0x000000648DB88CB0)
0x00007FF6C137776A (0x000000648DB88E50 0x000002098CEECF38 0x000000648DB8A440 0x0000000000000018)
0x00007FF6C20951F2 (0x000000648DB88DF0 0x000000648DB8A728 0x000002098BEDEF78 0x0000000000000000)
0x00007FF6C0E8CD93 (0x000002098CEECF38 0x000000648DB890C0 0x000000648DB890C0 0x000000648DB8A440)
0x00007FF6C16A2EE2 (0x000000648DB88FB0 0x000000648DB8A728 0x0000020989C33C00 0x00007FF6C4130040)
0x00007FF6C3389071 (0x00007FF6C361223D 0x00007FF6C208FFA1 0x00007FF6C361223D 0x000000648DB892F0)
0x00007FF6C2096076 (0x000000648DB893F0 0x000000648DB8A728 0x0000020989A71A80 0x0000000000000000)
0x00007FF6C3388A25 (0x000000648DB898D0 0x000000648DB89480 0x000000648DB8A728 0x000000648DB8A4E0)
0x00007FF6C0FE9996 (0x000000648DB894E0 0x000000648DB8A728 0x000002098BEDEFD0 0x000000648DB89968)
0x00007FF6C3389605 (0x000002098A14D078 0x00007FF6C0FE8BC1 0x000002098A14D078 0x000000648DB89840)
0x00007FF6C0FE99C6 (0x000000648DB897E0 0x000002098AFD4080 0x0000020989C33C00 0x0000000000000000)
0x00007FF6C338A619 (0x000002098BAB6480 0x000000648DB89EF0 0x000000648DB89F20 0x0000000000000003)
0x00007FF6C0FE9962 (0x000000648DB89EB0 0x000000648DB8A728 0x0000020989276230 0x000002098BAB6480)
0x00007FF6C0E8D0D3 (0x000002098BAB6480 0x000000648DB8A070 0x000002098BAB6418 0x000000648DB8A490)
0x00007FF6C0FEB941 (0x0000000000000000 0x000000648DB8A230 0x0000020989276230 0x000000648DB8A490)
0x00007FF6C2095DE2 (0x000000648DB8A1D0 0x000000648DB8A728 0x0000020989276230 0x0000000000000000)
0x00007FF6C0E8D0D3 (0x000000648DB8A340 0x000000648DB8A670 0x000002098ADD2190 0x000000648DB8A490)
0x00007FF6C169C1A2 (0x0000000000000000 0x000000648DB8BE30 0x0000000000000005 0x0000000000000000)
0x00007FF6C169824A (0x00000000000003FF 0x00007FFA1FC4AB11 0x0000000000000000 0x0000020989180000)
0x00007FF6C1699E01 (0x0000020989263650 0x0000020989276268 0x0000020989276268 0x0000000000000000)
0x00007FF6C35A382E (0x0000000000000000 0x0000020989263650 0x00000209891CFBB0 0x0000000000000000)
0x00007FF6C2718A64 (0x000002098920D400 0x0000000000000000 0x000002098920D440 0x0000000000000000)
0x00007FF6C1C33857 (0x0000020989214FD0 0x0000000000000000 0xFFFFFFFFFFFFFFFF 0x0000020989180150)
0x00007FF6C35A2628 (0x000000648DB8D580 0x00007FF6C1C084B4 0x00008579E68B16F8 0x00007FF6C336314F)
0x00007FF6C1C33332 (0x0000000000000000 0x000000648DB8D4F8 0x0000000400000000 0x0000020989214FD0)
0x00007FF6C1BFDF45 (0x00000209891CFCB0 0x0000000000000038 0x0000000000000000 0x000002098920D440)
0x00007FF6C1C9A288 (0x0000000000000000 0x000000648DB8D730 0x00000209891D3420 0x0000000000000000)
0x00007FF6C0683533 (0x0000000000000000 0x000000648DB8DEA9 0x000000648DB8DFB0 0x0000000000000000)
0x00007FF6C067E467 (0x0000000000000120 0x000000648DB8DFC8 0x000000648DB8DFB0 0x0000000000000002)
0x00007FF6C1B164F7 (0x000002098920CE30 0x000000648DB8DFB0 0x0000020900000003 0x000002098920DD60)
0x00007FF6C13D4E1D (0x000000648DB8FB50 0x0000000000000000 0x0000000000000001 0x00007FFA1D2FF70C)
0x00007FF6C1B16AD0 (0x00000209891D2560 0x000000648DB8E509 0x000002098920DB70 0x0000000000000000)
0x00007FF6C1A91FBF (0x0000020989209FF0 0x0000020989209FF0 0x000002090000003E 0x000002098920ACB8)
0x00007FF6C1A9230D (0x000000648DB8E689 0x0000000000000000 0x000002098920ACC0 0x000002098920ACC0)
0x00007FF6C1A791BE (0x0000000000000000 0x0000000000000001 0x0000000000000001 0x0000000000000000)
0x00007FF6C06808BB (0x0000000000000000 0x00007FF6C33634FD 0x0000000000000000 0x0000000000000000)
0x00007FF6C3363484 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
0x00007FFA1F36257D (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x1D bytes(s)
0x00007FFA1FC6AA58 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x28 bytes(s)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 14.0.1 (https://github-com-cache.bf.unity3d.com/Unity-Technologies/llvm-project c62053979489ccb002efe411c3af059addcb5d7d)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: C:\Program Files\Unity\Hub\Editor\2022.3.15f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm
clang++: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\MICHAE~1\AppData\Local\Temp\mscorlib-777f15.cpp
clang++: note: diagnostic msg: C:\Users\MICHAE~1\AppData\Local\Temp\mscorlib-777f15.sh
clang++: note: diagnostic msg:
emcc: error: '"C:/Program Files/Unity/Hub/Editor/2022.3.15f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\clang++.exe" -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=8 -mllvm -combiner-global-alias-analysis<message truncated>
詳細は不明(issueにポストしているのでいずれ解決するかも)だが、ビルド時にCPU温度が90℃を超えていたのでCPUのダウンクロックを行い温度を80℃未満になるようにしたところ、問題なくビルドが成功するようになった。
原因
正直不明であるが、CPUのオーバーヒート時(80℃以上?)にビルドが成功しない。解決のヒントとなったのはたまにShader Compiler IPC Exception: Terminating shader compiler processが発生するのと、先ほどのissueでポストしたところ、マルチスレッド動作時におかしいからCPUを交換したら治ったとissueの投稿主がレスしてくれたためである。診断ツールを使ってもCPU,RAMに異常はなかったため熱暴走を疑った。
解決策
私のCPUはintel i9-13900Kで、intel XTUを使いPerformance Core Ratio, Efficient Core Ratioを元の80%程度に落とした。
追記:Efficient Core Ratio(省電力コア)は変えなくても良い可能性が高い
Before
After
おわりに
Unity WebGLを行うまでCPUの異常を感じることはなかった(部屋が暖かくなるな~とは思っていたが)ので、このためにCPUの性能を落とすのは悲しい。が、100℃近くなるのもCPU寿命的には良くない。調べると最新の強力なCPUを使用している人は同様に熱を気にしていて、今回のように性能を落として使っている人がそれなりにいるようだ。
とはいえ、この解決策に辿り着くまで無駄にネットの海を彷徨うことになったし、CPUに優しいビルド方法が提供されていても良いような気はするのでLLVM,あるいはEmsciripten側で何かしらアクションがあると良いのだが。
Discussion