Commit Graph

19 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
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
Ben Siraphob
6a2a2d6503 julia: use system blas only when not darwin 2021-03-28 17:46:05 +07: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
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
Pontus Stenetorp
599f42576a
julia: 1.0.3 -> 1.0.4 2019-08-20 18:10:19 +01:00
Rob Vermaas
bfc3789f38 julia: add 1.1.0 2019-01-31 14:18:29 +01:00
Rob Vermaas
fad19e21e8 julia: fix hash for 1.0.3
(cherry picked from commit 995c78064a)
2019-01-03 19:56:39 +01:00
Rob Vermaas
d58d2e2aa7 julia: update to 1.0.3
(cherry picked from commit 438b6df1b1)
2019-01-03 09:50:47 +01:00
Rob Vermaas
67ef59334c julia_10: update to 1.0.1
(cherry picked from commit 3b3a2d30df)
2018-10-16 22:14:35 +02:00
Rob Vermaas
c745ed1f7c julia: add 0.7 and 1.0 2018-08-31 10:57:54 +02:00