about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2019-08-13 16:40:25 -0700
committerEmily <vcs@emily.moe>2019-08-14 00:14:22 -0700
commita0824ccff7b57d9405796d7c9e55f1e2190a9729 (patch)
treeceebeb2019f019b3cce9bccf6b925e79e2c21712 /pkgs/development/compilers
parent86ed03ae4ce0b1109f2a161d17a0076c925de814 (diff)
downloadnixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar.gz
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar.bz2
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar.lz
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar.xz
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.tar.zst
nixlib-a0824ccff7b57d9405796d7c9e55f1e2190a9729.zip
nextpnr: 2019.04.19 -> 2019.08.10
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/nextpnr/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/compilers/nextpnr/default.nix b/pkgs/development/compilers/nextpnr/default.nix
index d1c0db25351c..d32d3fa67f1d 100644
--- a/pkgs/development/compilers/nextpnr/default.nix
+++ b/pkgs/development/compilers/nextpnr/default.nix
@@ -26,14 +26,14 @@ let
   });
 in
 stdenv.mkDerivation rec {
-  name = "nextpnr-${version}";
-  version = "2019.04.19";
+  pname = "nextpnr";
+  version = "2019.08.10";
 
   src = fetchFromGitHub {
     owner  = "yosyshq";
     repo   = "nextpnr";
-    rev    = "5344bc3b65f4e06f983db781e9a82d30b3f1512b";
-    sha256 = "1y14jpa948cwk0i19bsfqh7yxsxkgskm4xym4z179sjcvcdvrn3a";
+    rev    = "3f26cf50767143e48d29ae691b2a0052c359eb15";
+    sha256 = "1gv84svw56ass9idbzh17h3yxkk9ydr40ijf9w72gf72rbixszdr";
   };
 
   nativeBuildInputs
@@ -49,6 +49,10 @@ stdenv.mkDerivation rec {
       "-DICEBOX_ROOT=${icestorm}/share/icebox"
       "-DTRELLIS_ROOT=${trellisRoot}/trellis"
       "-DUSE_OPENMP=ON"
+      # warning: high RAM usage
+      "-DSERIALIZE_CHIPDB=OFF"
+      # use PyPy for icestorm if enabled
+      "-DPYTHON_EXECUTABLE=${icestorm.pythonInterp}"
     ] ++ (stdenv.lib.optional (!enableGui) "-DBUILD_GUI=OFF");
 
   # Fix the version number. This is a bit stupid (and fragile) in practice