Commit 180ce1fe authored by Nathalie Furmento's avatar Nathalie Furmento
Browse files

add a mirror site of the gforge download page

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/website@5949 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
parent 4b4ddf46
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<HEAD>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<TITLE>StarPU Files</TITLE>
<link rel="stylesheet" type="text/css" href="style.css" />
</HEAD>
<body>
<h1><a href="./">StarPU Files</a></h1>
<h1 class="sub">A Unified Runtime System for Heterogeneous Multicore Architectures</h1>
<hr class="main"/>
<a href="/../">StarPU homepage</a>
<hr class="main"/>
<table>
<tr>
<th>Release name</th>
<th>Release file</th>
<th>Release md5sum</th>
</tr>
# Release_name URL_tar_gz URL_checksum
0.2.901_aka_0.3-rc1 https://gforge.inria.fr/frs/download.php/24191/starpu-0.2.901.tar.gz https://gforge.inria.fr/frs/download.php/30304/starpu-0.2.901.tar.gz.sig
0.2 https://gforge.inria.fr/frs/download.php/22603/starpu-0.2.tar.gz https://gforge.inria.fr/frs/download.php/30303/starpu-0.2.tar.gz.sig
0.1 https://gforge.inria.fr/frs/download.php/20217/starpu-0.1.tar.gz https://gforge.inria.fr/frs/download.php/30302/starpu-0.1.tar.gz.sig
#!/usr/bin/perl
use File::Basename;
use File::Copy;
$dirname=dirname($0);
copy("$dirname/index.head.html", "index.html");
open FOUT,$FOUT=">>index.html" or die "Can't open $FOUT: $!";
open FIN,$FIN="$dirname/releases.txt" or die "Can't open $FIN: $!";
while(<FIN>)
{
chomp;
($title, $url, $sigurl) = split();
next if ("$url" eq "");
next if ($title =~ m/#/);
$basename = $url;
$basename =~ s/.*\///;
$sigbasename = $sigurl;
$sigbasename =~ s/.*\///;
if ( ! -e $basename )
{
@args = ("wget", "--no-check-certificate", $url);
system(@args) == 0 or die "system @args failed: $?";
}
if ( ! -e $sigbasename )
{
@args = ("wget", "--no-check-certificate", $sigurl);
system(@args) == 0 or die "system @args failed: $?";
}
print FOUT "<tr>\n";
print FOUT "<td>$title</td>\n";
print FOUT "<td><a href=\"$basename\">$basename</a></td>\n";
print FOUT "<td><a href=\"$sigbasename\">$sigbasename</a></td>\n";
print FOUT "</tr>\n";
}
print FOUT "</table>\n";
print FOUT "<hr class=\"main\"/>
<p class=\"updated\">\n";
($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWeek, $dayOfYear, $daylightSavings) = gmtime();
$year = 1900 + $yearOffset;
if ($month < 10) { $month = "0$month"; }
if ($dayOfMonth < 10) { $dayOfMonth = "0$dayOfMonth"; }
if ($hour < 10) { $hour = "0$hour"; }
if ($minute < 10) { $minute = "0$minute"; }
$theGMTime = "$year/$month/$dayOfMonth";
print FOUT "Last updated on $theGMTime at $hour:$minute.\n";
print FOUT "</p>
</body>
</html>\n";
close FOUT;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment