Skip to content

Commit

Permalink
use bazel tools new jdk deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ashione committed Mar 24, 2024
1 parent 15c8d17 commit b260975
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion streaming/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ cc_binary(
visibility = ["//visibility:public"],
deps = [
":streaming_lib",
"@platforms//tools/jdk:jni",
"@bazel_tools//tools/jdk:jni",
],
)

Expand Down
12 changes: 12 additions & 0 deletions streaming/buildtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ TMP_LOG_OUTPUT="$script_dir"/tmp/logs

mkdir -p "$TMP_LOG_OUTPUT"

if [[ "$VIRTUAL_ENV" != "" ]]; then
INVENV=1
else
INVENV=0
fi

function suppress_output()
{
"$script_dir"/../scripts/suppress_output "$@"
Expand All @@ -22,6 +28,12 @@ function create_py_env()

function init()
{
if [ $INVENV = 1 ]
then
echo "Already in vritual env, reuse $VIRTUAL_ENV"
return 0
fi

pushd "$script_dir" || exit
PY3_DIR=$script_dir/../py3
if [ -d $PY3_DIR ]
Expand Down
2 changes: 1 addition & 1 deletion streaming/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
description="streaming module",
packages=find_packages(),
package_data={"raystreaming": ["_streaming.so", "jars/raystreaming_dist.jar"]},
install_requires=["msgpack>=0.6.2"],
install_requires=["msgpack>=0.6.2", "pytest"],
)

0 comments on commit b260975

Please sign in to comment.