Skip to content

Commit

Permalink
Import PR 23: Remove link normalization
Browse files Browse the repository at this point in the history
test external contribution

GITHUB_PR_URL=#23
GitOrigin-RevId: eefd3b863ef44014a425c929b99e8a25f5c254a6
Change-Id: Ida1ef3dae767cd9f1346799d84053bd9fd1c0dcd
Bug: 303128267
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Oct 6, 2023
1 parent f55b7a4 commit c8c0596
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions docs/deploying_locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ mkdir /tmp/realtime
The files that you want to server to serve should go into these directories. The server will load
their contents on startup and continue to watch them while it is running.

## Update symlinks

The usual **bazel-bin** symlink won't work by default because we compile inside Debian. This script
will correct the symlink target paths. _It must be run after each call compilation!_

```sh
./builders/tools/normalize-bazel-symlinks
```

## Start the server

```sh
Expand Down
1 change: 0 additions & 1 deletion tools/serving_data_generator/generate_load_test_data
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ mkdir -p "${DELTAS_DIR}"
BAZEL_EXTRA_ARGS=

"${TOOLS_DIR}"/bazel-debian build //tools/serving_data_generator:test_serving_data_generator
"${TOOLS_DIR}"/normalize-bazel-symlinks

declare -i nanosecond
for _ in {1..3000}
Expand Down
2 changes: 0 additions & 2 deletions tools/udf/sample_word2vec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Set up the data:

```sh
mkdir /tmp/deltas
./builders/tools/normalize-bazel-symlinks
cp $(builders/tools/bazel-debian aquery 'tools/udf/sample_word2vec:udf_delta' |
sed -n 's/Outputs: \[\(.*\)\]/\1/p' |
xargs dirname)/DELTA* /tmp/deltas
Expand All @@ -76,7 +75,6 @@ Build the local server:
Run the local server:

```sh
./builders/tools/normalize-bazel-symlinks
GLOG_alsologtostderr=1 \
./bazel-bin/components/data_server/server/server \
--delta_directory=/tmp/deltas \
Expand Down

0 comments on commit c8c0596

Please sign in to comment.