mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
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
|