diff --git a/packaging/post_build_script.sh b/packaging/post_build_script.sh index f77bc05f4..ae2d162ef 100755 --- a/packaging/post_build_script.sh +++ b/packaging/post_build_script.sh @@ -37,22 +37,14 @@ assert_not_in_wheel $wheel_path "^doc" assert_not_in_wheel $wheel_path "^benchmarks" assert_not_in_wheel $wheel_path "^packaging" -if [[ "$unamestr" == 'Linux' ]]; then - # TODO: Put this back with higher upper bound of version symbol. - # # See invoked python script below for details about this check. - # extracted_wheel_dir=$(mktemp -d) - # unzip -q $wheel_path -d $extracted_wheel_dir - # symbols_matches=$(find $extracted_wheel_dir | grep ".so$" | xargs objdump --syms | grep GLIBCXX_3.4.) - # python packaging/check_glibcxx.py "$symbols_matches" - - echo "ls dist" - ls dist - - old="linux_x86_64" - new="manylinux_2_17_x86_64.manylinux2014_x86_64" - echo "Replacing ${old} with ${new} in wheel name" - mv dist/*${old}*.whl $(echo dist/*${old}*.whl | sed "s/${old}/${new}/") -fi +# TODO: Put this back with higher upper bound of version symbol. +#if [[ "$unamestr" == 'Linux' ]]; then +# # See invoked python script below for details about this check. +# extracted_wheel_dir=$(mktemp -d) +# unzip -q $wheel_path -d $extracted_wheel_dir +# symbols_matches=$(find $extracted_wheel_dir | grep ".so$" | xargs objdump --syms | grep GLIBCXX_3.4.) +# python packaging/check_glibcxx.py "$symbols_matches" +#fi echo "ls dist" ls dist