gambit, gerbil: use stdenv = gccStdenv

clang builds gambit 10x slower to produce code that is 3x slower than
when using GCC. So use GCC to build Gambit and Gerbil.
This commit is contained in:
Francois-Rene Rideau 2018-08-10 15:41:15 -04:00
parent c75576f9e8
commit d9f419bd57
5 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{ callPackage, fetchurl }:
{ stdenv, callPackage, fetchurl }:
callPackage ./build.nix {
version = "4.8.9";
@ -7,4 +7,5 @@ callPackage ./build.nix {
url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v4_8_9-devel.tgz";
sha256 = "1gwzz1ag9hlv266nvfq1bhwzrps3f2yghhffasjjqy8i8xwnry5p";
};
inherit stdenv;
}

View File

@ -1,4 +1,4 @@
{ callPackage, fetchgit }:
{ stdenv, callPackage, fetchgit }:
callPackage ./build.nix {
version = "unstable-2018-08-06";
@ -8,4 +8,5 @@ callPackage ./build.nix {
rev = "91a4ad2c28375f067adedcaa61f9d66a4b536f4f";
sha256 = "0px1ipvhh0hz8n38h6jv4y1nn163j8llvcy4l7p3hkdns5czwy1p";
};
inherit stdenv;
}

View File

@ -1,4 +1,4 @@
{ callPackage, fetchurl, gambit }:
{ stdenv, callPackage, fetchurl, gambit }:
callPackage ./build.nix {
version = "0.12-RELEASE";
@ -8,4 +8,5 @@ callPackage ./build.nix {
url = "https://github.com/vyzo/gerbil/archive/v0.12.tar.gz";
sha256 = "0nigr3mgrzai57q2jqac8f39zj8rcmic3277ynyzlgm8hhps71pq";
};
inherit stdenv;
}

View File

@ -1,4 +1,4 @@
{ callPackage, fetchgit, gambit-unstable }:
{ stdenv, callPackage, fetchgit, gambit-unstable }:
callPackage ./build.nix {
version = "unstable-2018-08-11";
@ -9,4 +9,5 @@ callPackage ./build.nix {
rev = "274e1a22b2d2b708d5582594274ab52ee9ba1686";
sha256 = "10j44ar4xfl8xmh276zg1ykd3r0vy7w2f2cg4p8slwnk9r251g2s";
};
inherit stdenv;
}

View File

@ -6307,10 +6307,10 @@ with pkgs;
fpc = callPackage ../development/compilers/fpc { };
gambit = callPackage ../development/compilers/gambit { };
gambit-unstable = callPackage ../development/compilers/gambit/unstable.nix { };
gerbil = callPackage ../development/compilers/gerbil { };
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { };
gambit = callPackage ../development/compilers/gambit { stdenv = gccStdenv; };
gambit-unstable = callPackage ../development/compilers/gambit/unstable.nix { stdenv = gccStdenv; };
gerbil = callPackage ../development/compilers/gerbil { stdenv = gccStdenv; };
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { stdenv = gccStdenv; };
gccFun = callPackage ../development/compilers/gcc/7;
gcc = gcc7;