Commit Graph

44 Commits

Author SHA1 Message Date
Alexandre Esteves
1754ed842e ispc: 1.25.0 -> 1.25.3 2024-11-08 20:26:05 +00:00
alexfmpe
8e8f317319
ispc: 1.24.0 -> 1.25.0 (#350090) 2024-11-08 20:20:05 +00:00
Randy Eckenrode
2fefc70f9c
ispc: drop impure Xcode dependency
The new Darwin SDK pattern allows ispc to be built without requiring an
impure Xcode.
2024-10-26 20:27:29 -04:00
Troels Henriksen
7e38e7d4a9 ispc: 1.24.0 -> 1.25.0 2024-10-20 22:06:52 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alexandre Esteves
3c2a750980 ispc: 1.23.0 -> 1.24.0 2024-05-27 17:31:56 +01:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
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
Nikolay Korotkiy
361c543f9e
ispc: remove -DLLVM_DIS_EXECUTABLE flag 2024-02-18 01:17:45 +04:00
R. Ryantm
802dd1af56 ispc: 1.22.0 -> 1.23.0 2024-02-16 16:07:52 +00:00
R. Ryantm
e8354f6519 ispc: 1.21.1 -> 1.22.0 2023-11-19 04:23:25 +00:00
R. Ryantm
bbdfe21e6b ispc: 1.21.0 -> 1.21.1 2023-10-12 13:45:21 +00:00
Alexandre Esteves
46c7997f40 ispc: 1.20.0 -> 1.21.0 2023-08-29 17:40:31 +01:00
Alexandre Esteves
bda4a66686 ispc: 1.19.0 -> 1.20.0 2023-08-29 01:38:22 +01:00
Alexandre Esteves
56c79e60ce ispc: 1.18.1 -> 1.19.0 2023-07-17 20:44:34 +01:00
Alexandre Esteves
cfe665eb26 ispc: fix darwin 2023-06-16 19:00:55 +01:00
Philip Munksgaard
7b0c8a8318
ispc: Add aarch64-linux and aarch64-darwin platforms
According to https://ispc.github.io/ispc.html#selecting-the-compilation-target,
aarch64 is supported.
2023-01-03 09:35:25 +01:00
R. Ryantm
0d9e314d08 ispc: 1.18.0 -> 1.18.1 2022-10-25 17:21:06 +00:00
Troels Henriksen
9332a7c99c ispc: unstable-2021-04-02 -> 1.18.0, (co-)maintain 2022-06-02 15:01:26 +02:00
Jonathan Ringer
981170a368 ispc: fix llvm build 2021-05-08 18:13:45 -07:00
Justin Humm
92e64428d1 ispc: 1.13.0 -> unstable-2021-04-02 2021-04-03 19:44:36 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Austin Seipp
8d1a524c22 ispc: 1.10.0 -> 1.13.0, cleanup, (co)maintain
This includes several enhancements in the underlying compiler, including
codegen improvements for AVX-512, Ice Lake CPU definitions,
cross-{arch,os} compilation (currently unsupported due to multilib
issues), and more.

This also bumps the LLVM backend to the 10.0 release. Note that ispc
itself requires a few extra stability patches on top of 10.0 for AVX-512
support, but these aren't applied for us. Therefore AVX-512 still has
some extra, rough edges.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-04-24 12:08:43 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Troels Henriksen
170eefbbb0 ispc: use cmake for building.
The Makefile approach is gone in newer versions of ispc.
2020-02-10 08:30:41 -08:00
Mario Rodas
b60853cdca
ispc: only check on Linux
The test suite tries to execute `transcendentals` tests, which is not
expected to work anywhere except Linux.
2019-11-03 16:20:00 -05:00
Troels Henriksen
5ddd4dbb12 ispc: add x86_64-darwin to platforms. 2019-10-09 12:16:55 +02:00
Troels Henriksen
12f03a0776 ispc: do not test on the "host" target
This is because some very sensitive tests may fail when using more
exotic platforms and vector instructions.  For example, floating point
summation (which is not associative in the first place), or
transcendental functions.  Arguably, ispc's test suite is too
sensitive here.
2019-10-02 19:43:20 +02: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
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
1506f0f8cd ispc: 1.9.2 -> 1.10.0 2019-01-20 02:00:17 -06:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
72b897ba75 ispc: patch w/upstream commit to fix w/llvm 6 2018-07-05 07:22:53 -05:00
John Ericson
07d73c4ab0 clangSelf, clangWrapSelf, llvmPackagesSelf: Remove this unused thing
It's old old LLVM built with new LLVM. How useless.
2018-05-23 00:27:30 -04:00
Guillaume Bouchard
156b8029f2 ispc: 20170807 -> 1.9.2
Version bump, fixes #29979
2018-01-15 12:25:03 +01:00
Aristid Breitkreuz
3dea197273 ispc: use newer version and LLVM 4.0 due to bug in clang++ 3.9 wrapper (see #29204) 2017-09-10 15:43:59 +02:00
Franz Pletz
6f0ef6bb32
ispc: build with current flex 2017-07-29 19:51:16 +02:00
Robin Gloster
dbbdccdd65
ispc: fix build 2017-03-13 12:07:48 +01:00
Aristid Breitkreuz
7e273d9209 ispc: attempt to make build more robust and hydra-compatible 2016-09-12 22:45:47 +02:00
Aristid Breitkreuz
2f33b06119 ispc: extend test suite 2016-09-04 17:03:49 +02:00
Aristid Breitkreuz
f4443bb9ef ispc: detect test failures, restrict platforms 2016-09-04 15:56:22 +02:00
Aristid Breitkreuz
c4b0d80cba ispc: 20151128 -> 1.9.1, fix build 2016-09-04 14:08:40 +02:00
Pascal Wittmann
311ddcbd7a ispc: fix build 2016-03-24 20:54:59 +01:00
Aristid Breitkreuz
1742774df8 ispc: init at <GH master>
Intel SPMD Program Compiler

An open-source compiler for high-performance SIMD programming on the CPU

https://ispc.github.io/
2015-11-29 00:21:13 +01:00