Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
8bf9b654
Commit
8bf9b654
authored
Mar 06, 2019
by
Valentin Reis
Browse files
reduce test builds to single app dependencies.
parent
55ce8757
Pipeline
#5833
passed with stages
in 7 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkgs/default.nix
View file @
8bf9b654
...
...
@@ -140,22 +140,6 @@ let
zmqat
=
pkgs-old
.
haskellPackages
.
zmqat
;
# ci/experimental environments
testBuildInputs
=
[
# argotk runs mpiexec:
pkgs
.
mpich2
# argotk uses hwloc to choose CPU counts:
pkgs
.
hwloc
# these are needed for some reason:
pkgs
.
coreutils
pkgs
.
utillinux
pkgs
.
git
# argo tools
argotk
# argo components
containers
nrm
];
test
=
pkgs
.
stdenv
.
mkDerivation
rec
{
name
=
"testEnv"
;
...
...
@@ -197,7 +181,7 @@ let
testApplications
=
test
.
overrideAttrs
(
old
:{
name
=
"testEnv-with-applications"
;
buildInputs
=
testB
uildInputs
++
[
buildInputs
=
old
.
b
uildInputs
++
[
lammps
qmcpack
openmc
...
...
@@ -207,7 +191,7 @@ let
];
});
expe
=
testApplications
.
overrideAttrs
(
old
:{
power
expe
=
testApplications
.
overrideAttrs
(
old
:{
name
=
"power-experiments"
;
buildInputs
=
old
.
buildInputs
++
[
#debug tools
...
...
@@ -257,8 +241,8 @@ let
report
=
analysis
.
overrideAttrs
(
old
:{
buildPhase
=
''
echo "analysis/zymakefolder.R
${
expe
}
"
analysis/zymakefolder.R
${
expe
}
echo "analysis/zymakefolder.R
${
power
expe
}
"
analysis/zymakefolder.R
${
power
expe
}
''
;
installPhase
=
''
mkdir -p $out
...
...
@@ -277,11 +261,11 @@ let
testListen
=
doArgotk
test
"TestListen"
;
testPerfwrapper
=
doArgotk
test
"TestPerfwrapper"
;
testPower
=
doArgotk
test
"TestPower"
;
testSTREAM
=
doArgotk
test
Applications
"TestSTREAM"
;
testAMG
=
doArgotk
test
Applications
"TestAMG"
;
testOpenMC
=
doArgotk
test
Applications
"TestOpenMC"
;
testLAMMPS
=
doArgotk
test
Applications
"TestLAMMPS"
;
testQMCPack
=
doArgotk
test
Applications
"TestQMCPack"
;
testSTREAM
=
doArgotk
(
test
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
stream
];}))
"TestSTREAM"
;
testAMG
=
doArgotk
(
test
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
amg
];}))
"TestAMG"
;
testOpenMC
=
doArgotk
(
test
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
openmc
];}))
"TestOpenMC"
;
testLAMMPS
=
doArgotk
(
test
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
lammps
];}))
"TestLAMMPS"
;
testQMCPack
=
doArgotk
(
test
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
qmcpack
];}))
"TestQMCPack"
;
testAll
=
doArgotk
test
"tests"
;
};
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment