Merge pull request #280153 from NickCao/julia_110

julia_110: init at 1.10.0

authored by Nick Cao and committed by GitHub 0d6aa42a d7c46833

+153 -264
-96
pkgs/development/compilers/julia/1.8-bin.nix
··· 1 - { autoPatchelfHook, fetchurl, lib, stdenv }: 2 - 3 - let 4 - skip_tests = [ 5 - # Test flaky on ofborg 6 - "channels" 7 - ] ++ lib.optionals stdenv.isDarwin [ 8 - # Test flaky on ofborg 9 - "FileWatching" 10 - # Test requires pbcopy 11 - "InteractiveUtils" 12 - # Test requires network access 13 - "Sockets" 14 - ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 15 - # Test Failed at $out/share/julia/stdlib/v1.8/LinearAlgebra/test/blas.jl:702 16 - "LinearAlgebra/blas" 17 - # Test Failed at $out/share/julia/test/misc.jl:724 18 - "misc" 19 - ]; 20 - in 21 - stdenv.mkDerivation rec { 22 - pname = "julia-bin"; 23 - version = "1.8.5"; 24 - 25 - src = { 26 - x86_64-linux = fetchurl { 27 - url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz"; 28 - sha256 = "sha256-5xokgW6P6dX0gHZky7tCc49aqf4FOX01yB1MXWSbnQU="; 29 - }; 30 - aarch64-linux = fetchurl { 31 - url = "https://julialang-s3.julialang.org/bin/linux/aarch64/${lib.versions.majorMinor version}/julia-${version}-linux-aarch64.tar.gz"; 32 - sha256 = "sha256-ofY3tExx6pvJbXw+80dyTAVKHlInuYCt6/wzWZ5RU6Q="; 33 - }; 34 - x86_64-darwin = fetchurl { 35 - url = "https://julialang-s3.julialang.org/bin/mac/x64/${lib.versions.majorMinor version}/julia-${version}-mac64.tar.gz"; 36 - sha256 = "sha256-oahZ7af7QaC1VGczmhHDwcDfeLJ9HhYOgLxnWLPY2uA="; 37 - }; 38 - aarch64-darwin = fetchurl { 39 - url = "https://julialang-s3.julialang.org/bin/mac/aarch64/${lib.versions.majorMinor version}/julia-${version}-macaarch64.tar.gz"; 40 - sha256 = "sha256-6oXgSJw2MkxNpiFjqhuC/PL1L3LRc+590hOjqSmSyrc="; 41 - }; 42 - }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 43 - 44 - patches = [ 45 - # https://github.com/JuliaLang/julia/commit/f5eeba35d9bf20de251bb9160cc935c71e8b19ba 46 - ./patches/1.8-bin/0001-allow-skipping-internet-required-tests.patch 47 - ]; 48 - 49 - postPatch = '' 50 - # Julia fails to pick up our Certification Authority root certificates, but 51 - # it provides its own so we can simply disable the test. Patching in the 52 - # dynamic path to ours require us to rebuild the Julia system image. 53 - substituteInPlace share/julia/stdlib/v${lib.versions.majorMinor version}/NetworkOptions/test/runtests.jl \ 54 - --replace '@test ca_roots_path() != bundled_ca_roots()' \ 55 - '@test_skip ca_roots_path() != bundled_ca_roots()' 56 - ''; 57 - 58 - nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 59 - 60 - installPhase = '' 61 - runHook preInstall 62 - cp -r . $out 63 - runHook postInstall 64 - ''; 65 - 66 - # Breaks backtraces, etc. 67 - dontStrip = true; 68 - 69 - doInstallCheck = true; 70 - preInstallCheck = '' 71 - export JULIA_TEST_USE_MULTIPLE_WORKERS=true 72 - # Some tests require read/write access to $HOME. 73 - export HOME="$TMPDIR" 74 - ''; 75 - installCheckPhase = '' 76 - runHook preInstallCheck 77 - # Command lifted from `test/Makefile`. 78 - $out/bin/julia \ 79 - --check-bounds=yes \ 80 - --startup-file=no \ 81 - --depwarn=error \ 82 - $out/share/julia/test/runtests.jl \ 83 - --skip internet_required ${toString skip_tests} 84 - runHook postInstallCheck 85 - ''; 86 - 87 - meta = { 88 - description = "High-level, high-performance, dynamic language for technical computing"; 89 - homepage = "https://julialang.org"; 90 - # Bundled and linked with various GPL code, although Julia itself is MIT. 91 - license = lib.licenses.gpl2Plus; 92 - maintainers = with lib.maintainers; [ raskin nickcao wegank thomasjm ]; 93 - platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 94 - mainProgram = "julia"; 95 - }; 96 - }
···
-86
pkgs/development/compilers/julia/1.8.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , which 5 - , python3 6 - , gfortran 7 - , cmake 8 - , perl 9 - , gnum4 10 - , libxml2 11 - , openssl 12 - }: 13 - 14 - stdenv.mkDerivation rec { 15 - pname = "julia"; 16 - version = "1.8.5"; 17 - 18 - src = fetchurl { 19 - url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"; 20 - hash = "sha256-NVVAgKS0085S7yICVDBr1CrA2I7/nrhVkqV9BmPbXfI="; 21 - }; 22 - 23 - patches = [ 24 - ./patches/1.8/0001-skip-building-doc.patch 25 - ./patches/1.8/0002-skip-failing-and-flaky-tests.patch 26 - ]; 27 - 28 - nativeBuildInputs = [ 29 - which 30 - python3 31 - gfortran 32 - cmake 33 - perl 34 - gnum4 35 - ]; 36 - 37 - buildInputs = [ 38 - libxml2 39 - openssl 40 - ]; 41 - 42 - dontUseCmakeConfigure = true; 43 - 44 - postPatch = '' 45 - patchShebangs . 46 - ''; 47 - 48 - makeFlags = [ 49 - "prefix=$(out)" 50 - "USE_BINARYBUILDER=0" 51 - # workaround for https://github.com/JuliaLang/julia/issues/47989 52 - "USE_INTEL_JITEVENTS=0" 53 - ] ++ lib.optionals stdenv.isx86_64 [ 54 - # https://github.com/JuliaCI/julia-buildbot/blob/master/master/inventory.py 55 - "JULIA_CPU_TARGET=generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)" 56 - ] ++ lib.optionals stdenv.isAarch64 [ 57 - "JULIA_CPU_TARGET=generic;cortex-a57;thunderx2t99;armv8.2-a,crypto,fullfp16,lse,rdm" 58 - ]; 59 - 60 - # remove forbidden reference to $TMPDIR 61 - preFixup = '' 62 - for file in libcurl.so libgmpxx.so; do 63 - patchelf --shrink-rpath --allowed-rpath-prefixes ${builtins.storeDir} "$out/lib/julia/$file" 64 - done 65 - ''; 66 - 67 - doInstallCheck = true; 68 - installCheckTarget = "testall"; 69 - 70 - preInstallCheck = '' 71 - export HOME="$TMPDIR" 72 - export JULIA_TEST_USE_MULTIPLE_WORKERS="true" 73 - ''; 74 - 75 - dontStrip = true; 76 - 77 - enableParallelBuilding = true; 78 - 79 - meta = with lib; { 80 - description = "High-level performance-oriented dynamical language for technical computing"; 81 - homepage = "https://julialang.org/"; 82 - license = licenses.mit; 83 - maintainers = with maintainers; [ nickcao thomasjm ]; 84 - platforms = [ "x86_64-linux" "aarch64-linux" ]; 85 - }; 86 - }
···
+25 -14
pkgs/development/compilers/julia/1.9-bin.nix pkgs/development/compilers/julia/generic-bin.nix
··· 1 - { autoPatchelfHook, fetchurl, lib, stdenv }: 2 3 let 4 skip_tests = [ 5 # Test flaky on ofborg 6 "channels" 7 - 8 # Test flaky because of our RPATH patching 9 # https://github.com/NixOS/nixpkgs/pull/230965#issuecomment-1545336489 10 "compiler/codegen" 11 ] ++ lib.optionals stdenv.isDarwin [ 12 # Test flaky on ofborg 13 "FileWatching" ··· 22 "misc" 23 ]; 24 in 25 - stdenv.mkDerivation rec { 26 pname = "julia-bin"; 27 - version = "1.9.4"; 28 29 src = { 30 x86_64-linux = fetchurl { 31 url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz"; 32 - sha256 = "07d20c4c2518833e2265ca0acee15b355463361aa4efdab858dad826cf94325c"; 33 }; 34 aarch64-linux = fetchurl { 35 url = "https://julialang-s3.julialang.org/bin/linux/aarch64/${lib.versions.majorMinor version}/julia-${version}-linux-aarch64.tar.gz"; 36 - sha256 = "541d0c5a9378f8d2fc384bb8595fc6ffe20d61054629a6e314fb2f8dfe2f2ade"; 37 }; 38 x86_64-darwin = fetchurl { 39 url = "https://julialang-s3.julialang.org/bin/mac/x64/${lib.versions.majorMinor version}/julia-${version}-mac64.tar.gz"; 40 - sha256 = "67eec264f6afc9e9bf72c0f62c84d91c2ebdfaed6a0aa11606e3c983d278b441"; 41 }; 42 aarch64-darwin = fetchurl { 43 url = "https://julialang-s3.julialang.org/bin/mac/aarch64/${lib.versions.majorMinor version}/julia-${version}-macaarch64.tar.gz"; 44 - sha256 = "67542975e86102eec95bc4bb7c30c5d8c7ea9f9a0b388f0e10f546945363b01a"; 45 }; 46 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 47 48 - patches = [ 49 - # https://github.com/JuliaLang/julia/commit/f5eeba35d9bf20de251bb9160cc935c71e8b19ba 50 - ./patches/1.9-bin/0001-allow-skipping-internet-required-tests.patch 51 - ]; 52 - 53 postPatch = '' 54 # Julia fails to pick up our Certification Authority root certificates, but 55 # it provides its own so we can simply disable the test. Patching in the ··· 75 dontStrip = true; 76 77 doInstallCheck = true; 78 preInstallCheck = '' 79 export JULIA_TEST_USE_MULTIPLE_WORKERS=true 80 # Some tests require read/write access to $HOME. 81 - export HOME="$TMPDIR" 82 ''; 83 installCheckPhase = '' 84 runHook preInstallCheck 85 # Command lifted from `test/Makefile`.
··· 1 + { version 2 + , sha256 3 + , patches ? [ ] 4 + }: 5 + 6 + { autoPatchelfHook 7 + , fetchurl 8 + , lib 9 + , stdenv 10 + }: 11 12 let 13 skip_tests = [ 14 # Test flaky on ofborg 15 "channels" 16 # Test flaky because of our RPATH patching 17 # https://github.com/NixOS/nixpkgs/pull/230965#issuecomment-1545336489 18 "compiler/codegen" 19 + ] ++ lib.optionals (lib.versionAtLeast version "1.10") [ 20 + # Test flaky 21 + # https://github.com/JuliaLang/julia/issues/52739 22 + "REPL" 23 ] ++ lib.optionals stdenv.isDarwin [ 24 # Test flaky on ofborg 25 "FileWatching" ··· 34 "misc" 35 ]; 36 in 37 + stdenv.mkDerivation { 38 pname = "julia-bin"; 39 + 40 + inherit version patches; 41 42 src = { 43 x86_64-linux = fetchurl { 44 url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz"; 45 + sha256 = sha256.x86_64-linux; 46 }; 47 aarch64-linux = fetchurl { 48 url = "https://julialang-s3.julialang.org/bin/linux/aarch64/${lib.versions.majorMinor version}/julia-${version}-linux-aarch64.tar.gz"; 49 + sha256 = sha256.aarch64-linux; 50 }; 51 x86_64-darwin = fetchurl { 52 url = "https://julialang-s3.julialang.org/bin/mac/x64/${lib.versions.majorMinor version}/julia-${version}-mac64.tar.gz"; 53 + sha256 = sha256.x86_64-darwin; 54 }; 55 aarch64-darwin = fetchurl { 56 url = "https://julialang-s3.julialang.org/bin/mac/aarch64/${lib.versions.majorMinor version}/julia-${version}-macaarch64.tar.gz"; 57 + sha256 = sha256.aarch64-darwin; 58 }; 59 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 60 61 postPatch = '' 62 # Julia fails to pick up our Certification Authority root certificates, but 63 # it provides its own so we can simply disable the test. Patching in the ··· 83 dontStrip = true; 84 85 doInstallCheck = true; 86 + 87 preInstallCheck = '' 88 export JULIA_TEST_USE_MULTIPLE_WORKERS=true 89 # Some tests require read/write access to $HOME. 90 + # And $HOME cannot be equal to $TMPDIR as it causes test failures 91 + export HOME=$(mktemp -d) 92 ''; 93 + 94 installCheckPhase = '' 95 runHook preInstallCheck 96 # Command lifted from `test/Makefile`.
+14 -8
pkgs/development/compilers/julia/1.9.nix pkgs/development/compilers/julia/generic.nix
··· 1 { lib 2 , stdenv 3 , fetchurl ··· 13 14 stdenv.mkDerivation rec { 15 pname = "julia"; 16 - version = "1.9.4"; 17 18 src = fetchurl { 19 url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"; 20 - hash = "sha256-YYQ7lkf9BtOymU8yd6ZN4ctaWlKX2TC4yOO8DpN0ACQ="; 21 }; 22 - 23 - patches = [ 24 - ./patches/1.8/0002-skip-failing-and-flaky-tests.patch 25 - ]; 26 27 strictDeps = true; 28 ··· 63 done 64 ''; 65 66 - doInstallCheck = !stdenv.hostPlatform.isAarch64; # tests are flaky for aarch64-linux on hydra 67 installCheckTarget = "testall"; 68 69 preInstallCheck = '' 70 - export HOME="$TMPDIR" 71 export JULIA_TEST_USE_MULTIPLE_WORKERS="true" 72 ''; 73 74 dontStrip = true;
··· 1 + { version 2 + , hash 3 + , patches 4 + }: 5 + 6 { lib 7 , stdenv 8 , fetchurl ··· 18 19 stdenv.mkDerivation rec { 20 pname = "julia"; 21 + 22 + inherit version patches; 23 24 src = fetchurl { 25 url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"; 26 + inherit hash; 27 }; 28 29 strictDeps = true; 30 ··· 65 done 66 ''; 67 68 + # tests are flaky for aarch64-linux on hydra 69 + doInstallCheck = if (lib.versionOlder version "1.10") then !stdenv.hostPlatform.isAarch64 else true; 70 + 71 installCheckTarget = "testall"; 72 73 preInstallCheck = '' 74 export JULIA_TEST_USE_MULTIPLE_WORKERS="true" 75 + # Some tests require read/write access to $HOME. 76 + # And $HOME cannot be equal to $TMPDIR as it causes test failures 77 + export HOME=$(mktemp -d) 78 ''; 79 80 dontStrip = true;
+48 -7
pkgs/development/compilers/julia/default.nix
··· 1 { callPackage }: 2 3 let 4 - juliaWithPackages = callPackage ../../julia-modules {}; 5 6 wrapJulia = julia: julia.overrideAttrs (oldAttrs: { 7 - passthru = (oldAttrs.passthru or {}) // { 8 withPackages = juliaWithPackages.override { inherit julia; }; 9 }; 10 }); ··· 12 in 13 14 { 15 - julia_16-bin = wrapJulia (callPackage ./1.6-bin.nix {}); 16 - julia_18-bin = wrapJulia (callPackage ./1.8-bin.nix {}); 17 - julia_19-bin = wrapJulia (callPackage ./1.9-bin.nix {}); 18 - julia_18 = wrapJulia (callPackage ./1.8.nix {}); 19 - julia_19 = wrapJulia (callPackage ./1.9.nix {}); 20 }
··· 1 { callPackage }: 2 3 let 4 + juliaWithPackages = callPackage ../../julia-modules { }; 5 6 wrapJulia = julia: julia.overrideAttrs (oldAttrs: { 7 + passthru = (oldAttrs.passthru or { }) // { 8 withPackages = juliaWithPackages.override { inherit julia; }; 9 }; 10 }); ··· 12 in 13 14 { 15 + julia_16-bin = wrapJulia (callPackage ./1.6-bin.nix { }); 16 + julia_19-bin = wrapJulia (callPackage 17 + (import ./generic-bin.nix { 18 + version = "1.9.4"; 19 + sha256 = { 20 + x86_64-linux = "07d20c4c2518833e2265ca0acee15b355463361aa4efdab858dad826cf94325c"; 21 + aarch64-linux = "541d0c5a9378f8d2fc384bb8595fc6ffe20d61054629a6e314fb2f8dfe2f2ade"; 22 + x86_64-darwin = "67eec264f6afc9e9bf72c0f62c84d91c2ebdfaed6a0aa11606e3c983d278b441"; 23 + aarch64-darwin = "67542975e86102eec95bc4bb7c30c5d8c7ea9f9a0b388f0e10f546945363b01a"; 24 + }; 25 + patches = [ 26 + # https://github.com/JuliaLang/julia/commit/f5eeba35d9bf20de251bb9160cc935c71e8b19ba 27 + ./patches/1.9-bin/0001-allow-skipping-internet-required-tests.patch 28 + ]; 29 + }) 30 + { }); 31 + julia_110-bin = wrapJulia (callPackage 32 + (import ./generic-bin.nix { 33 + version = "1.10.0"; 34 + sha256 = { 35 + x86_64-linux = "a7298207f72f2b27b2ab1ce392a6ea37afbd1fbee0f1f8d190b054dcaba878fe"; 36 + aarch64-linux = "048d96b4398efd524e94be3f49e8829cf6b30c8f3f4b46c75751a4679635e45b"; 37 + x86_64-darwin = "eb1cdf2d373ee40412e8f5ee6b4681916f1ead6d794883903619c7bf147d4f46"; 38 + aarch64-darwin = "dc4ca01b1294c02d47b33ef26d489dc288ac68655a03774870c6872b82a9a7d6"; 39 + }; 40 + }) 41 + { }); 42 + julia_19 = wrapJulia (callPackage 43 + (import ./generic.nix { 44 + version = "1.9.4"; 45 + hash = "sha256-YYQ7lkf9BtOymU8yd6ZN4ctaWlKX2TC4yOO8DpN0ACQ="; 46 + patches = [ 47 + ./patches/1.9/0002-skip-failing-and-flaky-tests.patch 48 + ]; 49 + }) 50 + { }); 51 + julia_110 = wrapJulia (callPackage 52 + (import ./generic.nix { 53 + version = "1.10.0"; 54 + hash = "sha256-pfjAzgjPEyvdkZygtbOytmyJ4OX35/sqgf+n8iXj20w="; 55 + patches = [ 56 + ./patches/1.10/0001-skip-building-docs-as-it-requires-network-access.patch 57 + ./patches/1.10/0002-skip-failing-and-flaky-tests.patch 58 + ]; 59 + }) 60 + { }); 61 }
+34
pkgs/development/compilers/julia/patches/1.10/0001-skip-building-docs-as-it-requires-network-access.patch
···
··· 1 + From da7e7b2c622bcfdc3e6484a64ade50d22d52c4dd Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Wed, 10 Jan 2024 19:48:19 -0500 4 + Subject: [PATCH 1/2] skip building docs as it requires network access 5 + 6 + --- 7 + Makefile | 4 +--- 8 + 1 file changed, 1 insertion(+), 3 deletions(-) 9 + 10 + diff --git a/Makefile b/Makefile 11 + index 1565014a0f..edd5c65244 100644 12 + --- a/Makefile 13 + +++ b/Makefile 14 + @@ -265,7 +265,7 @@ define stringreplace 15 + endef 16 + 17 + 18 + -install: $(build_depsbindir)/stringreplace docs 19 + +install: $(build_depsbindir)/stringreplace 20 + @$(MAKE) $(QUIET_MAKE) $(JULIA_BUILD_MODE) 21 + @for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir) $(private_libexecdir); do \ 22 + mkdir -p $(DESTDIR)$$subdir; \ 23 + @@ -368,8 +368,6 @@ endif 24 + cp -R -L $(JULIAHOME)/base/* $(DESTDIR)$(datarootdir)/julia/base 25 + cp -R -L $(JULIAHOME)/test/* $(DESTDIR)$(datarootdir)/julia/test 26 + cp -R -L $(build_datarootdir)/julia/* $(DESTDIR)$(datarootdir)/julia 27 + - # Copy documentation 28 + - cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/ 29 + # Remove various files which should not be installed 30 + -rm -f $(DESTDIR)$(datarootdir)/julia/base/version_git.sh 31 + -rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile 32 + -- 33 + 2.42.0 34 +
+25
pkgs/development/compilers/julia/patches/1.10/0002-skip-failing-and-flaky-tests.patch
···
··· 1 + From c7e2f6ed00c170b68d5d156faac38aa76d4490fd Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Wed, 10 Jan 2024 20:58:20 -0500 4 + Subject: [PATCH 2/2] skip failing and flaky tests 5 + 6 + --- 7 + test/Makefile | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 10 + diff --git a/test/Makefile b/test/Makefile 11 + index 88dbe5b2b4..f0bdedfdf5 100644 12 + --- a/test/Makefile 13 + +++ b/test/Makefile 14 + @@ -28,7 +28,7 @@ default: 15 + 16 + $(TESTS): 17 + @cd $(SRCDIR) && \ 18 + - $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@) 19 + + $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --skip NetworkOptions REPL channels $@) 20 + 21 + $(addprefix revise-, $(TESTS)): revise-% : 22 + @cd $(SRCDIR) && \ 23 + -- 24 + 2.42.0 25 +
-47
pkgs/development/compilers/julia/patches/1.8-bin/0001-allow-skipping-internet-required-tests.patch
··· 1 - --- a/share/julia/test/choosetests.jl 2 - +++ b/share/julia/test/choosetests.jl 3 - @@ -31,6 +31,19 @@ const TESTNAMES = [ 4 - "smallarrayshrink", "opaque_closure", "filesystem", "download", 5 - ] 6 - 7 - + 8 - +const INTERNET_REQUIRED_LIST = [ 9 - + "Artifacts", 10 - + "Downloads", 11 - + "LazyArtifacts", 12 - + "LibCURL", 13 - + "LibGit2", 14 - + "Pkg", 15 - + "download", 16 - +] 17 - + 18 - +const NETWORK_REQUIRED_LIST = vcat(INTERNET_REQUIRED_LIST, ["Sockets"]) 19 - + 20 - """ 21 - `(; tests, net_on, exit_on_error, seed) = choosetests(choices)` selects a set of tests to be 22 - run. `choices` should be a vector of test names; if empty or set to 23 - @@ -147,6 +160,7 @@ function choosetests(choices = []) 24 - filtertests!(tests, "compiler/EscapeAnalysis", [ 25 - "compiler/EscapeAnalysis/local", "compiler/EscapeAnalysis/interprocedural"]) 26 - filtertests!(tests, "stdlib", STDLIBS) 27 - + filtertests!(tests, "internet_required", INTERNET_REQUIRED_LIST) 28 - # do ambiguous first to avoid failing if ambiguities are introduced by other tests 29 - filtertests!(tests, "ambiguous") 30 - 31 - @@ -157,15 +171,7 @@ function choosetests(choices = []) 32 - filter!(x -> (x != "Profile"), tests) 33 - end 34 - 35 - - net_required_for = [ 36 - - "Artifacts", 37 - - "Downloads", 38 - - "LazyArtifacts", 39 - - "LibCURL", 40 - - "LibGit2", 41 - - "Sockets", 42 - - "download", 43 - - ] 44 - + net_required_for = filter!(in(tests), NETWORK_REQUIRED_LIST) 45 - net_on = true 46 - JULIA_TEST_NETWORKING_AVAILABLE = get(ENV, "JULIA_TEST_NETWORKING_AVAILABLE", "") |> 47 - strip |>
···
pkgs/development/compilers/julia/patches/1.8/0001-skip-building-doc.patch pkgs/development/compilers/julia/patches/1.9/0001-skip-building-doc.patch
pkgs/development/compilers/julia/patches/1.8/0002-skip-failing-and-flaky-tests.patch pkgs/development/compilers/julia/patches/1.9/0002-skip-failing-and-flaky-tests.patch
+2 -1
pkgs/top-level/aliases.nix
··· 447 join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04 448 449 # Julia 450 - 451 452 ### K ### 453
··· 447 join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04 448 449 # Julia 450 + julia_18 = throw "'julia_18' has been removed from nixpkgs as it has reached end of life"; # Added 2024-01-11 451 + julia_18-bin = throw "'julia_18-bin' has been removed from nixpkgs as it has reached end of life"; # Added 2024-01-11 452 453 ### K ### 454
+5 -5
pkgs/top-level/all-packages.nix
··· 16526 16527 inherit (callPackage ../development/compilers/julia { }) 16528 julia_16-bin 16529 - julia_18-bin 16530 julia_19-bin 16531 - julia_18 16532 - julia_19; 16533 16534 julia-lts = julia_16-bin; 16535 - julia-stable = julia_19; 16536 julia = julia-stable; 16537 16538 julia-lts-bin = julia_16-bin; 16539 - julia-stable-bin = julia_19-bin; 16540 julia-bin = julia-stable-bin; 16541 16542 jwasm = callPackage ../development/compilers/jwasm { };
··· 16526 16527 inherit (callPackage ../development/compilers/julia { }) 16528 julia_16-bin 16529 julia_19-bin 16530 + julia_110-bin 16531 + julia_19 16532 + julia_110; 16533 16534 julia-lts = julia_16-bin; 16535 + julia-stable = julia_110; 16536 julia = julia-stable; 16537 16538 julia-lts-bin = julia_16-bin; 16539 + julia-stable-bin = julia_110-bin; 16540 julia-bin = julia-stable-bin; 16541 16542 jwasm = callPackage ../development/compilers/jwasm { };