Update 'release.nix'
parent
f6acd48252
commit
a00be4179f
|
@ -1,6 +1,8 @@
|
|||
{ ... }:
|
||||
{ nixpkgs ? <nixpkgs>
|
||||
, ginkgo ? {outPath = ./ginkgo;}
|
||||
}:
|
||||
let
|
||||
pkgs = (import <nixpkgs>{
|
||||
pkgs = (import nixpkgs{
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
@ -10,6 +12,7 @@ in
|
|||
ginkgo-project = {
|
||||
ginkgo = {
|
||||
reference = pkgs.callPackage ./derivation.nix {
|
||||
inherit pkgs;
|
||||
extraCmakeFlags = [
|
||||
"-DGINKGO_CUDA=OFF"
|
||||
"-DGINKGO_BUILD_BENCHMARKS=OFF"
|
||||
|
@ -18,6 +21,7 @@ in
|
|||
];
|
||||
};
|
||||
cuda = pkgs.callPackage ./derivation.nix {
|
||||
inherit pkgs;
|
||||
extraCmakeFlags = [
|
||||
"-DGINKGO_CUDA=ON"
|
||||
"-DGINKGO_BUILD_BENCHMARKS=OFF"
|
||||
|
@ -29,6 +33,7 @@ in
|
|||
];
|
||||
};
|
||||
hip = pkgs.callPackage ./derivation.nix {
|
||||
inherit pkgs;
|
||||
cppCompiler = pkgs.llvmPackages_rocm.clang;
|
||||
extraCmakeFlags = [
|
||||
"-DGINKGO_CUDA=OFF"
|
||||
|
|
Loading…
Reference in New Issue