ysh329 commented on issue #18152: URL: https://github.com/apache/tvm/issues/18152#issuecomment-3082451537
Verified locally with script: https://github.com/apache/tvm/blob/d7e39f23596ca522b2891ca8405da301ad08620c/tests/scripts/release/test_release_package.sh, modified according [tianqi's advice](https://github.com/apache/tvm/issues/17861#issuecomment-2818271057). ## Check ```bash $ bash test_release_package.sh + version=v0.21.0 + rc=rc0 + version_rc=v0.21.0 + apache_prefix=v0.21.0 + '[' rc0 '!=' '' ']' + apache_prefix=v0.21.0-rc0 + version_rc=v0.21.0.rc0 + mkdir test_tvm_v0.21.0.rc0 ... ... IGNORE ... [1/9] Downloading from apache.org ... + mkdir apache ... IGNORE ... + echo '[2/9] Downloading from github.com ...' [2/9] Downloading from github.com ... + mkdir github ... IGNORE ... + echo '[3/9] Check difference between github.com and apache.org ...' [3/9] Check difference between github.com and apache.org ... + diff github/md5sum.txt ./apache/md5sum.txt + echo '[4/9] Checking asc ...' [4/9] Checking asc ... + cd github + gpg --verify ./apache-tvm-src-v0.21.0.rc0.tar.gz.asc ./apache-tvm-src-v0.21.0.rc0.tar.gz gpg: Signature made Thu Jul 17 08:22:55 2025 CST gpg: using RSA key A4D9228E55761E665BF01CBB5CE869CB7DEC048C gpg: Good signature from "Star Yuan (CODE SIGNING KEY) <[email protected]>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: A4D9 228E 5576 1E66 5BF0 1CBB 5CE8 69CB 7DEC 048C ... IGNORE ... + echo '[5/9] Checking sha512 ...' [5/9] Checking sha512 ... + sha512sum -c ./apache-tvm-src-v0.21.0.rc0.tar.gz.sha512 apache-tvm-src-v0.21.0.rc0.tar.gz: OK + echo '[6/9] Unzip ...' [6/9] Unzip ... + tar -zxf apache-tvm-src-v0.21.0.rc0.tar.gz + echo '[7/9] Checking whether binary in source code ...' [7/9] Checking whether binary in source code ... ++ find apache-tvm-src-v0.21.0 -type f -exec file '{}' + ++ grep -w 'ELF\|shared object' + output= + [[ -n '' ]] + echo '[8/9] Compile and Python Import on Linux ...' [8/9] Compile and Python Import on Linux ... + cd apache-tvm-src-v0.21.0 + mkdir build + cd build + cp ../cmake/config.cmake . + cmake . ... IGNORE ... creating build/lib.linux-x86_64-3.10/tvm/ffi x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/tvm/ffi/cython/core.o -o build/lib.linux-x86_64-3.10/tvm/ffi/core.cpython-310-x86_64-linux-gnu.so copying build/lib.linux-x86_64-3.10/tvm/ffi/core.cpython-310-x86_64-linux-gnu.so -> tvm/ffi [100%] Built target tvm_cython + cd .. + echo '[9/9] Import TVM and print path ...' [9/9] Import TVM and print path ... ++ pwd + export TVM_HOME=/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/apache-tvm-src-v0.21.0 + TVM_HOME=/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/apache-tvm-src-v0.21.0 + export PYTHONPATH=/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/apache-tvm-src-v0.21.0/python:/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/python:/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/build/python: + PYTHONPATH=/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/apache-tvm-src-v0.21.0/python:/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/python:/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/build/python: + python3 -c 'import tvm; print(tvm.__path__)' ['/home/stayua01/code/test_tvm/test_tvm_v0.21.0.rc0/github/apache-tvm-src-v0.21.0/python/tvm'] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
