3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

170 commits

Author SHA1 Message Date
Jim Garrison 1030f5772d julia: switch from python2 to python3
Julia does not actually require python2; it just requires any version of python
[that is equal to or greater than 2.7](https://github.com/JuliaLang/julia/blob/master/doc/src/devdocs/build/build.md#required-build-tools-and-external-libraries).

This changes the python dependency from python2 to python3.

I have verified that julia-1.0 builds with this change.  julia-1.5 is marked as broken
in nixpkgs, so I have not tested it (but I would be very surprised if this change
broke it further).

Motivated by #148779
2021-12-06 19:37:42 -05:00
Pontus Stenetorp 6cbd21cb02
julia_16-bin and julia_17-bin: punctuation fixes
Thank you @7c6f434c for spotting these.
2021-12-02 01:18:07 +00:00
Pontus Stenetorp 6e176f712b
julia_10-bin: deprecate
No longer supported upstream:

    https://discourse.julialang.org/t/julia-v1-7-0-has-been-released-and-v1-6-is-now-lts/72336
2021-12-02 01:18:07 +00:00
Pontus Stenetorp 1526faf075
julia_17-bin: init at 1.7.0
https://github.com/JuliaLang/julia/blob/v1.7.0/NEWS.md
2021-12-02 01:18:07 +00:00
Pontus Stenetorp 9d80a43612
julia_16-bin: 1.6.3 -> 1.6.4
Patches: https://github.com/JuliaLang/julia/compare/v1.6.3...v1.6.4

Broken `tempname` tests disabled upstream, dropping workaround patch:

    https://github.com/JuliaLang/julia/pull/43012

The issue itself however, persists:

    https://github.com/JuliaLang/julia/issues/35785
2021-11-28 10:13:11 +00:00
Pontus Stenetorp c43789e7bb
julia_16-bin: 1.6.2 -> 1.6.3
Patches: https://github.com/JuliaLang/julia/compare/v1.6.2...v1.6.3

Dropping `chown` test workaround patch as it is now fixed upstream:

    3e8eb9e8de
2021-09-26 14:32:29 +00:00
Pontus Stenetorp 785b67da96
julia_16-bin: 1.6.1 -> 1.6.2
Patches: https://github.com/JuliaLang/julia/compare/v1.6.1...v1.6.2
2021-07-17 14:40:43 +00:00
Sandro db2166a2d3
Merge pull request #121114 from samuela/patch-2 2021-05-25 02:30:22 +02:00
Samuel Ainsworth 1e7f3bf0be julia_15: add comment clarifying broken-ness 2021-05-18 01:01:34 -07:00
Samuel Ainsworth 9ab3e892fe julia_15: run test suite and mark as broken
Fixes https://github.com/NixOS/nixpkgs/issues/121101.
2021-05-18 01:00:59 -07:00
Pontus Stenetorp 61b8bf948e
julia: mark julia_10-bin as insecure 2021-05-18 07:37:24 +00:00
Pontus Stenetorp 8949ae188a
julia: init julia_10-bin at 1.0.5
Almost as clean as it could be, but was forced to set `LD_LIBRARY_PATH`
to work around a `Libdl` failure that is unique to v1.0.x.
2021-05-16 14:12:37 +00:00
Pontus Stenetorp 351f9114b0
julia: init julia_16-bin at 1.6.1
Relevant patches lifted from the `release-1.6` branch of my Julia fork:

    https://git.sr.ht/~ninjin/julia-nix/tree/release-1.6
2021-05-16 14:12:36 +00:00
Pontus Stenetorp dd88dcee62
julia: add README
Provides a few hopefully helpful pointers that would not work well as
inline comments in the expressions themselves. Most likely the README
will need to be expanded upon over time to cover how we handle the Julia
release process, but I hope this is a good starting point.
2021-04-28 06:55:53 +00:00
Pontus Stenetorp e633d97cb3
julia: remove julia_15 update script
Provides very little comfort compared what is outlined in the
manual [1], only supports a single version, and would probably be better
to implement as a general Nixpkg tool.

[1]: https://nixos.org/manual/nixpkgs/stable/#sec-source-hashes
2021-04-28 06:55:52 +00:00
Pontus Stenetorp 75a93dfecc
julia: move patches into separate directories
Makes the top-level directory organisation easier with an increasing
number of patches.
2021-04-28 06:55:52 +00:00
Pontus Stenetorp 5926635765
julia: remove redundant diagonal test patch
Fix merged upstream and backported to Julia 1.0.5:

    https://github.com/JuliaLang/julia/pull/31443
2021-04-28 06:55:52 +00:00
Pontus Stenetorp 4c97cf823f
julia: remove redundant Nix-specific mtime patch
As far as I can tell this patch is redundant as all pre-compiled code
generated at build time is baked into the Julia system image and will
thus never get invalidated: Note that for both julia_10 and julia_15
there are no `.ji` files produced in the derivations.
2021-04-28 06:55:52 +00:00
Pontus Stenetorp a4f2b97a24
julia: enable parallel building
Erroneously disabled by 3ae5e6ce03 as it
mistook Julia for using CMake (it is used by some of the vendored
dependencies).
2021-04-28 06:55:51 +00:00
Pontus Stenetorp a0b0f99458
julia: drop julia_13 as it lacks support upstream
Closes #82008.
2021-04-28 06:55:47 +00:00
Ben Siraphob 6a2a2d6503 julia: use system blas only when not darwin 2021-03-28 17:46:05 +07:00
Samuel Ainsworth a4456496ee
julia: add update script, and 1.5.3 -> 1.5.4 (#116466) 2021-03-25 11:32:14 +01:00
John Ericson 12881a7aa7
Merge pull request #110544 from Ericson2314/no-platform
top-level, lib: Remove platform attribute of platforms
2021-01-23 16:32:36 -05:00
John Ericson 9c213398b3 lib: Clean up how linux and gcc config is specified
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that
commit for details.

This reverts commit 0bc275e634.
2021-01-23 10:01:28 -05:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Jonathan Ringer 0bc275e634
Revert "lib: Clean up how linux and gcc config is specified"
This is a stdenv-rebuild, and should not be merged
into master

This reverts commit 8929989614.
2021-01-22 14:07:06 -08:00
John Ericson 8929989614 lib: Clean up how linux and gcc config is specified
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.

This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.

`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.

The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
Ben Siraphob 3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Doron Behar 345813e6de julia_13: Disable tests 2020-11-18 15:33:03 +02:00
Doron Behar ba9d95ca8f julia_10: rewrite
Don't use ./shared.nix as it's not shared anymore.
Fix tests with an upstream patch and a few commands in postPatch.
Assert that blas and lapack are compatible.
Rename utf8proc patch.
2020-11-17 10:45:37 +02:00
Christoph Stich 5a5cb550dd
julia: init at 1.5 (#101933) 2020-11-13 21:43:50 +00:00
rht a487f1a744
julia: Remove version 1.1 2020-09-15 01:11:22 -04:00
rht 0a74834acf
julia: Remove version 0.7 2020-09-15 01:11:21 -04:00
GTrunsec ce5d228677
julia: fix missing LDlib lapack 2020-05-31 13:50:36 -07:00
Matthew Bauer ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Christoph Stich c4fe8c0f69 julia_13: Fixed darwin dependencies 2020-02-13 11:57:14 +00:00
Christoph Stich e4f65629db julia_13: julia-1.3.1 version bump
Added all-packages.nix
2020-02-13 11:49:38 +00:00
Frederik Rietdijk 5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Pontus Stenetorp 2f40250ec2
julia: 1.1.0 -> 1.1.1 2019-08-20 18:10:19 +01:00
Pontus Stenetorp 599f42576a
julia: 1.0.3 -> 1.0.4 2019-08-20 18:10:19 +01:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer 9af84fe525 julia: strip out gfortran refs
Fixes #62588
2019-06-03 12:32:17 -04:00
volth 5ad79dc4bb compilation for particular x86_64 architecture 2019-04-30 14:28:04 +00:00
Tom McLaughlin 9fa0974856 Patch Julia to not recompile packages when mtime is 1 2019-04-23 22:42:03 -07:00
Markus Kowalewski c997f5d0f2
julia: remove 0.6.4 (julia_06) 2019-03-05 17:52:58 +01:00