Merge pull request #167900 from r-ryantm/auto-update/octave
This commit is contained in:
commit
13c8900b5c
@ -58,9 +58,6 @@
|
||||
, qtscript ? null
|
||||
, qscintilla ? null
|
||||
, qttools ? null
|
||||
# - JIT compiler for loops:
|
||||
, enableJIT ? false
|
||||
, llvm ? null
|
||||
, libiconv
|
||||
, darwin
|
||||
}:
|
||||
@ -114,12 +111,12 @@ let
|
||||
};
|
||||
|
||||
self = mkDerivation rec {
|
||||
version = "6.4.0";
|
||||
version = "7.1.0";
|
||||
pname = "octave";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/octave/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-tI8z1Pzq85TPvqc6jIUAAJNtg6QXOaJPdWi1sKezms0=";
|
||||
sha256 = "sha256-1KnYHz9ntKbgfLeoDcsQrV6RdvzDB2LHCoFYCmS4sLY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -173,7 +170,6 @@ let
|
||||
texinfo
|
||||
]
|
||||
++ lib.optionals (sundials != null) [ sundials ]
|
||||
++ lib.optionals enableJIT [ llvm ]
|
||||
++ lib.optionals enableQt [
|
||||
qtscript
|
||||
qttools
|
||||
@ -199,7 +195,6 @@ let
|
||||
++ lib.optionals enableReadline [ "--enable-readline" ]
|
||||
++ lib.optionals stdenv.isDarwin [ "--with-x=no" ]
|
||||
++ lib.optionals enableQt [ "--with-qt=5" ]
|
||||
++ lib.optionals enableJIT [ "--enable-jit" ]
|
||||
;
|
||||
|
||||
# Keep a copy of the octave tests detailed results in the output
|
||||
@ -220,7 +215,7 @@ let
|
||||
inherit portaudio;
|
||||
inherit jdk;
|
||||
inherit python;
|
||||
inherit enableQt enableJIT enableReadline enableJava;
|
||||
inherit enableQt enableReadline enableJava;
|
||||
buildEnv = callPackage ./build-env.nix {
|
||||
octave = self;
|
||||
inherit octavePackages wrapOctave;
|
||||
@ -236,8 +231,6 @@ let
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ raskin doronbehar ];
|
||||
description = "Scientific Programming Language";
|
||||
# https://savannah.gnu.org/bugs/?func=detailitem&item_id=56425 is the best attempt to fix JIT
|
||||
broken = enableJIT;
|
||||
platforms = if overridePlatforms == null then
|
||||
(lib.platforms.linux ++ lib.platforms.darwin)
|
||||
else overridePlatforms;
|
||||
|
@ -13936,11 +13936,6 @@ with pkgs;
|
||||
python = python3;
|
||||
mkDerivation = stdenv.mkDerivation;
|
||||
};
|
||||
octave-jit = callPackage ../development/interpreters/octave {
|
||||
python = python3;
|
||||
enableJIT = true;
|
||||
mkDerivation = stdenv.mkDerivation;
|
||||
};
|
||||
octaveFull = libsForQt5.callPackage ../development/interpreters/octave {
|
||||
python = python3;
|
||||
enableQt = true;
|
||||
|
Loading…
Reference in New Issue
Block a user