Commit 869179ce authored by Ivan Sinkarenko's avatar Ivan Sinkarenko

Install mscc & mscedit2

parent 8dc0aca0
......@@ -49,3 +49,9 @@
[submodule "components_library"]
path = components_library
url = https://gitrepos.estec.esa.int/taste/components_library
[submodule "mscedit2"]
path = mscedit2
url = https://gitrepos.estec.esa.int/ivany4/opengeode.git
[submodule "mscc"]
path = mscc
url = https://gitrepos.estec.esa.int/ivany4/mscc.git
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
# Install tools necesarry for Mscc compilation
sudo apt install -y mono-devel mono-xbuild
# Compile Mscc
pushd "${DIR}/../mscc" >/dev/null
git submodule update --init
make release
# Move binaries to the installation folder
mkdir -p ${PREFIX}/share/mscc/ || exit 1
mv bin/Release/* "${PREFIX}/share/mscc/"
popd >/dev/null
cd ${PREFIX}/share/ || exit 1
# Add to PATH
PATH_CMD='export PATH=$PATH:'"${PREFIX}/share/mscc/"
UpdatePATH
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
cd $DIR/../mscedit2 || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
UpdatePATH
Subproject commit ab11d45476cdf95845bc6b0c391f06bdf0e6ed1a
Subproject commit daacf66d485b2acd3c82de46481f0729a496d6d1
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