Commit graph

24 commits

Author SHA1 Message Date
Adam Joseph c984d48816 spirv-llvm-translator: disable-warnings-if-gcc13 2023-12-07 09:11:37 +00:00
Alyssa Ross a9fd593f39
Revert "spirv-llvm-translator: move spirv-tools to nativeBuildInputs"
This reverts commit 69a71a0ec2.

Previously, the only use for spirv-tools was its commands being used
to run tests, but now, spirv-llvm-translator also links against its
libraries.  Tests won't be run when cross compiling to a
non-compatible architecture anyway, so to keep spirv-llvm-translator
cross compiling, we should move spirv-tools back to being a build
input so that the libraries can be found.  We could try to convince
CMake to use SPIRV-Tools.cmake from the host spirv-tools and
SPIRV-Tools-tools.cmake from the build spirv-tools, but since we never
actually need both when cross compiling it's not worth it.

This fixes the cross build LLVM/SPIRV-LLVM-Translator 16.
2023-11-02 23:54:40 +01:00
Madoura ccdfcd324e
spirv-llvm-translator: Add 17.0.0 release 2023-10-09 16:38:48 -05:00
Randy Eckenrode 238571b21b
llvm-spirv-translator: fix build on Darwin 2023-09-02 21:49:35 -04:00
Randy Eckenrode b8e4cb4044
llvm-spirv-translator: add llvm 16 variant 2023-09-02 21:49:35 -04:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Madoura 8be466f744
spirv-llvm-translator: allow rocm versioning 2022-12-18 12:39:56 -06:00
Sandro Jäckel 8d2372e44a spirv-llvm-translator: bump to intel-graphics-compiler recommended version 2022-12-05 23:00:14 +01:00
Sandro Jäckel 2669b04d02 spirv-llvm-translator: update llvm 11 variant to recommend version from intel-graphic-compiler version 1.0.12260.1, reduce platform to unix 2022-11-29 01:07:22 +01:00
PedroHLC ☭ 40ee116f25
spirv-llvm-translator_14: init at 14.0.0 2022-10-22 11:46:23 -03:00
PedroHLC ☭ ea2ca5e639
spirv-llvm-translator: version depends on llvm version 2022-10-22 11:44:23 -03:00
Artturin 83b4764dc3 treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
f7414e2b3a
2022-07-12 18:25:19 +03:00
Christian Albrecht 9d8bbb544b
spirv-llvm-translator: fix duplicate makeFlags merge
See
https://github.com/NixOS/nixpkgs/pull/171656#issuecomment-1119263828

there was a conflict with #162603 and a GitHub Action did a bad merge in 4cab9ae#diff-1aeab0da45b3afb6688d321042021a2ebad96758fc495d92aaadb50cc9aa22c7R28, adding a second makeFlags and breaking the build.
2022-05-06 10:30:03 +02:00
github-actions[bot] 4c4d0d6bc3
Merge staging-next into staging 2022-05-06 06:02:20 +00:00
github-actions[bot] 4cab9aed76
Merge staging-next into staging 2022-05-06 00:02:53 +00:00
Bernardo Meurer 37c0bfd127
spirv-llvm-translator: remove prePatch since we don't run tests 2022-05-05 15:26:20 -07:00
Bernardo Meurer 69a71a0ec2
spirv-llvm-translator: move spirv-tools to nativeBuildInputs 2022-05-05 15:22:25 -07:00
rowanG077 5966baddb7 spirv-llvm-translator: 2021-06-13 -> 2022-05-04 2022-05-05 14:42:44 +02:00
Jordan Justen 266b01d1d4
SPIRV-LLVM-Translator: Build and install llvm-spirv tool
This will make ${self.spirv-llvm-translator}/bin/llvm-spirv available.

As of llvmorg-12.0.0, libclc can now build SPIR-V based libraries, but
requires the llvm-spirv build tool for this.

Ref: https://github.com/llvm/llvm-project/blob/llvmorg-12.0.0/libclc/CMakeLists.txt#L98
Signed-off-by: Jordan Justen <jljusten@gmail.com>
2022-04-19 01:38:14 -07:00
rowanG077 6554f1bd60 spirv-llvm-translator: 8.0.1-2 -> 2021-06-13 2021-10-23 22:24:06 +02:00
Jonathan Ringer fbedc3d54c spirv-llvm-translator: fix llvm build 2021-05-08 18:13:45 -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
Craig Hall 84441d7766 spirv-llvm-translator: init at 8.0.1-2 2019-09-01 16:53:28 +01:00