aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote/README.md
diff options
context:
space:
mode:
authorGravatar Alex Humesky <ahumesky@google.com>2016-11-19 01:11:52 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-11-21 19:39:58 +0000
commit75c88b8e0a7d793ccbe65efa20bde32007bd35ca (patch)
tree4016418bf17bb8bb86481b1b9c07556ed4fd8eb5 /src/main/java/com/google/devtools/build/lib/remote/README.md
parent451599a8d22d79a84e228c9c06207df490f02f9f (diff)
*** Reason for rollback *** -- MOS_MIGRATED_REVID=139640949
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/README.md')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/README.md32
1 files changed, 2 insertions, 30 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/README.md b/src/main/java/com/google/devtools/build/lib/remote/README.md
index b0598acb21..f778edee2a 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/README.md
+++ b/src/main/java/com/google/devtools/build/lib/remote/README.md
@@ -9,8 +9,7 @@ this step.
- Then you run Bazel pointing to the Hazelcast server.
- bazel --host_jvm_args=-Dbazel.DigestFunction=SHA1 build \
- --hazelcast_node=localhost:5701 --spawn_strategy=remote \
+ bazel build --hazelcast_node=localhost:5701 --spawn_strategy=remote \
src/tools/generate_workspace:all
Above command will build generate_workspace with remote spawn strategy that uses
@@ -26,33 +25,6 @@ with default configuration.
- Then run Bazel pointing to the Hazelcast server and remote worker.
- bazel --host_jvm_args=-Dbazel.DigestFunction=SHA1 build \
- --hazelcast_node=localhost:5701 \
+ bazel build --hazelcast_node=localhost:5701 \
--remote_worker=localhost:8080 \
--spawn_strategy=remote src/tools/generate_workspace:all
-
-# How to run a remote worker with a remote cache server.
-
-- First you need to run a standalone Hazelcast server with default
-configuration. If you already have a separate Hazelcast cluster you can skip
-this step.
-
- java -cp third_party/hazelcast/hazelcast-3.6.4.jar \
- com.hazelcast.core.server.StartServer
-
-- Then run the remote cache server:
-
- bazel-bin/src/tools/remote_worker/remote_cache --listen_port 8081
-
-- The run the remote worker:
-
- bazel-bin/src/tools/remote_worker/remote_worker \
- --work_path=/tmp/remote --listen_port 8080
-
-- Then run Bazel pointing to the cache server and remote worker.
-
- bazel --host_jvm_args=-Dbazel.DigestFunction=SHA1 build \
- --hazelcast_node=localhost:5701 \
- --remote_worker=localhost:8080 \
- --remote_cache=localhost:8081 \
- --spawn_strategy=remote src/tools/generate_workspace:all