Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
METRo projects
metro
Commits
fde52035
Commit
fde52035
authored
May 28, 2013
by
François Fortin
Browse files
-c parameter no longer do anything. setup.sh will always compile the METRo physic model
parent
bdbe9efe
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.sh
View file @
fde52035
...
...
@@ -45,7 +45,7 @@ installation_dir=`pwd`
metro_dir
=
metro
bCompile
=
0
bCompile
=
1
sVerbose
=
""
# 'getopts' processes command line args to script.
...
...
@@ -68,6 +68,8 @@ then
echo
""
echo
"-c : Will compile the METRo physic model instead of using"
echo
" the provided binary. Need gfortran compiler."
echo
" DEPRECATED, no longer do anything, setup.sh will"
echo
" always compile the METRo physic model."
echo
""
echo
"-v : Verbose"
echo
""
...
...
@@ -89,6 +91,8 @@ do
echo
""
echo
"-c : Will compile the METRo physic model instead of using"
echo
" the provided binary. Need gfortran compiler."
echo
" DEPRECATED, no longer do anything, setup.sh will"
echo
" always compile the METRo physic model."
echo
""
echo
"-v : Verbose"
echo
""
...
...
@@ -152,10 +156,10 @@ if [ $bCompile == 1 ]; then
../../scripts/do_macadam clean
../../scripts/do_macadam
cd
$installation_dir
else
echo
"* Use provided binary for physic model"
cp
$sVerbose
src/model/macadam.py.prebuilt
$destination_path
/usr/share/metro/model/macadam.py
cp
$sVerbose
src/model/_macadam.so.prebuilt
$destination_path
/usr/lib/metro/_macadam.so
#
else
#
echo "* Use provided binary for physic model"
#
cp $sVerbose src/model/macadam.py.prebuilt $destination_path/usr/share/metro/model/macadam.py
#
cp $sVerbose src/model/_macadam.so.prebuilt $destination_path/usr/lib/metro/_macadam.so
fi
echo
""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment