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
acme
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
algol68g
aliceml
apache-flex-sdk treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
arachne-pnr
armips
as31
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
ats
ats2
avra
bigloo
binaryen binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
bluespec
bs-platform
bupc
c3c
cakelisp
carp carp: 0.5.3 -> 0.5.4 2021-12-30 22:17:53 -08:00
cc65
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
clean
closure closurecompiler: 20210808 -> 20211107 2021-12-11 15:56:17 +00:00
cmdstan
cmucl
colm
computecpp
cone
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
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
dotnet dotnet: fix build on darwin 2021-12-18 16:29:54 +01:00
dtc
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
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
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
haxe
hhvm
hip hip: 4.3.1 → 4.5.2 2021-12-22 13:40:48 +01:00
hop
idris2 idris2: add package tests 2021-12-23 18:25:24 +01:00
inform6
inform7
inklecate
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
jasmin
javacard-devkit
jetbrains-jdk
jrsonnet
jsonnet
julia julia_17-bin: 1.7.0 -> 1.7.1 2021-12-23 21:54:58 +01:00
juniper
jwasm
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
matter-compiler
mcpp
mercury
meta-environment/meta-build-env
mezzo
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
mit-scheme
mkcl
mlkit
mlton
mono
mosml
mozart mozart2: pin boost to most recent supported version (#151576) 2021-12-21 11:43:24 -05:00
mruby
mrustc
muon
myrddin
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
ocaml treewide: fix homepages with permanent redirect to https 2021-12-29 22:06:47 +07:00
odin
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
oraclejdk
orc
osl
owl-lisp
paco
pakcs haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
passerine
pforth
picat
polyml polyml: 5.8.2 -> 5.9 2021-12-08 11:26:15 +00:00
ponyc
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
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
seexpr seexpr: fmt 2021-11-16 23:39:27 +01:00
serpent
shaderc libtool: add meta.platforms and make cctools Darwin only 2021-11-22 09:42:23 -08:00
sjasmplus
smlnj
solc
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
swi-prolog
swift Use lib.makeLibraryPath 2021-12-08 11:15:13 -06:00
terra
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
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
yosys yosys: 0.11+52 -> 0.12+36 2021-12-17 03:50:48 -06:00
z88dk
zasm
zig zig: 0.8.1 -> 0.9.0 2021-12-24 11:56:47 +03:00
zulu
zz zz: unstable-2021-03-07 -> unstable-2021-05-04 2021-10-12 12:58:26 +02:00