Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
faust group
faust
Commits
f41a8148
Commit
f41a8148
authored
4 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Auto-install gpu_mod library on gitlab-runner home after building (continuation of
2bb6295a
).
parent
37532c1b
Branches
Branches containing commit
Tags
2.10.9
Tags containing commit
No related merge requests found
Pipeline
#833820
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
f41a8148
...
...
@@ -278,6 +278,7 @@ pages:
tags
:
-
linux
-
matlab
-
pages
only
:
-
tags
...
...
@@ -306,7 +307,7 @@ pages:
-
echo GPU_MOD_SHA=$GPU_MOD_SHA
-
if [[ -n "$USE_GPU_MOD" ]]; then cd gpu_mod; if [[ ! -d build ]]; then mkdir build; fi; cd build; fi
# don't build the lib if already installed
-
if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.2 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-9.2/bin/nvcc ..;L=
"/usr/local/lib
/libgm-$GPU_MOD_SHA.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make;fi;fi
-
if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.2 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-9.2/bin/nvcc ..;L=
$HOME"
/libgm-$GPU_MOD_SHA.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make;
cp ./libgm.so "$L";
fi;fi
-
if [[ -n "$USE_GPU_MOD" ]]; then cd ../..; fi
artifacts
:
expire_in
:
'
1
week'
...
...
@@ -335,7 +336,7 @@ pkg_linux_purepy_rev:
-
echo GPU_MOD_SHA=$GPU_MOD_SHA
-
if [[ -n "$USE_GPU_MOD" ]]; then cd gpu_mod; if [[ ! -d build ]]; then mkdir build; fi; cd build; fi
# don't build the lib if already installed
-
if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.2 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-9.2/bin/nvcc ..;L=
"/usr/local/lib
/libgm-$GPU_MOD_SHA.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make;fi;fi
-
if [[ -n "$USE_GPU_MOD" ]]; then cmake -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.2 -DCMAKE_CUDA_COMPILER=/usr/local/cuda-9.2/bin/nvcc ..;L=
$HOME"
/libgm-$GPU_MOD_SHA.so"; echo LIB=$L; if [[ -r "$L" ]]; then cp "$L" ./libgm.so; else make;
cp ./libgm.so "$L";
fi;fi
-
if [[ -n "$USE_GPU_MOD" ]]; then cd ../..; fi
artifacts
:
expire_in
:
'
50
yrs'
...
...
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