Commit d32f6a9e authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fixed issues relating to distribution of v3.4 code.

parent 00e500bf
......@@ -3,20 +3,16 @@ dist-exclude
builds/*
nektar++-*
ThirdParty
templates
Testing
library/CPackRPM.cmake
library/Demos/StdRegions/ExtraDemos
library/Demos/MultiRegions/ExtraDemos
solvers/ADR2DManifoldSolver
solvers/CardiacEPSolver/Utilities
solvers/FitzHughNagumoSolver
solvers/ImageWarpingSolver
solvers/PulseWaveSolver
solvers/VortexWaveInteraction
docs/*.doc
docs/arch
docs/emacs
docs/.cvsignore
docs/html/code
docs/html/images
docs/html/downloads
......
#!/bin/bash
# @author Chris Cantwell
#
# This script generates Nektar++ distributions, comprising of the following:
# - A code distribution (nektar++-VERSION.tar.gz)
# - A website package (nektar++-web-VERSION.tar.gz)
# This script generates Nektar++ distributions (nektar++-VERSION.tar.gz)
# The file VERSION contains the version number of the generated release.
# A working copy of the ThirdParty repository should be placed in a subdirectory
# called ThirdParty, or sym-linked to such from elsewhere. If available, the
# ThirdParty distribution will also be compiled and included in the web package.
#
# @requires rsync doxygen tar
......@@ -16,13 +11,6 @@ cd $BASE
TARGET=nektar++-`cat VERSION`
# Make Web tree target
if [ -d $TARGET-web ]; then
rm -rf $TARGET-web
fi
mkdir -p $TARGET-web
mkdir -p $TARGET-web/downloads/
# Make Code tree target
if [ -d $TARGET ]; then
rm -rf $TARGET
......@@ -37,36 +25,5 @@ rsync -avqH --cvs-exclude --exclude-from dist-exclude * $TARGET
echo "Packaging code distribution..."
tar -zc -f $TARGET.tar.gz $TARGET
# Generate ThirdParty package if available
if [ -d ThirdParty -o -h ThirdParty ]; then
if [ -f ThirdParty/distribute.sh ]; then
ThirdParty/distribute.sh
mv ThirdParty/ThirdParty-*.tar.gz $TARGET-web/downloads/
else
echo "ThirdParty directory exists, but without distribution script."
fi
else
echo "ThirdParty not available. Please package separately."
fi
# Generate documentation for distributed code
echo "Generating doxygen docs...this will take a while..."
cd $TARGET/docs/html/doxygen
doxygen doxygen > /dev/null 2>&1
cd ../../../../
# Create web tree
echo "Generating web tree..."
rsync -avqH --cvs-exclude --exclude='code' docs/html/* $TARGET-web
mv $TARGET/docs/html/code $TARGET-web/
mv $TARGET.tar.gz $TARGET-web/downloads/
# Package web tree
echo "Packaging web distribution..."
tar -zc -f $TARGET-web.tar.gz $TARGET-web
mv $TARGET-web/downloads/$TARGET.tar.gz .
# Clean up
rm -rf $TARGET-web
rm -rf $TARGET
Misc Notes about the build process, should be put in a better location.
ACML 3.6
--------
* Linking statically to the ifortran verison requires ifortran libraries.
* Linking dynamically to the ifortran version had unexplained crashes and just general strange behavior.
* The PGI versions seems to work.
MKL 8.1.1
---------
32 bit linux version appears to be working fine.
Supports Markdown
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