Skip to content

Commit 28d2eb3

Browse files
Fixup wrapper generation. (#754)
1 parent 32fe32e commit 28d2eb3

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

res/wrap/Project.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[deps]
22
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
3-
Clang_jll = "0ee61d77-7f21-5576-8119-9fcc46b10100"
3+
Clang_unified_jll = "ffc816e1-ba66-5fa9-9ecc-bcc5cb19bea1"
44
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"
55
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
66
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
77
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
88
Runic = "62bfec6d-59d7-401d-8490-b29ee721c001"
99
Tokenize = "0796e94c-ce3b-5d07-9a54-7f471281c624"
10+
11+
[compat]
12+
Clang = "0.19.3"

res/wrap/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Automated wrapper generation
22

3-
This directory contains scripts to generate Julia wrappers for Metal and MetalPerformanceShaders.
3+
This directory contains scripts to generate Julia wrappers for
4+
the Metal, Metal Performance Shaders, and Metal Performance Shaders Graph
5+
frameworks.
46

57
Objective-C methods are not yet supported.
68

7-
The scripts are meant to be run from this directory, and at the moment, [this Clang.jl branch](https://github.com/christiangnrd/Clang.jl/tree/objectiveC2) must be used.
9+
The scripts are meant to be run from this directory.
810

911
--------
1012

res/wrap/wrap.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Not necessary, but removes some errors that don't seem to affect the output
2-
using Clang_jll
3-
Clang_jll.libclang = "/Applications/Xcode.app/Contents/Frameworks/libclang.dylib"
2+
using Clang_unified_jll
3+
Clang_unified_jll.libclang = "/Applications/Xcode.app/Contents/Frameworks/libclang.dylib"
44

55
using Clang.Generators
66
using Clang

0 commit comments

Comments
 (0)