Commit 25f19e96 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Merge branch 'master' of gitrepos.estec.esa.int:taste/taste-setup

parents 58fe6167 e5970e37
Subproject commit a038ce32d3648c1255fd78c44129afd7a1c80b70
Subproject commit 6665e0632db0a1b11c2942bd8ae293a00d9bc126
......@@ -20,3 +20,9 @@ if [ $? -ne 0 ] ; then
echo "install/ folder."
exit 1
fi
touch /dev/shm/foo || {
echo "Your user doesn't seem to be able to write inside /dev/shm/"
echo "Fix it by executing something like..."
echo " sudo chmod ugo+w /dev/shm/"
exit 1
}
......@@ -9,4 +9,4 @@ sudo apt-get update
if [ "${ARCH}" == "x86_64" ] ; then
sudo apt-get install -y --force-yes libc6:i386 libgcc1:i386 libxft2:i386 libxss1:i386 libcairo2:i386
fi
sudo apt-get install -y --force-yes autoconf automake curl exuberant-ctags gcc git gnat gtkwave kate lcov libacl1 libacl1-dev libarchive-dev libattr1 libattr1-dev libbonoboui2-0 libdbd-sqlite3-perl libdbi-perl libfile-copy-recursive-perl libglib2.0-0 libgnome2-0 libgnome2-perl libgnome2-vfs-perl libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common libgtk2-gladexml-perl libgtk2-perl libgraphviz-dev libmono-system-data-linq4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime4.0-cil libmono-system-web4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libsqlite3-dev libtool libxenomai-dev libxml-libxml-perl libxml-libxml-simple-perl libxml-parser-perl libxml2-dev libxslt1-dev libzmq3-dev mono-mcs mono-reference-assemblies-2.0 mono-runtime nedit net-tools pgadmin3 postgresql-9.6 postgresql-client-9.6 postgresql-client-common postgresql-common python-antlr python-coverage python-gtk2-dev python-jinja2 python-lxml python-matplotlib python-pexpect python-pip python-ply python-psycopg2 python-pygraphviz python-pyside python3-pip qemu-system sqlite3 sudo tk8.5 tree vim-gtk wmctrl xenomai-system-tools xmldiff xpdf xterm xterm zip openjdk-8-jre
sudo apt-get install -y --force-yes autoconf automake curl exuberant-ctags gcc git gnat gtkwave kate lcov libacl1 libacl1-dev libarchive-dev libattr1 libattr1-dev libbonoboui2-0 libdbd-sqlite3-perl libdbi-perl libfile-copy-recursive-perl libglib2.0-0 libgnome2-0 libgnome2-perl libgnome2-vfs-perl libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common libgtk2-gladexml-perl libgtk2-perl libgraphviz-dev libmono-system-data-linq4.0-cil libmono-system-numerics4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime4.0-cil libmono-system-web4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libsqlite3-dev libtool libxenomai-dev libxml-libxml-perl libxml-libxml-simple-perl libxml-parser-perl libxml2-dev libxslt1-dev libzmq3-dev mono-mcs mono-reference-assemblies-2.0 mono-runtime nedit net-tools pgadmin3 postgresql postgresql-client postgresql-client-common postgresql-common python-antlr python-coverage python-gtk2-dev python-jinja2 python-lxml python-matplotlib python-pexpect python-pip python-ply python-psycopg2 python-pygraphviz python-pyside python3-pip qemu-system sqlite3 sudo tk8.5 tree vim-gtk wmctrl xenomai-system-tools xmldiff xpdf xterm xterm zip openjdk-8-jre libc6-dev-i386 python3-lxml
......@@ -6,3 +6,5 @@ pip freeze | grep singledispatch >/dev/null \
|| pip install --user --upgrade singledispatch || exit 1
pip freeze | grep stringtemplate3 >/dev/null \
|| pip install --user --upgrade stringtemplate3 || exit 1
pip freeze | grep enum34 >/dev/null \
|| pip install --user --upgrade enum34 || exit 1
......@@ -4,6 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Setup the tools in ${PREFIX}/bin
cd $DIR/../qemu-Leon3 || exit 1
mkdir -p ${PREFIX}/bin || exit 1
cp -a qemu-Leon3*.sh ${PREFIX}/bin/ || exit 1
# Add Leon simulators to PATH
......
......@@ -11,6 +11,7 @@ done
COMMITID=$(cd ../orchestrator/ ; git log --oneline | head -1 | awk '{print $1}')
cat ../orchestrator/orchestrator/taste-orchestrator.py | \
sed "s,COMMITID,${COMMITID}," > ${PREFIX}/bin/taste-orchestrator.py
chmod +x ${PREFIX}/bin/taste-orchestrator.py
# Install a symlink for the old name of the build tool
cd ${PREFIX}/bin/ || exit 1
......
TASTE_PATHS=$HOME/.bashrc.taste
PREFIX=$HOME/tool-inst
[ -e $HOME/.bashrc.taste ] && . $HOME/.bashrc.taste
UpdatePATH() {
if [ -z "${PATH_CMD}" ] ; then
echo You forgot to set your PATH_CMD. Aborting...
......
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