Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
d24ef0a2
Commit
d24ef0a2
authored
7 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
Load the environment from a shell script to facilitate CI machines setup.
parent
8eb4229c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci-env.sh
+22
-0
22 additions, 0 deletions
.gitlab-ci-env.sh
.gitlab-ci.yml
+10
-12
10 additions, 12 deletions
.gitlab-ci.yml
with
32 additions
and
12 deletions
.gitlab-ci-env.sh
0 → 100755
+
22
−
0
View file @
d24ef0a2
#!/bin/bash
# custom environment used during CI tests with gitlab ci
# these paths may depend on the runner used, please be careful and add
# the necessary if blocks depending on the machine
export
JAVA_HOME
=
/usr/lib/jvm/java-8-openjdk-amd64
export
PATH
=
/builds/sonar/lcov-to-cobertura-xml-1.6/lcov_cobertura:
$PATH
export
PATH
=
/builds/sonar/sonar-scanner-2.9.0.670/bin:
$PATH
export
QUARK_DIR
=
/builds/install/quark
export
PARSEC_DIR
=
/builds/install/parsec
export
STARPU_DIR
=
/builds/install/starpu
if
[
"
$1
"
==
"simu"
]
;
then
export
STARPU_DIR
=
/builds/install/starpu-simgrid
export
SIMGRID_DIR
=
/builds/install/simgrid
fi
export
PKG_CONFIG_PATH
=
$PARSEC_DIR
/lib/pkgconfig:
$PKG_CONFIG_PATH
export
PKG_CONFIG_PATH
=
$STARPU_DIR
/lib/pkgconfig:
$PKG_CONFIG_PATH
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
10
−
12
View file @
d24ef0a2
starpu
:
script
:
-
git submodule init
-
git submodule update
-
mkdir build
-
source .gitlab-ci-env.sh
-
git submodule update
--init --recursive
-
mkdir
-p
build
-
cd build
-
cmake ..
-
make -j2
...
...
@@ -13,22 +13,20 @@ starpu:
starpu-simgrid
:
script
:
-
git submodule init
-
git submodule update
-
mkdir build
-
source .gitlab-ci-env.sh simu
-
git submodule update
--init --recursive
-
mkdir
-p
build
-
cd build
-
. $HOME/spack/share/spack/setup-env.sh
-
spack load hwloc && spack load fxt && spack load simgrid && spack load starpu
-
cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF
-
make -j2
-
ctest -V
quark
:
script
:
-
git submodule init
-
git submodule update
-
mkdir build
-
source .gitlab-ci-env.sh
-
git submodule update
--init --recursive
-
mkdir
-p
build
-
cd build
-
cmake .. -DCHAMELEON_SCHED_QUARK=ON
-
make -j2
-
ctest -V -R test_shm_s
\ No newline at end of file
-
ctest -V -R test_shm_s
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