Repository: bazelbuild/bazel
Issue: Documentation: create a Bazel glossary
Labels: type: feature request
type: documentation (cleanup)
untriaged
team-OSS

Feature request: create a glossary for abstractions used in the Bazel build system and ecosystem.

Work in progress: https://github.com/jin/bazel-glossary

Issue comments:
Super-useful! 

Happy to help with (at least) configuration-related terms.

Pull request review comments:

Patch that resolved the issue:
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000000000..8af1e3ba247017
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+os: linux
+arch: ppc64le
+sudo: required
+language: go
+go:
+- "1.13.x"
+
+jobs:
+  include:
+    - dist: xenial
+      env: dist_version=16.04
+    - dist: bionic
+      env: dist_version=18.04
+
+before_install:
+  - sudo apt update
+  - sudo apt install build-essential python zip unzip gcc
+  - sudo apt install default-jre default-jdk
+
+script:
+  - wget -q https://oplab9.parqtec.unicamp.br/pub/ppc64el/bazel/ubuntu_${dist_version}/bazel_bin_ppc64le_1.0.0
+  - sudo mv bazel_bin_ppc64le_1.0.0 /usr/local/bin/bazel
+  - sudo chmod +x /usr/local/bin/bazel
+  - git clone https://github.com/bazelbuild/bazel
+  - cd bazel
+  - git checkout 314cd3353b018420598188cf54c3f97358baa2e3
+  - bazel --nomaster_bazelrc --bazelrc=/dev/null version
+  - bazel --nomaster_bazelrc --bazelrc=/dev/null info
+  - bazel build --host_javabase=@local_jdk//:jdk -- //src:bazel //src:bazel_jdk_minimal
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/BUILD b/src/main/java/com/google/devtools/build/lib/syntax/BUILD
index 82dddf8e367b14..f3d92062d0e09e 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/BUILD
+++ b/src/main/java/com/google/devtools/build/lib/syntax/BUILD
@@ -152,6 +152,7 @@ cc_binary(
     name = "libcpu_profiler.so",
     srcs = select({
         "//src/conditions:darwin": ["cpu_profiler_posix.cc"],
+        "//src/conditions:linux_ppc": ["cpu_profiler_posix.cc"],
         "//src/conditions:linux_x86_64": ["cpu_profiler_posix.cc"],
         "//conditions:default": ["cpu_profiler_unimpl.cc"],
     }),
@@ -165,6 +166,7 @@ cc_library(
     name = "jni",
     hdrs = ["@bazel_tools//tools/jdk:jni_header"] + select({
         "//src/conditions:linux_x86_64": ["@bazel_tools//tools/jdk:jni_md_header-linux"],
+        "//src/conditions:linux_ppc": ["@bazel_tools//tools/jdk:jni_md_header-linux"],
         "//src/conditions:darwin": ["@bazel_tools//tools/jdk:jni_md_header-darwin"],
         "//src/conditions:windows": ["@bazel_tools//tools/jdk:jni_md_header-windows"],
         "//conditions:default": [],
@@ -172,6 +174,7 @@ cc_library(
     includes = ["../../../../../../../../../external/bazel_tools/tools/jdk/include"] + select({
         # Remove these crazy prefixes when we move this rule.
         "//src/conditions:linux_x86_64": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/linux"],
+        "//src/conditions:linux_ppc": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/linux"],
         "//src/conditions:darwin": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/darwin"],
         "//src/conditions:windows": ["../../../../../../../../../external/bazel_tools/tools/jdk/include/win32"],
         "//conditions:default": [],


Test patch: