6 , cudaSupport ? config.cudaSupport
10 assert cudaSupport -> cudaPackages != null;
12 stdenv.mkDerivation rec {
14 version = "2024.07.0";
16 src = fetchFromGitHub {
20 hash = "sha256-JbYaJe4bqlB272aZxB3Amw8fX/pmZr/4/7kaukAiK8c=";
21 fetchSubmodules = true;
26 ] ++ lib.optionals cudaSupport [
27 cudaPackages.cuda_nvcc
30 buildInputs = lib.optionals cudaSupport (with cudaPackages; [
35 cmakeFlags = lib.optionals cudaSupport [
36 "-DCUDA_TOOLKIT_ROOT_DIR=${cudaPackages.cudatoolkit}"
38 (lib.cmakeFeature "CMAKE_CUDA_ARCHITECTURES" cudaPackages.flags.cmakeCudaArchitecturesString)
42 description = "Application-focused API for memory management on NUMA & GPU architectures";
43 homepage = "https://github.com/LLNL/Umpire";
44 maintainers = with maintainers; [ sheepforce ];
45 license = with licenses; [ mit ];
46 platforms = [ "x86_64-linux" ];