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
4d369fb3
Commit
4d369fb3
authored
Mar 19, 2019
by
Valentin Reis
Browse files
Build rule updates.
parent
029c0382
Pipeline
#6079
passed with stages
in 6 minutes and 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkgs/default.nix
View file @
4d369fb3
...
...
@@ -103,6 +103,7 @@ let
rec
{
panpipe
=
(
pkgs
.
haskell
.
lib
.
doJailbreak
super
.
panpipe
);
spdx
=
(
pkgs
.
haskell
.
lib
.
doJailbreak
super
.
spdx
);
monad-mock
=
(
pkgs
.
haskell
.
lib
.
doJailbreak
super
.
monad-mock
);
generic-pretty
=
doJailbreak
super
.
generic-pretty
;
#minor cabal and version fix
...
...
pkgs/qmcpack/default.nix
View file @
4d369fb3
...
...
@@ -11,6 +11,7 @@ stdenv.mkDerivation {
"-DCMAKE_C_COMPILER=
${
mpich2
}
/bin/mpicc"
"-DCMAKE_CXX_COMPILER=
${
mpich2
}
/bin/mpic++"
"-DQMC_OMP=0"
"-DCFLAGS=-O2"
]
++
optionals
nrmSupport
[
"-DQMC_INCLUDE=
${
libnrm
}
/include/"
"-DQMC_EXTRA_LIBS=
${
libnrm
}
/lib/libnrm.so"
...
...
pkgs/stream/default.nix
View file @
4d369fb3
...
...
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
buildInputs
=
optional
nrmSupport
libnrm
;
preBuild
=
"substituteInPlace Makefile --replace 'CFLAGS =' 'CFLAGS = -DSTREAM_ARRAY_SIZE=
${
problemSize
}
-DNTIMES=
${
iterationCount
}
'"
;
"substituteInPlace Makefile --replace 'CFLAGS =' 'CFLAGS =
-O2 -march=native
-DSTREAM_ARRAY_SIZE=
${
problemSize
}
-DNTIMES=
${
iterationCount
}
'"
;
buildFlags
=
"CC=gcc FC=gfortran"
;
...
...
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