tensorflow-py: fix build (#6699)

This commit is contained in:
DavidKorczynski 2021-10-30 16:07:57 +01:00 committed by GitHub
parent a915e85916
commit 89f9287918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -29,10 +29,10 @@ for fuzzer in $(find $SRC -name '*_fuzz.py'); do
pyinstaller --distpath $OUT --onefile --name $fuzzer_package $fuzzer
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libz-eb09ad1d.so.1.2.3 $OUT
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libquadmath-2d0c479f.so.0.0.0 $OUT
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libgfortran-2e0d59d6.so.5.0.0 $OUT
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libopenblasp-r0-09e95953.3.13.so $OUT
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libopenblasp-r0-2d23e62b.3.17.so $OUT
cp /usr/local/lib/python3.8/site-packages/numpy.libs/libquadmath-2d0c479f.so.0.0.0 $OUT
echo "#!/bin/sh
# LLVMFuzzerTestOneInput for fuzzer detection.
this_dir=\$(dirname \"\$0\")