Commit Graph

116 Commits

Author SHA1 Message Date
Jörg Thalheim
8e09025284
Merge pull request #147605 from sternenseemann/cross-jobset-extension
release-cross.nix: add jobs for missing lib.systems.examples
2021-12-09 17:12:36 +00:00
sternenseemann
8580bda686 libcpuid: fix cross compilation to NetBSD
Applies an upstreamed patch which works around a double definition of
popcount64. This change is all needed to cross compile nix to NetBSD, so
we can extend the cross-trunk jobset as well.
2021-12-02 14:41:38 +01:00
sternenseemann
4a21fcfa61 release-cross.nix: add jobs for missing lib.systems.examples
Adding something to lib.systems.examples means that it'll be exposed via
pkgsCross to users quite prominently. As a result we should try to
provide binary cache for at least the toolchains on a best effort
basis.

This commit syncs release-cross.nix with (new?) cross targets added to
lib.systems.examples in the meantime. We for example didn't have a
prebuilt toolchain for riscv64.
2021-11-27 16:35:55 +01:00
sternenseemann
547f1386d3 release-cross.nix: test cross compilation to x86_64-netbsd 2021-09-28 08:47:36 +00:00
Ryan Burns
0ef31a870d release-cross: add ppc64le, ppc64le-musl
Our support for ppc64le is pretty good now.
Let's add these so it's easier to spot and rectify breakage.

The toolchains are already built for their bootstrap tools,
so this shouldn't put much build strain on hydra.
2021-01-28 19:34:10 -08:00
Silvan Mosberger
c1e96ff74f
release*: Support nixpkgsArgs for all release-*.nix files
This is a bit dirty because there's no easy way to propagate these
function arguments while still allowing --arg from the command line
2020-09-11 18:22:01 +02:00
Aaron Janse
e1f7d9461b pkgs/top-level: add x86_64-redox 2020-07-26 04:46:22 -07:00
John Ericson
891662e829 Merge branch 'ghcjs-cross-without-cc-19.09' into ghcjs-cross-without-cc 2019-12-24 17:55:35 -05:00
John Ericson
d3ecd5bde5 release-cross.nix: Add GHCJS-built hello 2019-12-24 17:54:04 -05:00
Matthew Bauer
67b5f75672 top-level/release-cross.nix: add android32 2019-10-01 13:05:10 -04:00
Matthew Bauer
872100cf41
Merge branch 'staging' into release-cross-fixes 2019-05-18 14:57:53 -05:00
Matthew Bauer
490d9fd509 release-cross: use latest stable ghc
Previously on ghc 8.4.4, but we can now use 8.6.5 to address the
issue.
2019-05-12 00:22:01 -04:00
Matthew Bauer
1671eeda2d release-cross: remove androidndk
It is no longer provided
2019-05-08 21:44:46 -04:00
Matthew Bauer
94237b3452 release-cross.nix: add mesa to platforms
mesa is very portable and useful. we should make sure these work on
all of the platforms we support
2019-05-02 21:00:05 -04:00
Matthew Bauer
008c9a70a5 release-cross: add wasi targets
Add a few working cross targets to make sure things keep working.
2019-04-23 21:51:30 -04:00
Matthew Bauer
ae50241871 release-cross: remove alpha-elf target
This doesn’t appear to ever have worked. binutils doesn’t seem to
support the alpha-elf target at all. It doesn’t make sense to keep
this around.

https://hydra.nixos.org/build/92403855/nixlog/1/tail
2019-04-20 17:22:52 -04:00
Aaron Lindsay
1eca945e94 systems: support TI MSP430 microcontrollers 2019-03-25 20:33:58 -07:00
John Ericson
ffa75ae405
Merge pull request #50282 from vincrusher/master
Cross-Compiling: alpha-embedded Support Added
2018-11-12 15:57:23 -05:00
Vincent Weisner
04fe84d239
Cross-Compiling: alpha-embedded Support Added
This commit adds support for Embedded systems with DEC Alpha CPUs.
2018-11-12 15:00:50 -05:00
Matthew Bauer
dfd0818aa5
release-cross: use ghc844 for tests
This GHC version has much better support for cross compilation. It should hopefully fix our mingw breakages from #42407.

