Commit Graph

22 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Tom McLaughlin
bbfcab42fd
cling: tidy/simplify + add experimental libc++ support (#247253) 2023-08-19 16:19:01 -04:00
Tom McLaughlin
10926ac119 Disable jupyter kernel installation on darwin 2023-05-09 04:00:43 -06:00
Tom McLaughlin
616c81c641 Include the Jupyter kernel in $out/share/jupyter 2023-04-18 17:19:51 -07:00
thomasjm
fe00f3f462 Force installation of ClingTargets.cmake 2023-04-16 23:14:26 -07:00
Tom McLaughlin
cfb1293342 Patch cling/tools/driver/CMakeLists.txt, it works now! 2023-04-16 17:52:36 -07:00
Tom McLaughlin
978e32e8b5 Take only the include dir from llvmPackages_9.llvm.dev 2023-04-15 15:57:54 -07:00
Tom McLaughlin
fddb69ff3d Remove notes and fix clang include in flags 2023-04-15 02:48:16 -07:00
Tom McLaughlin
d77f11a719 Able to build cling 0.9 2023-04-15 02:45:35 -07:00
Tom McLaughlin
d7b1cb48aa More on cling patch 2023-04-04 16:38:48 -07:00
Tom McLaughlin
d395cc9634 Tweaking LLVM patch 2023-04-04 16:38:48 -07:00
Tom McLaughlin
3405841706 Bringing over more patches 2023-04-04 16:38:48 -07:00
Tom McLaughlin
838dae4188 First clang patch 2023-04-04 16:38:48 -07:00
Tom McLaughlin
c60fc2406a Working on update to cling 0.9 2023-04-04 16:38:48 -07:00
Rick van Schijndel
89b3f25cbd cling: use makeWrapper for build platform 2022-08-14 00:17:01 +03:00
Robert Hensing
fbafeb7ad5 treewide: runCommandNoCC -> runCommand
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
Jonathan Ringer
2171463a0f cling: fix llvm build 2021-05-08 18:13:45 -07:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
Frederik Rietdijk
4f39a2db4d cling: use python3 2021-03-25 12:00:51 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Dmitry Kalinkin
9521efa607
cling: fix libc include path for non-glibc 2020-12-21 13:08:21 -05:00
Tom McLaughlin
c81c3c3daf
cling: init at 0.7.0 (#64319)
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-11-19 14:29:02 -05:00