Skip to content
Merged
4 changes: 2 additions & 2 deletions tests/scripts/release/test_release_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ echo "[6/9] Unzip ..."
tar -zxf apache-tvm-src-${version_rc}.tar.gz

echo "[7/9] Checking whether binary in source code ..."
output=`find apache-tvm-src-${version_rc} -type f -exec file {} + | grep -w "ELF\|shared object"`
output=`find apache-tvm-src-${version} -type f -exec file {} + | grep -w "ELF\|shared object"`
if [[ -n "$output" ]]; then
echo "Error: ELF or shared object files found:"
echo "$output"
exit 1
fi

echo "[8/9] Compile and Python Import on Linux ..."
cd apache-tvm-src-${version_rc}
cd apache-tvm-src-${version}
mkdir build
cd build
cp ../cmake/config.cmake .
Expand Down
Loading