mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00

* linkopts shared * replace gflags with absl flags * fix * add test option * fix * add cpp worker to mac ci * fix * support empty redis password;mod arc argv * add encoding * test * ignore example test on mac * support mac * fix * fix and update doc * fix * fix run.sh * fix init * fix typo * fix run.sh * fix lint Co-authored-by: 久龙 <guyang.sgy@antfin.com>
10 lines
341 B
Bash
10 lines
341 B
Bash
#!/usr/bin/env bash
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE:-$0}")" || exit; pwd)"
|
|
|
|
bazel --nosystem_rc --nohome_rc build //:example
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
DYLD_LIBRARY_PATH="$ROOT_DIR/thirdparty/lib" "${ROOT_DIR}"/bazel-bin/example
|
|
else
|
|
LD_LIBRARY_PATH="$ROOT_DIR/thirdparty/lib" "${ROOT_DIR}"/bazel-bin/example
|
|
fi
|