Skip to content

Commit

Permalink
[feat]: update yacl for cmake project
Browse files Browse the repository at this point in the history
  • Loading branch information
dterazhao committed Dec 22, 2023
1 parent a964f33 commit 6ab0cc5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tarpkg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env bash

CD=$(cd "$(dirname "$0")" || exit && pwd)
cd "$CD" || exit

pkg=heu
mkdir -p tmp/$pkg
cp -R include third_party $pkg CMakeLists.txt tmp/$pkg/
# shellcheck disable=SC2164
pushd tmp
rm -rf $pkg/third_party/{include,lib,bazel_cpp,bazel_rust}
if [[ "$OSTYPE" == "darwin"* ]]; then
gtar cvf $pkg.tar.gz $pkg
else
tar cvf $pkg.tar.gz $pkg
fi
rm -f ../$pkg.tar.gz && mv $pkg.tar.gz ..
# shellcheck disable=SC2164
popd
rm -rf tmp
Binary file modified third_party/src/yacl.tar.gz
Binary file not shown.

0 comments on commit 6ab0cc5

Please sign in to comment.