Skip to content

Commit

Permalink
rm pack so
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed May 22, 2021
1 parent babcc7d commit c6791ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pack_zetasql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export -f install_external_lib

pushd bazel-bin/
# exlucde test so
find zetasql -maxdepth 4 -type f -iname '*.so' -exec bash -c 'install_lib $0' {} \;
find zetasql -type f -iname '*.a' -exec bash -c 'install_lib $0' {} \;

# external lib headers
Expand All @@ -55,7 +54,7 @@ popd
pushd external
find icu -type f -iregex ".*/.*\.\(so\|a\)\$" -exec bash -c 'install_external_lib $0' {} \;
find com_googlesource_code_re2 -type f -iregex ".*/.*\.\(so\|a\)\$" -exec bash -c 'install_external_lib $0' {} \;
find com_googleapis_googleapis -type f -iname '*.so' -exec bash -c 'install_external_lib $0' {} \;
find com_googleapis_googleapis -type f -iname '*.a' -exec bash -c 'install_external_lib $0' {} \;
popd

# zetasql generated files: protobuf & template generated files
Expand All @@ -75,7 +74,5 @@ echo "end" >> libzetasql.mri
ar -M <libzetasql.mri
ranlib libzetasql.a
mv libzetasql.a "$PREFIX/lib"
mv tmp-lib/*.so "$PREFIX/lib"


tar czf "libzetasql-$VERSION.tar.gz" "libzetasql-$VERSION"/

0 comments on commit c6791ac

Please sign in to comment.