Skip to content

Commit 42b109d

Browse files
authored
Merge pull request #304 from JuliaGPU/tb/asserts
Bump LLVM and SPIRV_LLVM_Translator for asserts compat.
2 parents fb6d180 + e2856ee commit 42b109d

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

Manifest.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,19 @@ version = "1.4.1"
3939

4040
[[LLVM]]
4141
deps = ["CEnum", "LLVMExtra_jll", "Libdl", "Printf", "Unicode"]
42-
git-tree-sha1 = "761c362ede582d358026e22d08695231dd25242e"
42+
git-tree-sha1 = "302e6cfb8d83ba7a9658d7d51725620fa9db8702"
4343
uuid = "929cbde3-209d-540e-8aea-75f648917ca0"
44-
version = "4.8.0"
44+
version = "4.9.0"
4545

4646
[[LLVMExtra_jll]]
47-
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
48-
git-tree-sha1 = "67cc5406b15bd04ff72a45f628bec61d36078908"
47+
deps = ["Artifacts", "JLLWrappers", "LazyArtifacts", "Libdl", "Pkg"]
48+
git-tree-sha1 = "5558ad3c8972d602451efe9d81c78ec14ef4f5ef"
4949
uuid = "dad2f222-ce93-54a1-a47d-0025e8a3acab"
50-
version = "0.0.13+3"
50+
version = "0.0.14+2"
51+
52+
[[LazyArtifacts]]
53+
deps = ["Artifacts", "Pkg"]
54+
uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
5155

5256
[[LibCURL]]
5357
deps = ["LibCURL_jll", "MozillaCACerts_jll"]

src/spirv.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# https://github.com/KhronosGroup/LLVM-SPIRV-Backend/blob/master/llvm/docs/SPIR-V-Backend.rst
55
# https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/master/docs/SPIRVRepresentationInLLVM.rst
66

7-
const SPIRV_LLVM_Translator_jll = LazyModule("SPIRV_LLVM_Translator_jll", UUID("4a5d46fc-d8cf-5151-a261-86b458210efb"))
7+
const SPIRV_LLVM_Translator_unified_jll = LazyModule("SPIRV_LLVM_Translator_unified_jll", UUID("85f0d8ed-5b39-5caa-b1ae-7472de402361"))
88
const SPIRV_Tools_jll = LazyModule("SPIRV_Tools_jll", UUID("6ac6d60f-d740-5983-97d7-a4482c0689f4"))
99

1010

@@ -94,7 +94,7 @@ end
9494
input = tempname(cleanup=false) * ".bc"
9595
translated = tempname(cleanup=false) * ".spv"
9696
write(input, mod)
97-
SPIRV_LLVM_Translator_jll.llvm_spirv() do translator
97+
SPIRV_LLVM_Translator_unified_jll.llvm_spirv() do translator
9898
proc = run(ignorestatus(`$translator --spirv-debug-info-version=ocl-100 -o $translated $input`))
9999
if !success(proc)
100100
error("""Failed to translate LLVM code to SPIR-V.

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[deps]
22
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
33
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
4-
SPIRV_LLVM_Translator_jll = "4a5d46fc-d8cf-5151-a261-86b458210efb"
4+
SPIRV_LLVM_Translator_unified_jll = "85f0d8ed-5b39-5caa-b1ae-7472de402361"
55
SPIRV_Tools_jll = "6ac6d60f-d740-5983-97d7-a4482c0689f4"
66
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/spirv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll
1+
using SPIRV_LLVM_Translator_unified_jll, SPIRV_Tools_jll
22

33
@testset "SPIR-V" begin
44

0 commit comments

Comments
 (0)