Skip to content

Commit 120f693

Browse files
engineerchuanezyang
authored andcommitted
Updated URL for downloading flac, changed http to https download (#297)
* Updated URL for downloading flac, changed http to https download * Removed comments that are documented in the code
1 parent a263118 commit 120f693

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packaging/build_from_source.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ pushd /tmp/torchaudio-deps
1212

1313

1414
# Curl Settings
15-
# 3 minutes is the absolute max for the curl command
16-
# Retry up to 10 times, wait to connect at most 5s per time
1715
CURL_OPTS="-L --retry 10 --connect-timeout 5 --max-time 180"
1816

19-
curl $CURL_OPTS -o sox-14.4.2.tar.bz2 "http://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.bz2"
20-
curl $CURL_OPTS -o lame-3.99.5.tar.gz "http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz"
21-
curl $CURL_OPTS -o flac-1.3.2.tar.xz "https://superb-dca2.dl.sourceforge.net/project/flac/flac-src/flac-1.3.2.tar.xz"
17+
curl $CURL_OPTS -o sox-14.4.2.tar.bz2 "https://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.bz2"
18+
curl $CURL_OPTS -o lame-3.99.5.tar.gz "https://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz"
19+
curl $CURL_OPTS -o flac-1.3.2.tar.xz "https://downloads.sourceforge.net/project/flac/flac-src/flac-1.3.2.tar.xz"
2220
curl $CURL_OPTS -o libmad-0.15.1b.tar.gz "https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz"
2321

2422
# unpack the dependencies

0 commit comments

Comments
 (0)