Tuomas Tynkkynen
5674da5aed
Fix "treewide: Consistently call ARM 'arm'"
...
0c0fad6141
was broken. I didn't realize there's some hidden
metaprogramming code where one can't even grep for 'isFoo' to find its
definition :(
2017-08-24 14:43:57 +03:00
Tuomas Tynkkynen
0c0fad6141
treewide: Consistently call ARM 'arm'
...
No need for silly differences.
2017-08-24 01:17:01 +03:00
Tuomas Tynkkynen
5b99d53975
kernel: Build Tegra X1 USB support as a module
2017-07-28 22:14:12 +03:00
John Ericson
02464668c0
lib: Add isPowerPC predicate, and fix family name
2017-07-10 11:13:56 -04:00
David McFarland
bb3c8a164c
lib: Include darwin in isUnix
2017-07-03 09:31:25 -03:00
David McFarland
4ac1901d54
stdenv: remove unix kernel family
...
System predicate patterns can now be specified as a list of OR'd
attribute sets.
2017-06-26 09:33:41 -03:00
David McFarland
be75c5dffb
cygwin: fix doubleFromSystem for cygwin
2017-06-26 09:33:38 -03:00
John Ericson
9f680d30f4
lib and doc: Use "libSystem" as identifier for that libc in platforms
2017-05-31 00:47:25 -04:00
John Ericson
c66ff8ec3c
cross tests and stdenv: armv5te*l* of sheevaplug explicit
...
The "l" suffix presumably indicates it is little-endian, which it
is.
2017-05-29 20:12:06 -04:00
John Ericson
20e756a093
lib: Consolidate platform configurations (used for crossSystem)
...
This is good for maintenance and education.
2017-05-29 18:56:03 -04:00
John Ericson
fedcda6cda
zpaqd: Modernize derivation
...
- Simplified platform-specific options
- Almost ready for cross-compilation
2017-05-22 18:52:50 -04:00
John Ericson
eaa509f33a
stdenv: Rename isGNU
to isHurd
as GNU is a userland
...
Elsewhere, things called GNU indeed includes GNU/Linux or GNU/Hurd, but this
predicate was defined excluding Linux regardless of userland.
2017-05-22 13:55:26 -04:00
John Ericson
c5c6606048
lib: Infer libc
field of platform if not specified
...
This is especially useful when not cross compiling. It means we can
remove the `stdenv.isGlibc` predicate too.
Additionally, use this to simplify the logic to choose the
appropriate libiconv derivation.
2017-05-22 00:25:02 -04:00
John Ericson
2e7ec6fb70
lib: Make platform predicates more ergonomic to use
...
`hostPlatform.isDarwin` instead of `lib.system.parse.isDarwin
hostPlatform.parsed`
2017-05-22 00:25:02 -04:00
John Ericson
80ed251f17
lib platform parsing: Whitelist darwin10
and darwin14
as stopgap
...
Something better should be done longer term to support such version
suffixes.
2017-05-17 15:33:05 -04:00
John Ericson
371ebc89ca
lib platform parsing: Fix windows support to conform to LLVM, take 2
...
Second attempt at pull request #25275
This reverts commit b70924bd80
,
reapplying 2282a5774c
2017-05-17 11:16:00 -04:00
Vladimír Čunát
b70924bd80
Revert "Merge pull request #25275 from Ericson2314/platform-normalize"
...
This reverts commit 2282a5774c
, reversing
changes made to 14adea9156
.
The lib tests are bloking nixpkgs-unstable, and I don't like debugging
it soon enough.
2017-05-06 13:28:07 +02:00
Michael Raskin
bcbafdefc4
Merge pull request #25035 from elitak/cross-staging
...
Add some ARM platforms
2017-05-01 13:30:32 +02:00
John Ericson
fcde869e7e
lib platform parsing: Fix windows
...
There is no more `cygwin` OS, but instead a `cygnus` abi. "win32"
and "mingw32" parse as `windows`. Add a 3-part hack because autotools
breaks on explicit abi with windows-like (e.g. "i686-pc-windows-gnu").
Also change cross triples to conform
2017-04-27 14:30:42 -04:00
John Ericson
7d546d7771
lib platform parsing: Turn assertion back on
2017-04-27 12:55:52 -04:00
John Ericson
23cc0c4420
lib: Whitelist two ABIs used on Arm
2017-04-25 19:58:03 -04:00
Eric Litak
127347f1fd
platforms: add CompuLab Utilite (armv7)
2017-04-19 14:09:56 -07:00
Eric Litak
c3eca1f8dc
platforms: add pogoplug4 (armv5tel softfloat)
2017-04-19 14:09:56 -07:00
Eric Litak
3b7395683c
platforms: add scaleway-c1 (armv7 sans NEON)
2017-04-19 14:09:56 -07:00
John Ericson
3efc661a1d
Elaborate localSystem
and crossSystem
in a consistent manner
2017-04-17 17:13:01 -04:00
John Ericson
8c99aab3ea
lib: Fix system parsing, and use for doubles lists
...
The old hard-coded lists are now used to test system parsing.
In the process, make an `assertTrue` in release lib for eval tests; also
use it in release-cross
2017-04-17 17:13:01 -04:00
John Ericson
2227789392
lib: Collect system/platform related files
...
Previously, platforms was a random thing in top-level
2017-04-17 17:13:01 -04:00