Skip to content
Snippets Groups Projects
Commit b82cd848 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

win32

parent 436ffe60
No related branches found
No related tags found
No related merge requests found
......@@ -100,11 +100,12 @@ Public License (GPL)</a>:
<li>
<p class="highlight">
Current stable release (version 3.0.1, April 14 2017):
<a href="bin/Windows/gmsh-3.0.1-Windows64.zip">Windows</a>,
<a href="bin/Linux/gmsh-3.0.1-Linux64.tgz">Linux</a>,
<a href="bin/MacOSX/gmsh-3.0.1-MacOSX.dmg">MacOS</a>
<a href="bin/Windows/gmsh-3.0.2-Windows64.zip">Windows</a>
(<a href="bin/Windows/gmsh-3.0.2-Windows32.zip">32 bit</a>),
<a href="bin/Linux/gmsh-3.0.2-Linux64.tgz">Linux</a>,
<a href="bin/MacOSX/gmsh-3.0.2-MacOSX.dmg">MacOS</a>
and
<a href="src/gmsh-3.0.1-source.tgz">source code</a>
<a href="src/gmsh-3.0.2-source.tgz">source code</a>
</p>
<p>
<em>A <a href="doc/texinfo/gmsh.html#Tutorial"><strong>tutorial</strong></a>
......@@ -114,7 +115,8 @@ Public License (GPL)</a>:
<li>Development version:
<ul><li>Automated nightly snapshots
(<a href="http://onelab.info/CDash/index.php?project=Gmsh">dashboard</a>):
<a href="bin/Windows/gmsh-git-Windows64.zip">Windows</a>,
<a href="bin/Windows/gmsh-git-Windows64.zip">Windows</a>
(<a href="bin/Windows/gmsh-git-Windows32.zip">32 bit</a>),
<a href="bin/Linux/gmsh-git-Linux64.tgz">Linux</a>,
<a href="bin/MacOSX/gmsh-git-MacOSX.dmg">MacOS</a> and
<a href="src/gmsh-git-source.tgz">source code</a>
......
......@@ -88,6 +88,35 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then
rm -rf onelab-Windows64
fi
if [ $# -lt 1 ] || [ $1 == "win32" ]; then
rm -rf onelab-Windows32*
mkdir onelab-Windows32
curl -O http://gmsh.info/bin/Windows/gmsh-${GMSH}-Windows32.zip
curl -O http://getdp.info/bin/Windows/getdp-${GETDP}-Windows32c.zip
mv gmsh-${GMSH}-Windows32.zip /tmp
mv getdp-${GETDP}-Windows32c.zip /tmp
unzip -q -o /tmp/gmsh-${GMSH}-Windows32.zip -d /tmp
unzip -q -o /tmp/getdp-${GETDP}-Windows32c.zip -d /tmp
cp /tmp/README.txt onelab-Windows32
perl -pi -e 's/\n/\r\n/' onelab-Windows32/README.txt
mv /tmp/gmsh-*${GMSH}-Windows/gmsh.exe onelab-Windows32
mv /tmp/gmsh-*${GMSH}-Windows/onelab.py onelab-Windows32
mv /tmp/getdp-*${GETDP}-Windows/getdp.exe onelab-Windows32
mv /tmp/gmsh-*${GMSH}-Windows/LICENSE.txt onelab-Windows32/LICENSE.txt
echo "\n\n" >> onelab-Windows32/LICENSE.txt
cat /tmp/getdp-*${GETDP}-Windows/LICENSE.txt >> onelab-Windows32/LICENSE.txt
mv /tmp/gmsh-*${GMSH}-Windows/CREDITS.txt onelab-Windows32/CREDITS.txt
echo "\n\n" >> onelab-Windows32/CREDITS.txt
cat /tmp/getdp-*${GETDP}-Windows/CREDITS.txt >> onelab-Windows32/CREDITS.txt
mv /tmp/getdp-*${GETDP}-Windows/templates onelab-Windows32
mv /tmp/gmsh-*${GMSH}-Windows/tutorial onelab-Windows32
cp -R /tmp/models onelab-Windows32
rm -rf /tmp/gmsh-*
rm -rf /tmp/getdp-*
zip -r onelab-Windows32.zip onelab-Windows32
rm -rf onelab-Windows32
fi
if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
rm -rf onelab-Linux64*
mkdir onelab-Linux64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment