Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guilhem Saurel
dynamic-graph
Commits
fa553738
Commit
fa553738
authored
11 years ago
by
Thomas Moulard
Browse files
Options
Downloads
Patches
Plain Diff
[travis] Enhance build script
parent
cb37500f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis/build
+14
-17
14 additions, 17 deletions
.travis/build
with
14 additions
and
17 deletions
.travis/build
+
14
−
17
View file @
fa553738
...
...
@@ -5,8 +5,6 @@ set -ev
root_dir
=
`pwd`
build_dir
=
"
$root_dir/_travis/build
"
install_dir
=
"
$root_dir/_travis/install
"
jrl_mathtools_dir
=
"
$build_dir/jrl-mathtools
"
jrl_mal_dir
=
"
$build_dir/jrl-mal
"
# Shortcuts.
git_clone
=
"
git clone --quiet --recursive
"
...
...
@@ -22,23 +20,22 @@ export LD_LIBRARY_PATH="$install_dir/lib/`dpkg-architecture -qDEB_BUILD_MULTIARC
export
PKG_CONFIG_PATH
=
"
$install_dir/lib/pkgconfig:$PKG_CONFIG_PATH
"
export
PKG_CONFIG_PATH
=
"
$install_dir/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/pkgconfig:$PKG_CONFIG_PATH
"
# Retrieve jrl-mathtools
echo
"
--> Compiling jrl-mathtools
"
cd
"
$build_dir
"
$
git_clone
"
git://github.com/jrl-umi3218/jrl-mathtools.git
"
cd
"
$jrl_mathtools_dir
"
cmake
.
-
DCMAKE_INSTALL_PREFIX
:
STRING
=
"
$install_dir
"
make
install
install_dependency
()
{
echo
"
--> Compiling $1
"
mkdir
-
p
"
$build_dir/$1
"
cd
"
$build_dir
"
$
git_clone
"
git://github.com/$1
"
"
$1
"
cd
"
$build_dir/$1
"
cmake
.
-
DCMAKE_INSTALL_PREFIX
:
STRING
=
"
$install_dir
"
make
install
}
# Retrieve jrl-mal
echo
"
--> Compiling jrl-mal
"
cd
"
$build_dir
"
$
git_clone
"
git://github.com/jrl-umi3218/jrl-mal.git
"
cd
"
$jrl_mal_dir
"
cmake
.
-
DCMAKE_INSTALL_PREFIX
:
STRING
=
"
$install_dir
"
make
install
# Retrieve jrl-mathtools
install_dependency
jrl
-
umi3218
/
jrl
-
mathtools
install_dependency
jrl
-
umi3218
/
jrl
-
mal
# Compile
metapod
and run tests
# Compile and run tests
cd
"
$build_dir
"
cmake
"
$root_dir
"
-
DCMAKE_INSTALL_PREFIX
=
"
$install_dir
"
\
-
DCMAKE_CXX_FLAGS
=
"
--coverage
"
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment