aboutsummaryrefslogtreecommitdiff
path: root/ldc_2d/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'ldc_2d/opencl')
-rw-r--r--ldc_2d/opencl/shell.nix45
1 files changed, 0 insertions, 45 deletions
diff --git a/ldc_2d/opencl/shell.nix b/ldc_2d/opencl/shell.nix
deleted file mode 100644
index 462394e..0000000
--- a/ldc_2d/opencl/shell.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ pkgs ? import <nixpkgs> { }, ... }:
-
-pkgs.stdenvNoCC.mkDerivation rec {
- name = "pycl-env";
- env = pkgs.buildEnv { name = name; paths = buildInputs; };
-
- buildInputs = let
- boltzgen = pkgs.python3.pkgs.buildPythonPackage rec {
- pname = "boltzgen";
- version = "0.1";
-
- src = pkgs.fetchFromGitHub {
- owner = "KnairdA";
- repo = "boltzgen";
- rev = "v0.1.1";
- sha256 = "03fv7krhgc43gfjill8wb4aafr8xi69i2yh9zr68knnmrkrb8vpi";
- };
-
- propagatedBuildInputs = with pkgs.python37Packages; [
- sympy
- numpy
- Mako
- ];
-
- doCheck = false;
- };
-
- local-python = pkgs.python3.withPackages (python-packages: with python-packages; [
- boltzgen
- numpy
- pyopencl setuptools
- matplotlib
- ]);
-
- in [
- local-python
- pkgs.opencl-info
- ];
-
- shellHook = ''
- export NIX_SHELL_NAME="${name}"
- export PYOPENCL_COMPILER_OUTPUT=1
- export PYTHONPATH="$PWD:$PYTHONPATH"
- '';
-}