File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 7575
7676source deps/env.sh
7777
78+ # Older Apache releases get cut from the mirrors too aggressively, so
79+ # in order to have a stable build we need to use the original servers.
80+ APACHE_MIRROR=" https://archive.apache.org/dist"
81+
7882if [[ $USE_GASNET -eq 1 ]]; then
7983 if [ -z ${CONDUIT+x} ]; then
8084 echo " CONDUIT is required for GASNet build."
251255 tar -zxf jdk-8u131-linux-x64.tar.gz -C " $X10_DIR "
252256 rm jdk-8u131-linux-x64.tar.gz
253257
254- wget http://mirrors.sonic.net/apache/ /ant/binaries/apache-ant-1.10.7-bin.tar.gz
258+ wget " $APACHE_MIRROR " /ant/binaries/apache-ant-1.10.7-bin.tar.gz
255259 tar xfz apache-ant-1.10.7-bin.tar.gz -C " $X10_DIR "
256260 rm apache-ant-1.10.7-bin.tar.gz
257261
332336 rm jdk-8u131-linux-x64.tar.gz
333337
334338 # Spark 2.3.0
335- wget https://archive.apache.org/dist /spark/spark-2.3.0/spark-2.3.0-bin-hadoop2.7.tgz # spark-shell doesn't work without hadoop
339+ wget " $APACHE_MIRROR " /spark/spark-2.3.0/spark-2.3.0-bin-hadoop2.7.tgz # spark-shell doesn't work without hadoop
336340 tar -zxf spark-2.3.0-bin-hadoop2.7.tgz -C " $SPARK_DIR " # didn't add to path-put full paths in emtg script
337341 rm spark-2.3.0-bin-hadoop2.7.tgz
338342
384388 tar xfz openjdk-10.0.2_linux-x64_bin.tar.gz -C " $SWIFT_DIR " /java --strip-components=1
385389 rm openjdk-10.0.2_linux-x64_bin.tar.gz
386390
387- wget http://mirrors.sonic.net/apache/ /ant/binaries/apache-ant-1.10.7-bin.tar.gz
391+ wget " $APACHE_MIRROR " /ant/binaries/apache-ant-1.10.7-bin.tar.gz
388392 mkdir " $SWIFT_DIR " /ant
389393 tar xfz apache-ant-1.10.7-bin.tar.gz -C " $SWIFT_DIR " /ant --strip-components=1
390394 rm apache-ant-1.10.7-bin.tar.gz
You can’t perform that action at this time.
0 commit comments