Skip to content

Commit e70a98b

Browse files
authored
Remove our own manywheel fixup (#645)
1 parent 8cf1daf commit e70a98b

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

packaging/post_build_script.sh

+8-16
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,14 @@ assert_not_in_wheel $wheel_path "^doc"
3737
assert_not_in_wheel $wheel_path "^benchmarks"
3838
assert_not_in_wheel $wheel_path "^packaging"
3939

40-
if [[ "$unamestr" == 'Linux' ]]; then
41-
# TODO: Put this back with higher upper bound of version symbol.
42-
# # See invoked python script below for details about this check.
43-
# extracted_wheel_dir=$(mktemp -d)
44-
# unzip -q $wheel_path -d $extracted_wheel_dir
45-
# symbols_matches=$(find $extracted_wheel_dir | grep ".so$" | xargs objdump --syms | grep GLIBCXX_3.4.)
46-
# python packaging/check_glibcxx.py "$symbols_matches"
47-
48-
echo "ls dist"
49-
ls dist
50-
51-
old="linux_x86_64"
52-
new="manylinux_2_17_x86_64.manylinux2014_x86_64"
53-
echo "Replacing ${old} with ${new} in wheel name"
54-
mv dist/*${old}*.whl $(echo dist/*${old}*.whl | sed "s/${old}/${new}/")
55-
fi
40+
# TODO: Put this back with higher upper bound of version symbol.
41+
#if [[ "$unamestr" == 'Linux' ]]; then
42+
# # See invoked python script below for details about this check.
43+
# extracted_wheel_dir=$(mktemp -d)
44+
# unzip -q $wheel_path -d $extracted_wheel_dir
45+
# symbols_matches=$(find $extracted_wheel_dir | grep ".so$" | xargs objdump --syms | grep GLIBCXX_3.4.)
46+
# python packaging/check_glibcxx.py "$symbols_matches"
47+
#fi
5648

5749
echo "ls dist"
5850
ls dist

0 commit comments

Comments
 (0)