traversaro / drake-lite-cmake

Reduced (lite) unofficial version of drake (https://drake.mit.edu/) that can be built with CMake.
11 stars 0 forks source link

Debug builds on Windows on GitHub Actions fail with LLVM ERROR: out of memory #7

Open traversaro opened 4 years ago

traversaro commented 4 years ago

Example output:

2020-04-11T14:59:28.2093320Z   LLVM ERROR: out of memory
2020-04-11T14:59:28.2115962Z   Stack dump:
2020-04-11T14:59:28.2124140Z   0.   Program arguments: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\bin\clang-cl.exe -cc1 -triple x86_64-pc-windows-msvc19.25.28610 -emit-obj -mrelax-all -mincremental-linker-compatible -disable-free -disable-llvm-verifier -discard-value-names -main-file-name multibody_tree.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -mllvm -x86-asm-syntax=intel -D_DEBUG -D_MT -D_DLL --dependent-lib=msvcrtd --dependent-lib=oldnames -stack-protector 2 -fcxx-exceptions -fexceptions -fexternc-nounwind -fms-volatile -fdefault-calling-conv=cdecl -fdiagnostics-format msvc -gcodeview -debug-info-kind=limited -momit-leaf-frame-pointer -coverage-notes-file D:\a\drake-lite-cmake\drake-lite-cmake\build\multibody_tree.gcno -resource-dir C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\lib\clang\9.0.0 -include D:/a/drake-lite-cmake/drake-lite-cmake/msvc_attribute_workaround.h -I D:\a\drake-lite-cmake\drake-lite-cmake\build -I D:\a\drake-lite-cmake\drake-lite-cmake\build\_deps\ghcfilesystem-src\include -I D:\a\drake-lite-cmake\drake-lite-cmake\build\_deps\tinyobjloader-src -I C:\vcpkg\installed\x64-windows\include\eigen3 -I C:\vcpkg\installed\x64-windows\include -I D:\a\drake-lite-cmake\drake-lite-cmake\install\include -D WIN32 -D _WINDOWS -D TINYOBJLOADER_USE_DOUBLE -D _USE_MATH_DEFINES -D _ENABLE_EXTENDED_ALIGNED_STORAGE -D FMT_LOCALE -D FMT_SHARED -D CMAKE_INTDIR="Debug" -D drake_lite_cmake_EXPORTS -D _WINDLL -D _MBCS -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\lib\clang\9.0.0\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\atlmfc\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\VS\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\VS\UnitTest\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt -internal-isystem C:\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\Include\um -O0 -Wall -Wno-error -fdeprecated-macro -fdebug-compilation-dir D:\a\drake-lite-cmake\drake-lite-cmake\build -ferror-limit 19 -fmessage-length 0 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms-compatibility-version=19.25.28610 -std=c++17 -fdelayed-template-parsing -fno-inline -fobjc-runtime=gcc -fno-caret-diagnostics -fdiagnostics-show-option -faddrsig -o drake-lite-cmake.dir\Debug\multibody_tree.obj -x c++ D:\a\drake-lite-cmake\drake-lite-cmake\build\drake\multibody\tree\multibody_tree.cc
2020-04-11T14:59:28.2125186Z   1.   <eof> parser at end of file

From https://github.com/traversaro/drake-lite-cmake/runs/579157130 .