Commit Graph

33 Commits

Author SHA1 Message Date
Pavol Rusnak
d66917c4df
gcc-arm-embedded: use numVersion as version, rename version to release
followup to 009668465e
2021-07-12 13:11:40 +02:00
Sirio Balmelli
009668465e
gcc-arm-embedded: add numVersion attribute for convenience
There are builds which rely on having the numeric version of gcc (eg "10.2.1")
declared in an environment variable.

Running 'arm-none-eabi-gcc --version' returns:
"arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)"

However, the attribute arm-none-eabi-gcc.version is "10-2020-q4-major",
from which there is no way to derive "10.2.1".

Contrast this with the attribute gcc.version which (at this time) gives "10.3.0".

By adding a numVersion attribute, consumers of this package can
correctly determine what GCC version is being executed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2021-07-12 12:29:46 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Pavol Rusnak
78a8ccf961 gcc-arm-embedded: don't override phases 2020-12-29 11:36:17 +01:00
Pavol Rusnak
0dc7fa1541 gcc-arm-embedded: 9-2020-q2-update -> 10-2020-q4-major 2020-12-29 11:28:32 +01:00
Pavol Rusnak
4ead8259b6
gcc-arm-embedded: 9-2019-q4-major -> 9-2020-q2-update 2020-06-01 22:27:39 +02:00
Pavol Rusnak
1c57848a0b
gcc-arm-embedded: remove old versions of the package (4.x, 5.0) 2019-12-08 15:24:12 +01:00
Pavol Rusnak
fcba6a0619
gcc-arm-embedded: unify gcc-arm-embedded/{6,7,8,9}/default.nix 2019-12-08 15:24:12 +01:00
Pavol Rusnak
ab1c848f16
gcc-arm-embedded: 8-2019-q3-update -> 9-2019-q4-major 2019-12-08 15:24:11 +01:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Pavol Rusnak
6270d567b2
gcc-arm-embedded: 8-2018-q4-major -> 8-2019-q3-update 2019-08-27 20:03:38 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00: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
Theodore Witkamp
daf1f0bc22 gcc-arm-embedded: add darwin support 2019-04-04 09:19:16 -07:00
Theodore Witkamp
6bfbd2df0f gcc-arm-embedded: fix MANPATH 2019-01-20 12:22:36 -08:00
Pavol Rusnak
8eb031786c
gcc-arm-embedded: 7-2018-q2-update -> 8-2018-q4-major 2019-01-10 12:30:42 +01:00
Matthew Bauer
4c9bbf01ef Revert "gcc-arm-embedded: remove"
This reverts commit c327df544a.
2018-12-15 12:32:12 -06:00
Matthew Bauer
c327df544a gcc-arm-embedded: remove
replace with:

- pkgsCross.arm-embedded.buildPackages.gcc
- pkgsCross.arm-embedded.buildPackages.binutils
2018-10-30 13:31:55 -05:00
Pavol Rusnak
b3531b9719
gcc-arm-embedded: 6-2017-q2-update -> 7-2018-q2-update
+ update blackmagic to latest commit which includes gcc7 fixes
2018-10-02 15:23:31 +02:00
Will Dietz
eb91037e7b tree-wide: patchelf used during build -> nativeBuildInputs
In a few cases it wasn't clear so I left them as-is.

While visiting these moved other things to nativeBuildInputs
when it was clear they were one of these cases:

* makeWrapper
* archive utilities (in order to unpack src)
  * a few of these might no longer be needed but leaving for another day
2018-09-28 11:43:16 -05:00
vinymeuh
9e1cde78b8 gcc-arm-embedded: 5-2016-q2-update -> 6-2017-q2-update 2017-08-15 21:36:30 +02:00
Tuomas Tynkkynen
51ad423716 treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls 2016-08-23 00:04:39 +03:00
Alexey Shmalko
34b5d283cd gcc-arm-embedded: update license
According to https://launchpad.net/gcc-arm-embedded:
> Licence:
> Simplified BSD Licence, GNU GPL v2, GNU GPL v3, GNU LGPL v2.1, GNU
> LGPL v3, MIT / X / Expat Licence
2016-07-19 14:12:51 +02:00
Nikolay Amiantov
5ff40ddedf add get* helper functions and mass-replace manual outputs search with them 2016-04-25 13:24:39 +03:00
Vladimír Čunát
39ebb01d6e Merge branch 'staging', containing closure-size #7701 2016-04-13 09:25:28 +02:00
Alexey Shmalko
e870ac3044 gcc-arm-embedded: 4.9 -> 5.2
Seems that GCC ARM Embedded have changed convention for file location,
and version 5.2 isn't accessible from the predicted url. That's why
nix-expression is updated to allow overloading url parts.
2016-04-13 03:07:05 +03:00
Thomas Tuegel
3ef7671cea ncurses: combine $lib and $out outputs
The $lib output refers to the terminfo database in $out, which is about
10x larger than the ncurses shared library. Splitting these outputs
saves a small amount of space for any derivations that use the terminfo
database but not the ncurses library, but we do not have evidence that
any such exist.
2016-03-08 11:35:24 -06:00
Vladimír Čunát
31d9263159 some evaluation fixes
Not all multiple-output fixups were properly tested.
2015-10-28 10:15:52 +01:00
Vladimír Čunát
91407a8bdf ncurses: split into multiple outputs
Some programs (e.g. tput) might better be moved somewhere else than
$dev/bin, but that can be improved later if need be.
2015-10-13 20:18:44 +02:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Bjørn Forsman
52243083ca gcc-arm-embedded: add missing dependency on 'ncurses'
Fixes this:

  $ arm-none-eabi-gdb
  arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
2014-10-26 19:45:34 +01:00
Bjørn Forsman
b5bd583bb8 gcc-arm-embedded: add meta attributes 2014-03-29 18:28:41 +01:00
ambrop7@gmail.com
8b94e22f33 Add gcc-arm-embedded.
These are packages for precompiled ARM microcontroller compilers from
https://launchpad.net/gcc-arm-embedded.

[Bjørn: modify commit message (add paragraph).]
2014-03-29 17:57:45 +01:00