Skip to content

Instantly share code, notes, and snippets.

@sayrer
Created March 30, 2021 18:14
Show Gist options
  • Save sayrer/5a7993b2ac086cf848bcdd6cb2945a89 to your computer and use it in GitHub Desktop.
Save sayrer/5a7993b2ac086cf848bcdd6cb2945a89 to your computer and use it in GitHub Desktop.
verbose build
$ ../bazel/bazel-bin/src/bazel-dev build --compilation_mode=opt //cpp:hello_world --verbose_failures --announce_rc --sandbox_debug --verbose_failures --incompatible_enable_cc_toolchain_resolution
INFO: Invocation ID: 0db93c47-d278-472b-aefa-f7ac46a0d143
INFO: Streaming build results to: https://app.buildbuddy.io/invocation/0db93c47-d278-472b-aefa-f7ac46a0d143
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=304
INFO: Reading rc options for 'build' from /home/sayrer/github/grafica/crustls/.bazelrc:
'build' options: --bes_results_url=https://app.buildbuddy.io/invocation/ --bes_backend=grpcs://cloud.buildbuddy.io --remote_cache=grpcs://cloud.buildbuddy.io --remote_timeout=3600 --remote_executor=grpcs://cloud.buildbuddy.io --remote_header=x-buildbuddy-api-key=5G91vGMX57lwry1l0QGD --host_platform=//:docker_image_platform --platforms=//:docker_image_platform --extra_toolchains=@llvm_toolchain//:cc-toolchain-linux
DEBUG: /home/sayrer/.cache/bazel/_bazel_sayrer/8e5e07a0e1f8c164a058bc6d24e62a87/external/rules_foreign_cc/workspace_definitions.bzl:6:6: `@rules_foreign_cc//:workspace_definitions.bzl` has been replaced by `@rules_foreign_cc//foreign_cc:repositories.bzl`. Please use the updated source location
INFO: Analyzed target //cpp:hello_world (1 packages loaded, 99 targets configured).
INFO: Found 1 target...
INFO: From Compiling cpp/main.cc:
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: external/llvm_toolchain/bin
Found candidate GCC installation: external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/10
Selected GCC installation: external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/10
Candidate multilib: .;@m64
Selected multilib: .;@m64
"external/llvm_toolchain/bin/clang" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.cc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -v -ffunction-sections -fdata-sections -coverage-notes-file /proc/self/cwd/bazel-out/k8-opt/bin/cpp/_objs/hello_world/main.gcno -resource-dir external/llvm_toolchain/lib/clang/8.0.0 -dependency-file bazel-out/k8-opt/bin/cpp/_objs/hello_world/main.d -MT bazel-out/k8-opt/bin/cpp/_objs/hello_world/main.o -sys-header-deps -iquote . -iquote bazel-out/k8-opt/bin -iquote external/bazel_tools -iquote bazel-out/k8-opt/bin/external/bazel_tools -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=1 -D NDEBUG -D "__DATE__=\"redacted\"" -D "__TIMESTAMP__=\"redacted\"" -D "__TIME__=\"redacted\"" -isysroot external/grafica_build/sysroots/debian_sid_amd64-sysroot -internal-isystem external/llvm_toolchain/bin/../include/c++/v1 -internal-isystem external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/local/include -internal-isystem external/llvm_toolchain/lib/clang/8.0.0/include -internal-externc-isystem external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem external/grafica_build/sysroots/debian_sid_amd64-sysroot/include -internal-externc-isystem external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/include -O2 -Wall -Wthread-safety -Wself-assign -Wno-builtin-macro-redefined -std=c++17 -fdeprecated-macro -fdebug-compilation-dir /proc/self/cwd -fdebug-prefix-map=external/llvm_toolchain/=external/llvm_toolchain/ -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o bazel-out/k8-opt/bin/cpp/_objs/hello_world/main.o -x c++ cpp/main.cc -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0 default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "bazel-out/k8-opt/bin/external/bazel_tools"
ignoring nonexistent directory "external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/local/include"
ignoring nonexistent directory "external/grafica_build/sysroots/debian_sid_amd64-sysroot/include"
#include "..." search starts here:
.
bazel-out/k8-opt/bin
external/bazel_tools
#include <...> search starts here:
external/llvm_toolchain/bin/../include/c++/v1
external/llvm_toolchain/lib/clang/8.0.0/include
external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/include/x86_64-linux-gnu
external/grafica_build/sysroots/debian_sid_amd64-sysroot/usr/include
End of search list.
Target //cpp:hello_world up-to-date:
bazel-bin/cpp/hello_world
INFO: Elapsed time: 41.888s, Critical Path: 41.45s
INFO: 6 processes: 4 internal, 2 remote.
INFO: Streaming build results to: https://app.buildbuddy.io/invocation/0db93c47-d278-472b-aefa-f7ac46a0d143
INFO: Build completed successfully, 6 total actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment