nixpkgs/pkgs/development/compilers
sternenseemann 766f5ffb76 llvmPackages_*: respect cc for target when choosing C++ flavour
llvmPackages_*.clang should check the default compiler for the package
set it is targeting (targetPackages.stdenv.cc) instead of the compiler
that has been used to build it (stdenv.cc) in order to get some sense of
whether to use libc++ or libstdc++.

Since we are now inspecting targetPackages in the llvmPackages.clang
attribute, we need to avoid using it in the cross stdenv — which just
forces us to explicitly request libcxxClang for darwin instead of
relying on the clang attribute to pick it for us.

We also need to do something similar for targetPackages.stdenv.cc: Here
the llvmPackages.clang logic would work as we want (inspect
targetPackages.stdenv.cc and if it doesn't exist, make the choice based
on stdenv.cc), but it gets locked in a cycle with the previous package.
We can easily break this, however: We know that the previous set had
clang and the next one doesn't exist, so we'd choose libcxxClang any day
of the week.
2022-01-07 14:42:41 +01:00
..
4th
abcl treewide: remove meta.version 2021-07-18 00:07:38 +02:00
acme acme: unstable-2020-12-27 -> unstable-2021-02-14 2021-06-07 21:03:01 +07:00
adoptopenjdk-bin treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.7 -> 1.8.8 2022-01-02 16:48:11 +01:00
aldor development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
algol68g algol68g: Trivial fix in patch 2021-07-30 14:33:55 -03:00
aliceml development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
apache-flex-sdk treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
arachne-pnr
armips armips: init at 0.11.0 2021-06-13 11:31:44 +02:00
as31 as31: init at 2.3.1 2021-09-05 23:22:37 -03:00
asl asl: fix the expression 2021-11-03 13:33:56 -03:00
asn1c
aspectj aspectj: 1.9.6 -> 1.9.7 2022-01-02 23:43:06 +01:00
atasm atasm: init at 1.09 2021-09-09 17:48:34 -03:00
ats
ats2
avra development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
bigloo bigloo: explicitly depend on unistring on darwin (#140521) 2021-10-04 23:00:39 -04:00
binaryen binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
bluespec whitespace 2021-08-31 16:53:58 -05:00
bs-platform
bupc development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
c3c c3c: init at unstable-2021-07-30 2021-07-31 13:14:50 +02:00
cakelisp
carp carp: 0.5.3 -> 0.5.4 2021-12-30 22:17:53 -08:00
cc65 cc65: enable parallel building 2021-06-07 21:13:21 +07:00
ccl
chez chez: 9.5.4 -> 9.5.6 2021-12-11 12:30:40 +00:00
chez-racket chez-racket: Fix signing on Darwin (Thanks @Steven0351!) 2021-12-23 21:14:28 +00:00
chicken chicken: 5.2.0 -> 5.3.0 2021-12-11 15:20:35 +00:00
ciao ciao: mark as broken on darwin 2021-12-18 11:44:13 -05:00
clasp clasp: use python3 2021-07-27 20:37:04 +02:00
clean
closure closurecompiler: 20210808 -> 20211107 2021-12-11 15:56:17 +00:00
cmdstan development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
cmucl
colm
computecpp
cone cone: init at unstable-2021-07-25 2021-07-30 13:35:43 +02:00
copper copper: 4.4 -> 4.6 2021-12-12 14:13:58 +01:00
coreclr
crystal crystal: 1.2.1 → 1.2.2 2021-11-13 10:03:42 -06:00
crystal2nix
cudatoolkit cudatoolkit: 11.4.1 -> 11.4.2 2021-10-21 11:24:27 +02:00
dale dale: fix build 2021-05-08 01:29:18 -07:00
dasm
dev86 dev86: explicitly disable build parallelism due to missing depends 2021-11-13 21:41:51 +00:00
dictu dictu: mark as broken on darwin 2021-12-24 22:00:23 -05:00
dmd Merge pull request #135905 from dukc/secondDmd2097 2021-09-13 11:36:55 -05:00
dotnet dotnet: fix build on darwin 2021-12-18 16:29:54 +01:00
dtc dtc: 1.6.0 -> 1.6.1 2021-08-23 12:45:14 +02:00
ecl ecl: refactor 2021-12-21 12:08:34 +01:00
edk2 edk2: use llvmPackages_9.stdenv 2021-11-27 00:02:47 +01:00
eli
elm elmPackages: fix nodejs packages 2021-12-30 19:05:19 +01:00
emscripten emscripten: 2.0.10 -> 2.0.27 2021-08-21 10:10:03 +02:00
eql treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
factor-lang factor98: add longDescription 2021-11-26 10:22:03 -03:00
fasm fasm: 1.73.28 -> 1.73.29 2021-12-31 07:28:37 +00:00
fasmg
fennel fennel: 0.10.0 -> 1.0.0 2021-11-16 02:35:49 +01:00
flasm
flutter flutter: fix move-cache patch 2021-12-25 10:54:51 -03:00
flux
fpc treewide: remove meta.version 2021-07-18 00:07:38 +02:00
fsharp
fstar fstar: 2021.11.27 -> 2021.12.25 2021-12-30 15:38:47 +01:00
gambit gambit: bootstrap install gsc-boot 2021-12-22 10:17:45 -05:00
gavrasm
gcc Merge branch 'master' into staging-next 2021-12-23 16:58:33 -05:00
gcc-arm-embedded gcc-arm-embedded-{6,7,8}: enable on aarch64-darwin 2021-12-05 23:35:52 +01:00
gcl
gerbil gerbil: disable stackprotector on aarch64-darwin for now 2021-12-22 11:10:08 -05:00
gforth
ghc haskell.compiler.*: disable large address space only on iOS 2022-01-04 12:10:00 +01:00
ghcjs Merge pull request #151689 from Gabriel439/gabriella/fix_ghcjs_config.sub 2021-12-22 12:02:13 -05:00
ghdl gnat: 9 -> 11 2021-11-15 22:41:56 +01:00
gleam gleam: 0.18.0 -> 0.18.2 2021-12-30 09:17:42 -05:00
glslang
gnatboot treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
gnu-cobol
gnu-smalltalk
go Merge master into staging-next 2021-12-10 12:01:12 +00:00
go-jsonnet go-jsonnet: 0.17.0 -> 0.18.0 2021-12-30 14:22:51 +00:00
gprolog Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
graalvm graalvm-ce: multiple fixes and improvements 2021-12-27 19:30:50 -03:00
gwt pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
halide halide: Fix build 2021-05-30 14:18:57 +02:00
haxe haxe: build versions < 4.2 with OCaml 4.10 2021-04-27 08:42:50 +02:00
hhvm
hip hip: 4.3.1 → 4.5.2 2021-12-22 13:40:48 +01:00
hop hop: 3.3.0 -> 3.4.4 2021-08-14 03:34:53 +03:00
idris2 idris2: add package tests 2021-12-23 18:25:24 +01:00
inform6 inform6: fix darwin build 2021-05-16 14:31:43 -07:00
inform7
inklecate inklecate: init at version 1.0.0 2021-07-08 22:36:54 -07:00
intel-graphics-compiler intel-graphics-compiler: 1.0.4241 -> 1.0.8744 2021-10-27 15:16:30 +02:00
intercal
ios-cross-compile misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
ispc ispc: fix llvm build 2021-05-08 18:13:45 -07:00
jasmin
javacard-devkit
jetbrains-jdk jetbrains-jdk: 11.0.10-b1427 -> 11_0_11-b1504.13 2021-08-01 22:27:45 -04:00
jrsonnet jrsonnet: install shell completions 2021-10-08 11:26:48 +02:00
jsonnet jsonnet: add output with html documentation (#128990) 2021-07-05 19:09:30 +02:00
julia julia_17-bin: 1.7.0 -> 1.7.1 2021-12-23 21:54:58 +01:00
juniper
jwasm jwasm: 2.13 -> 2.14 2021-08-02 18:14:47 -03:00
kaitai-struct-compiler katai-struct-compiler: init at 0.9 2021-12-07 16:31:22 +01:00
koka koka: 2.3.2 -> 2.3.6 2021-12-13 15:08:05 +01:00
kotlin kotlin{-native}: 1.6.0 → 1.6.10 2021-12-14 16:04:35 +05:30
ldc ldc: add aarch64-linux 2021-12-14 10:22:08 -08:00
ligo ligo: 0.26.0 -> 0.27.0 2021-10-22 08:54:19 +00:00
lingua-franca maintainers: add revol-xut 2021-11-13 11:42:10 +01:00
llvm llvmPackages_*: respect cc for target when choosing C++ flavour 2022-01-07 14:42:41 +01:00
lobster lobster: unstable-2021-06-18 -> 2021.3 2021-10-20 16:12:13 +02:00
manticore
marst marst: init at 2.7 2021-07-29 05:17:12 -03:00
matter-compiler
mcpp
mercury
meta-environment/meta-build-env development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
mezzo development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
microscheme microscheme: fix meta.homepage 2021-12-31 11:17:07 -08:00
mint mint: 0.14.0 -> 0.15.1 2021-12-25 17:58:07 +00:00
miranda miranda: add meta.mainProgram 2021-09-10 14:46:48 -05:00
mit-scheme mit-scheme: set MITSCHEME_LIBRARY_PATH properly 2021-09-15 05:38:03 +03:00
mkcl mkcl: cleanup 2021-07-30 10:27:09 +02:00
mlkit mlkit: 4.5.7 -> 4.5.9 2021-09-23 04:28:19 +00:00
mlton
mono mono6: 6.12.0.90 -> 6.12.0.122 2021-08-17 14:13:44 +08:00
mosml mosml: dontPatchElf = true 2021-06-20 16:41:28 +02:00
mozart mozart2: pin boost to most recent supported version (#151576) 2021-12-21 11:43:24 -05:00
mruby
mrustc mrustc: fix llvm_config path 2021-05-08 01:29:18 -07:00
muon
myrddin myrddin: init at 0.3.1 2021-06-25 17:33:55 +02:00
nasm
neko
nextpnr nextpnr: 2021.11.24 -> 2021.15.21; update trellis 2021-12-17 03:50:48 -06:00
nim nim: 1.6.0 -> 1.6.2 2021-12-18 15:06:19 +00:00
nvidia-cg-toolkit
obliv-c treewide: remove meta.version 2021-07-18 00:07:38 +02:00
ocaml treewide: fix homepages with permanent redirect to https 2021-12-29 22:06:47 +07:00
odin odin: init at 0.13.0 2021-07-05 22:52:59 +02:00
opa
open-watcom wrapWatcom: inherit compiler's meta 2021-12-10 14:02:48 +01:00
opendylan pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
openjdk javaPackages.openjdk17: Fix download URL 2021-12-09 23:50:02 -08:00
openspin
ophis ophis: fix build 2021-05-01 21:22:32 +02:00
oraclejdk Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
orc orc: disable failing test suite on armv7l 2021-08-29 16:35:52 +10:00
osl osl: fix build by overriding llvm-as path 2021-09-18 20:00:48 +01:00
owl-lisp
paco
pakcs haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
passerine passerine: init at 0.9.2 2021-05-29 18:42:30 +07:00
pforth
picat
polyml polyml: 5.8.2 -> 5.9 2021-12-08 11:26:15 +00:00
ponyc pony-corral: 0.5.1 -> 0.5.3 2021-07-31 18:08:28 +00:00
purescript purescript: 0.14.4 -> 0.14.5 2021-10-23 12:03:50 +09:00
qbe qbe: unstable-2021-11-10 -> unstable-2021-11-22 2021-12-08 00:09:34 +00:00
rasm rasm: Fix the source URL 2021-07-21 10:23:35 +02:00
reason maintainers: remove superherointj 2021-11-02 18:22:31 -07:00
rgbds rgbds: 0.5.1 -> 0.5.2 2022-01-03 11:28:52 +01:00
roslyn roslyn: Update dependencies 2021-11-16 15:54:20 +01:00
rust clippy: fix build (#152211) 2022-01-01 06:31:57 +00:00
sagittarius-scheme sagittarius-scheme: 0.9.7 -> 0.9.8 2021-10-29 02:04:30 +00:00
sbcl sbcl: 2.1.9 -> 2.1.11 2021-12-16 21:27:56 +01:00
scala scala_2_13: 2.13.6 → 2.13.7 2021-11-02 09:15:50 -04:00
scala-runners treewide: fix /bin/coursier references 2021-10-28 19:48:29 -05:00
scryer-prolog scryer-prolog: update dependency lexical-core to fix build 2021-10-23 21:32:11 +02:00
sdcc sdcc: honour dontStrip 2021-08-09 22:10:14 +02:00
seexpr seexpr: fmt 2021-11-16 23:39:27 +01:00
serpent remove chris-martin from maintainer list on various crypto packages 2021-06-06 02:38:34 -06:00
shaderc libtool: add meta.platforms and make cctools Darwin only 2021-11-22 09:42:23 -08:00
sjasmplus sjasmplus: 1.18.2 -> 1.18.3 2021-09-14 23:10:43 +00:00
smlnj smlnjBootstrap: move dependents over to regular smlnj 2021-06-28 10:50:56 +01:00
solc various: cleanup of "inherit version;" 2021-07-17 22:39:35 +02:00
souffle souffle: pull pending upstream inclusion fix for ncurses-6.3 2021-11-19 17:53:24 +00:00
spasm-ng
spirv-llvm-translator spirv-llvm-translator: 8.0.1-2 -> 2021-06-13 2021-10-23 22:24:06 +02:00
squeak
stalin development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
swi-prolog swi-prolog: 8.3.9 -> 8.3.29 2021-09-07 23:09:12 -05:00
swift Use lib.makeLibraryPath 2021-12-08 11:15:13 -06:00
terra treewide: fix redirected URLs 2021-08-01 00:01:50 +07:00
teyjus
tinycc tinycc: simplify specifying cc/ar 2021-10-17 19:30:47 +02:00
tinygo
tvm
unison unison-ucm: M2g -> M2j (#142751) 2021-10-24 18:43:17 +02:00
urn
urweb
vala Merge master into staging-next 2021-12-03 18:01:12 +00:00
vlang vlang: weekly.2021.25 -> 2021.51 2021-12-21 15:43:10 -05:00
vyper python38Packages.vyper: 0.2.16 -> 0.3.0 2021-10-06 00:50:57 +00:00
wcc
wla-dx
x11basic
xa xa: 2.3.11 -> 2.3.12 2022-01-04 01:57:33 -03:00
yap Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
yasm yasm: replace name with pname&version 2021-08-15 16:30:23 +02:00
yosys yosys: 0.11+52 -> 0.12+36 2021-12-17 03:50:48 -06:00
z88dk z88dk: 2.0 -> 2.1 2021-05-11 19:46:01 +07:00
zasm
zig zig: 0.8.1 -> 0.9.0 2021-12-24 11:56:47 +03:00
zulu zulu: 11.41.23 -> 11.50.19 2021-08-23 20:56:56 +08:00
zz zz: unstable-2021-03-07 -> unstable-2021-05-04 2021-10-12 12:58:26 +02:00