Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clb-jupyter-images
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Athanasios Karmas
clb-jupyter-images
Commits
5afccec2
Commit
5afccec2
authored
5 years ago
by
Jonathan Villemaire-Krajden
Browse files
Options
Downloads
Patches
Plain Diff
Fix setpriv usage.
parent
e62cc75a
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
base/install_nest.sh
+4
-4
4 additions, 4 deletions
base/install_nest.sh
base/install_sda_flex.sh
+8
-7
8 additions, 7 deletions
base/install_sda_flex.sh
with
12 additions
and
11 deletions
base/install_nest.sh
+
4
−
4
View file @
5afccec2
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
set
-eo
pipefail
set
-eo
pipefail
cd
/tmp
cd
/tmp
(
# run without privileges
setpriv
--reuid
=
$NB_UID
--regid
=
$NB_GID
--clear-groups
bash
<<
EOF
set -eo pipefail
set -eo pipefail
# run without privileges
setpriv
--reuid
=
$NB_UID
--regid
=
$NB_GID
--clear-groups
# Install libneurosim as a dependency of nest and nest
# Install libneurosim as a dependency of nest and nest
NEUROSIM_COMMIT=03646747c8fe64fa3439ac2d282623b659f60c22
NEUROSIM_COMMIT=03646747c8fe64fa3439ac2d282623b659f60c22
...
@@ -25,7 +25,7 @@ cd /tmp
...
@@ -25,7 +25,7 @@ cd /tmp
cmake3 -DCMAKE_INSTALL_PREFIX:PATH=
$NESTHOME
\
cmake3 -DCMAKE_INSTALL_PREFIX:PATH=
$NESTHOME
\
-Dwith-libneurosim=/usr/local -Dwith-python=3
\
-Dwith-libneurosim=/usr/local -Dwith-python=3
\
.
.
)
EOF
cd
/tmp/libneurosim-
${
NEUROSIM_COMMIT
}
cd
/tmp/libneurosim-
${
NEUROSIM_COMMIT
}
make
install
make
install
...
...
This diff is collapsed.
Click to expand it.
base/install_sda_flex.sh
+
8
−
7
View file @
5afccec2
...
@@ -2,12 +2,11 @@
...
@@ -2,12 +2,11 @@
set
-eo
pipefail
set
-eo
pipefail
(
set
-eo
pipefail
# run without privileges
setpriv
--reuid
=
$NB_UID
--regid
=
$NB_GID
--clear-groups
# run without privileges
setpriv
--reuid
=
$NB_UID
--regid
=
$NB_GID
--clear-groups
bash
<<
EOF
set -eo pipefail
SDA_VERSION=7.2.3
SDA_VERSION=7.2.3
wget -q -O /tmp/sda_flex.tar.gz https://github.com/HumanBrainProject/clb-jupyter-images/raw/external/external/sda_flex-
${
SDA_VERSION
}
.tar.gz
wget -q -O /tmp/sda_flex.tar.gz https://github.com/HumanBrainProject/clb-jupyter-images/raw/external/external/sda_flex-
${
SDA_VERSION
}
.tar.gz
...
@@ -15,8 +14,10 @@ set -eo pipefail
...
@@ -15,8 +14,10 @@ set -eo pipefail
tar xzf /tmp/sda_flex.tar.gz
tar xzf /tmp/sda_flex.tar.gz
cd sda_flex-
${
SDA_VERSION
}
/src
cd sda_flex-
${
SDA_VERSION
}
/src
make
make
cd
/tmp/
)
EOF
mv
sda_flex-
${
SDA_VERSION
}
$SDAHOME
cd
/tmp/
mv
sda_flex-
${
SDA_VERSION
}
$SDAHOME
/
rm
/tmp/sda_
*
rm
/tmp/sda_
*
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment