Commit graph

27 commits

Author SHA1 Message Date
Ben Siraphob 1e2484a27c treewide: remove unnecessary enableParallelBuilding when using cmake 2021-07-20 10:32:58 +07:00
Sable Seyler c49d9adc38
terra: fix LuaJIT fetch per @jnetod in #125896 2021-06-17 10:54:22 -07:00
Sable Seyler da575846cb
terra: update to support new override 2021-06-17 10:53:14 -07:00
Sable Seyler 999e5d9cdf
terra: add override for CLANG_RESOURCE_DIR 2021-06-13 01:22:37 -07:00
Sable Seyler 0a44bbbb3d
terra: add toggle argument for CUDA support
Terra can be built with CUDA support, and this commit adds a toggle to
the arguments, `enableCUDA`, for enabling it.
2021-06-05 19:11:02 -07:00
Sable Seyler 59a07bc60f
terra: add seylerius as a maintainer 2021-06-05 19:06:46 -07:00
Sable Seyler da04b1f00f
terra: update to use LLVM's split derivations
A patch has been added to inject environment variables into the CMake
test runner, the `INCLUDE_PATH` variable has been specified, and the
merged LLVM derivation has been updated to refer to the split outputs.
2021-06-05 19:01:51 -07:00
J. Neto 6cf3ec0947
terra: 1.0.0pre1175_ef6a75f -> 1.0.0-beta3
Contains the combined single-commit work by both @jnetod and myself
from NixOS/nixpkgs#122665. Brings the build up to LLVM 10, switches to
`symlinkJoin` for putting Clang where the CMake build expects it, and
updates to a fresh update of Terra that works around a few LLVM bugs.
2021-06-05 18:19:23 -07:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vladimír Čunát aad639d8f1
terra: fix evaluation on darwin 2019-09-24 08:25:44 +02:00
Austin Seipp d5e1d57cee
terra: include libc headers by default, run tests
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-19 00:26:48 -05:00
Austin Seipp 52d3655c3d
terra: 1.0.0-beta1 -> 1.0.0pre1175_ef6a75f
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-18 22:13:18 -05:00
Austin Seipp 3288d3670f
terra: patch to use NIX_CFLAGS_COMPILE for includes
Terra heavily depends on its ability to interface with C APIs, but
without scanning NIX_CFLAGS_COMPILE, it's awkward and annoying to set up
imports correctly (by scanning and adding the flags yourself) in every
single project.

Luckily most of the Clang initialization is hidden away, but the Lua
code for the Terra library handles all the high-level stuff, so we patch
it in there.

This allows simple examples like:

    C = terralib.includec("zlib.h")

to work instantly, provided `zlib` is a Nix dependency.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-18 21:45:34 -05:00
Austin Seipp 5cc70a7b6b
terra: touchups
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-18 21:44:55 -05: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
Mario Rodas 1b95ef168b
terra: fix darwin build 2019-05-20 22:12:13 -05:00
Ryan Mulligan 6e5caa3f8a
Merge pull request #52624 from alesguzik/update-terra
terra: 2016-06-09 -> 1.0.0-beta1
2019-02-28 19:22:10 -08:00
Jörg Thalheim 1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Ales Huzik 8e4651f917 terra: 2016-06-09 -> 1.0.0-beta1 2018-12-21 22:57:16 +11:00
Tuomas Tynkkynen 1ed1ed210a terra: Broken on i686 (and Darwin)
Never built successfully:

http://hydra.nixos.org/build/39402139
http://hydra.nixos.org/build/39393534
2016-09-03 03:24:25 +03:00
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Joachim Fasting 01804364d2
terra: set meta.platforms
Upstream claims MacOS, Linux, and Windows as supported platforms; set to unix
for now.
2016-06-23 23:28:19 +02:00
Joachim Fasting cd96d0c7d7
terra: specify tool paths via Makefile.inc
Judging by the build output, which doesn't find what it's looking for
anyway.
2016-06-23 01:31:23 +02:00
Joachim Fasting 9983937d1a
terra: apply PaX markings
For grsecurity support
2016-06-23 01:31:13 +02:00
William Casarin a34ec65659 terra: 2016-01-06 -> 2016-06-09
* llvmPackages_35 -> llvmPackages_38
* static llvm no longer needed
* multiple outputs, this generates the following results:
    - out/lib/terra.so
    - bin/bin/terra
    - dev/include/terra/*.h
    - static/lib/libterra.a

Contributed with help from @joachifm
2016-06-16 20:02:49 -07:00
William Casarin e66965fdee terra: init at git-2016-01-06 2016-01-17 17:30:01 -08:00