Repository: bazelbuild/bazel
Issue: Bazel docs - style upgrade
Labels: type: feature request
type: documentation (cleanup)
P1

Tracks the effort to productionize https://groups.google.com/g/bazel-dev/c/hjRP7JTtZ_U/m/9SZYZUSBDAAJ.

Prototype at https://bazel-docs-staging.netlify.com/versions/master/bazel-overview.html





Issue comments:

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: