Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
ab3e1a72
Commit
ab3e1a72
authored
Nov 02, 2018
by
Valentin Reis
Browse files
Refactoring in progress.
parent
ee09c130
Changes
2
Hide whitespace changes
Inline
Side-by-side
pkgs/applications/simple/dgemm_randomwalk.nix
View file @
ab3e1a72
{
stdenv
,
zeromq
,
intel
,
gsl
,
libnrm
,
mpich2
}:
{
stdenv
,
src
,
zeromq
,
intel
,
gsl
,
libnrm
,
mpich2
}:
stdenv
.
mkDerivation
{
stdenv
.
mkDerivation
{
name
=
"simple-benchmarks"
;
name
=
"simple-benchmarks"
;
inherit
src
;
inherit
src
;
...
...
pkgs/default.nix
View file @
ab3e1a72
...
@@ -11,10 +11,11 @@
...
@@ -11,10 +11,11 @@
packagepins
?
import
./pins.nix
{
inherit
(
pkgs
)
stdenv
fetchgit
fetchgitPrivate
;}
packagepins
?
import
./pins.nix
{
inherit
(
pkgs
)
stdenv
fetchgit
fetchgitPrivate
;}
}:
}:
let
let
gitpin
=
f
:
fetchgit
{
inherit
(
stdenv
.
lib
.
importJSON
f
)
url
sha256
rev
fetchSubmodules
;};
toPath
=
s
:
./.
+
s
;
gitpin
=
f
:
pkgs
.
fetchgit
{
inherit
(
pkgs
.
lib
.
importJSON
f
)
url
sha256
rev
fetchSubmodules
;};
compiler_path
=
"/opt/intel/compilers_and_libraries_2017.1.132/linux"
;
compiler_path
=
"/opt/intel/compilers_and_libraries_2017.1.132/linux"
;
callPackage
=
pkgs
.
lib
.
callPackageWith
pkgs
;
callPackage
=
pkgs
.
lib
.
callPackageWith
pkgs
;
callPackagePin
=
path
:
depset
:
pkgs
.
lib
.
callPackageWith
pkgs
"
${
path
}
.nix"
(
depset
//
{
src
=
gitpin
"
${
path
}
.json"
;});
callPackagePin
=
path
:
depset
:
pkgs
.
lib
.
callPackageWith
pkgs
(
toPath
"/
${
path
}
.nix"
)
(
depset
//
{
src
=
gitpin
(
toPath
"/
${
path
}
.json"
)
;});
pythonPackages
=
pkgs
.
python27Packages
;
pythonPackages
=
pkgs
.
python27Packages
;
in
rec
{
in
rec
{
#NRM components
#NRM components
...
@@ -36,7 +37,7 @@ in rec {
...
@@ -36,7 +37,7 @@ in rec {
openmc
=
callPackage
applications/openmc
{};
openmc
=
callPackage
applications/openmc
{};
stream
=
callPackage
applications/stream
{};
stream
=
callPackage
applications/stream
{};
graph500
=
callPackagePin
"applications/simple/graph500"
{};
graph500
=
callPackagePin
"applications/simple/graph500"
{};
simple
=
callPackage
applications/simple/dgemm_randomwalk
.nix
{
inherit
intel
libnrm
;};
simple
=
callPackage
Pin
"
applications/simple/dgemm_randomwalk
"
{
inherit
intel
libnrm
;};
};
};
#Intel compilers
#Intel compilers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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