/cc @ericson2314
2018-11-03 14:17:21 -05:00
Matthew Bauer
29b4ac8e41 release-corss.nix: fix ppc-embedded name
s/powerpc-embedded/ppc-embedded
2018-11-02 18:42:58 -05:00
John Ericson
e3082c313b Merge remote-tracking branch 'upstream/master' into release-lib-cleanup 2018-11-01 16:47:42 -04:00
John Ericson
79c713bc14 release-lib: Cache cross nixpkgs evals too
This will help with release-cross.nix eval time. It also allowed me to
share code between the cross and native helpers.
2018-11-01 15:35:08 -04:00
Matthew Bauer
2634d37617 systems/examples: add i686 & x86-64 embedded
Fixes #28160
2018-10-30 13:46:01 -05:00
Matthew Bauer
946598d071 release-cross: add new targets
adds:

- arm-embedded
- avr
- aarch64-embedded
- powerpc-embedded
2018-10-29 14:34:10 -05:00
John Ericson
22df9423cd release-cross: Cross compile from all 3 supported platforms 2018-10-23 23:20:48 -04:00
John Ericson
192f4144b2 release-lib: Filter supportedSystems with meta.platforms-style patterns
Instead of intersecting system strings, we filter with the sort of
patterns used in `meta.platforms`.

Indicating this change `forTheseSystems` has been renamed to
`forMatchingSystems`, since the given list is now patterns to match, and
not the systems themselves. [Just as with `meta.platforms`, systems
strings are also supported for backwards compatibility.]

This is more flexible, and makes the `forMatchingSystems` and
packagePlatforms` cases more analogous.
2018-03-19 21:32:28 -04:00
John Ericson
2482e2858e prebuilt android tools: Init using SDK
Expose as an option for the cross stdenv.
2018-02-27 14:15:39 -05:00
Will Dietz
6daf813b1c release-cross: add nix and nixUnstable
Essential software for every platform! :)

'nix' won't work for now,
but add it anyway so later this tests "stable" nix 2.
2018-02-22 08:56:05 -06:00
Will Dietz
76879b83ac release-cross: minor cleanup, add aarch64-musl 2018-02-22 08:33:27 -06:00
Will Dietz
9bc8127dc3 bootstrap-tools-cross, release-cross: add various musl entries 2018-02-13 09:44:56 -06:00
Will Dietz
7debd78f06 release-cross.nix: add entry for testing musl 2018-02-13 09:44:35 -06:00
John Ericson
13739e6b9e release-cross: Try building on Windows too 2018-01-22 11:29:15 -05:00
John Ericson
b612597c3d release-cross: Add a test for Haskell on Raspberry Pi and "Android"
Hello World with ghcHEAD. ghc822 to come after some patches.

Android will be turned into real Android...later.
2018-01-21 23:31:04 -05:00
Tuomas Tynkkynen
82cab72dd4 release-lib: forAllSupportedSystems -> forTheseSystems
I'm going to move forAllSystems from nixos/release.nix, and these
functions sound too similar while doing different things.
2018-01-16 18:48:54 +02:00
Bojan Nikolic
db475df127 mingw-w64-pthreads: The C compiler is needed
It was a copy and paste error from the headers derivation. Also test in
release-cross.
2018-01-02 19:01:18 -05:00
John Ericson
ab651d2c9b linux bootstrap tools: Use same derivation whether cross compiling or not 2018-01-02 13:52:41 -05:00
John Ericson
b9bf90ca6c all-packages: Remove gccCrossStageFinal; any gcc will not work 2017-09-21 15:49:18 -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
df081787ee release-cross: Be less absurd in ensureUnaffected tests
We need to at least used a valid 4-part LLVM target "triple" and
libc.
2017-05-23 01:44:27 -04:00
John Ericson
c443033be3 gdb: Modernize and simplify derivation
- `isGNU` to `isHurd`, my sedding did not catch
 - Simplify cross compilation in general
 - Be more careful about python
 - no more `gdbCross` in all-packages
2017-05-22 17:10:29 -04:00
John Ericson
25edc476fd glibc: Simplify derivation further
No native hashes should be changed with this commit
default.nix's cross hash should also not be changed
2017-05-20 22:17:28 -04:00
John Ericson
df91297181 release-cross: Do a recursive union to make sure we don't loose tests 2017-05-18 10:41:58 -04:00
John Ericson
2601a80639 release-cross: Make tests more uniform
Fewer packages are only built on one platform. Eventually we should
have each package encode its own requirements on build host and target
(as we do for build already) and use that to test automatically.
2017-05-17 18:54:31 -04:00
John Ericson
d34079c2d9 release-cross: Add arms test from Darwin for binutils
This does a decent job of testing everything in this PR up to here.
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
John Ericson
92887cb466 release-cross: Add final "-gnu" to fuloong triple 2017-04-27 14:46:32 -04: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
5c91dc9bcf release-cross: Fix more typos---this is embarrising 2017-04-17 21:02:56 -04:00