Open remy-tiitre opened 4 years ago
[206/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o FAILED: third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o /usr/bin/c++ -DSPIRV_CHECK_CONTEXT -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I../third_party/spirv-tools -I../third_party/spirv-tools/include -I../third_party/spirv-headers/include -Ithird_party/spirv-tools -Wimplicit-fallthrough -O3 -DNDEBUG -fPIC -Wextra-semi -w -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Werror -std=c++11 -fno-exceptions -fno-rtti -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -std=gnu++11 -MD -MT third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o -MF third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o.d -o third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o -c ../third_party/spirv-tools/source/opt/ccp_pass.cpp c++: fatal error: Killed signal terminated program cc1plus compilation terminated. [207/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/cfg_cleanup_pass.cpp.o [208/773] Building CXX object third_party/spirv-tools/source/CMakeFiles/SPIRV-Tools.dir/val/validation_state.cpp.o [209/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/build_module.cpp.o [210/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/block_merge_pass.cpp.o [211/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/block_merge_util.cpp.o [212/773] Building CXX object third_party/spirv-tools/test/reduce/CMakeFiles/test_reduce.dir/operand_to_undef_test.cpp.o [213/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/basic_block.cpp.o [214/773] Building CXX object third_party/spirv-tools/test/reduce/CMakeFiles/test_reduce.dir/operand_to_constant_test.cpp.o [215/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/aggressive_dead_code_elim_pass.cpp.o ninja: build stopped: subcommand failed.
Never mind, it was memory limit issue. Mac OS docker default limit is 2G which was too low. Bumping it to 8G fixed the issue. Might be good to document it,