forked from symengine/symengine-wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdown_them_all.sh
53 lines (47 loc) · 2.04 KB
/
down_them_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
mkdir -p dist
cd dist
version=$1
version_post=$2
if [[ "$1" == "" ]]; then
echo "Usage: down_them_all.sh <version>"
exit 1
fi
declare -a arr=(
"-cp38-cp38-macosx_10_9_x86_64.whl"
"-cp39-cp39-macosx_10_9_x86_64.whl"
"-cp310-cp310-macosx_10_9_x86_64.whl"
"-cp311-cp311-macosx_10_9_x86_64.whl"
"-cp38-cp38-macosx_11_0_arm64.whl"
"-cp39-cp39-macosx_11_0_arm64.whl"
"-cp310-cp310-macosx_11_0_arm64.whl"
"-cp311-cp311-macosx_11_0_arm64.whl"
"-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
"-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
"-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
"-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
"-cp38-cp38-win_amd64.whl"
"-cp39-cp39-win_amd64.whl"
"-cp310-cp310-win_amd64.whl"
"-cp311-cp311-win_amd64.whl"
"-pp38-pypy38_pp73-macosx_10_9_x86_64.whl"
"-pp39-pypy39_pp73-macosx_10_9_x86_64.whl"
"-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-pp39-pypy39_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl"
"-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
"-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl"
".tar.gz")
for whl_file in "${arr[@]}"
do
curl -L -O https://github.com/symengine/symengine-wheels/releases/download/v${version}${version_post}/symengine-${version}${whl_file};
done