Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow-py: fix build #9420

Merged
merged 1 commit into from
Jan 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/tensorflow-py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade pip chardet

# Due to Bazel bug, need to symlink python3 to python
# See https:/bazelbuild/bazel/issues/8665
Expand Down
2 changes: 1 addition & 1 deletion projects/tensorflow-py/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ for fuzzer in $(find $SRC -name '*_fuzz.py'); do
fuzzer_basename=$(basename -s .py $fuzzer)
fuzzer_package=${fuzzer_basename}.pkg

pyinstaller --distpath $OUT --onefile --name $fuzzer_package $fuzzer
pyinstaller --distpath $OUT --onefile --name $fuzzer_package $fuzzer --hidden-import=chardet

echo "#!/bin/sh
# LLVMFuzzerTestOneInput for fuzzer detection.
Expand Down