Skip to content

Commit

Permalink
Fix AMD APP SDK download link (#1113)
Browse files Browse the repository at this point in the history
AMD website recently Switched to HTTPS, which makes the previous downloading script failure. This commit fixes this issue and all GPU tests pass now.
  • Loading branch information
huanzhang12 committed Dec 11, 2017
1 parent 4a9c6e0 commit 24177dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis/amd_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Original script from https://github.com/gregvw/amd_sdk/

# Location from which get nonce and file name from
URL="http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/"
URLDOWN="http://developer.amd.com/amd-license-agreement-appsdk/"
URL="https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/"
URLDOWN="https://developer.amd.com/amd-license-agreement-appsdk/"

NONCE1_STRING='name="amd_developer_central_downloads_page_nonce"'
FILE_STRING='name="f"'
Expand Down Expand Up @@ -35,4 +35,4 @@ NONCE2=`echo $FORM | awk -F ${NONCE2_STRING} '{print $2}'`
NONCE2=`echo $NONCE2 | awk -F'"' '{print $2}'`
echo $NONCE2

wget --content-disposition --trust-server-names $URLDOWN --post-data "amd_developer_central_nonce=${NONCE2}&f=${FILE}" -O AMD-SDK.tar.bz2;
wget --no-check-certificate --content-disposition --trust-server-names $URLDOWN --post-data "amd_developer_central_nonce=${NONCE2}&f=${FILE}" -O AMD-SDK.tar.bz2;

0 comments on commit 24177dc

Please sign in to comment.