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
72af1881
Commit
72af1881
authored
3 months ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile: Add default environment variables
parent
63793a98
No related branches found
No related tags found
1 merge request
!501
Update docker environment, use shared runners, and plafrim for cuda/rocm
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab/Dockerfile
+5
-0
5 additions, 0 deletions
.gitlab/Dockerfile
.gitlab/Dockerfile-pages
+5
-0
5 additions, 0 deletions
.gitlab/Dockerfile-pages
.gitlab/build.sh
+2
-2
2 additions, 2 deletions
.gitlab/build.sh
tools/pages.sh
+0
-6
0 additions, 6 deletions
tools/pages.sh
with
12 additions
and
8 deletions
.gitlab/Dockerfile
+
5
−
0
View file @
72af1881
...
...
@@ -81,3 +81,8 @@ RUN cd starpu-1.4.7/ && \
rm
starpu-1.4.7.tar.gz
USER
gitlab
# Set some default environment variables
ENV
LIBRARY_PATH=/usr/local/lib
ENV
LD_LIBRARY_PATH=/usr/local/lib
ENV
PKG_CONFIG_PATH=/home/gitlab/install/starpu/lib/pkgconfig
This diff is collapsed.
Click to expand it.
.gitlab/Dockerfile-pages
+
5
−
0
View file @
72af1881
...
...
@@ -33,3 +33,8 @@ RUN apt-get autoclean -y
RUN apt-get purge -y
USER gitlab
# Set some default environment variables
ENV LIBRARY_PATH=/usr/local/lib
ENV LD_LIBRARY_PATH=/usr/local/lib
ENV PKG_CONFIG_PATH=/home/gitlab/install/starpu/lib/pkgconfig
This diff is collapsed.
Click to expand it.
.gitlab/build.sh
+
2
−
2
View file @
72af1881
...
...
@@ -83,8 +83,8 @@ if [[ "$SYSTEM" == "guix" ]]; then
export
LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LIBRARY_PATH
export
LD_LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LD_LIBRARY_PATH
elif
[[
"
$SYSTEM
"
==
"linux"
]]
;
then
export
LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LIBRARY_PATH
:/usr/local/lib
export
LD_LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LD_LIBRARY_PATH
:/usr/local/lib
export
LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LIBRARY_PATH
export
LD_LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LD_LIBRARY_PATH
elif
[[
"
$SYSTEM
"
==
"macosx"
]]
;
then
export
LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$LIBRARY_PATH
export
DYLD_LIBRARY_PATH
=
$PWD
/../../install-
${
VERSION
}
/lib:
$DYLD_LIBRARY_PATH
...
...
This diff is collapsed.
Click to expand it.
tools/pages.sh
+
0
−
6
View file @
72af1881
...
...
@@ -13,12 +13,6 @@ set -e
set
-x
CHAMELEON_SRC_DIR
=
${
CHAMELEON_SRC_DIR
:-
$PWD
}
# where is installed starpu in the docker image
CURRENTUSER
=
`
whoami
`
if
[[
-f
/.dockerenv
&&
$CURRENTUSER
==
"gitlab"
]]
;
then
export
PKG_CONFIG_PATH
=
/home/gitlab/install/starpu/lib/pkgconfig:
$PKG_CONFIG_PATH
fi
mkdir
-p
tmp_fig
cd
tmp_fig
...
...
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