Skip to content

Commit fc7b453

Browse files
committed
tree_sitter_php_jll build 0.16.2+0
1 parent 75133ec commit fc7b453

31 files changed

+1598
-0
lines changed

Artifacts.toml

Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
[[tree_sitter_php]]
2+
arch = "aarch64"
3+
cxxstring_abi = "cxx03"
4+
git-tree-sha1 = "09b51e5a8a670604f2acae5d4f323726ddf24069"
5+
libc = "glibc"
6+
os = "linux"
7+
8+
[[tree_sitter_php.download]]
9+
sha256 = "bf109372f5227b0aef28b0817897230ada427badb32ca24c09a3df6108d8ace1"
10+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.aarch64-linux-gnu-cxx03.tar.gz"
11+
[[tree_sitter_php]]
12+
arch = "aarch64"
13+
cxxstring_abi = "cxx11"
14+
git-tree-sha1 = "946a3b754de44ff7bf7e7ef60cfb91f9e1ddf0ac"
15+
libc = "glibc"
16+
os = "linux"
17+
18+
[[tree_sitter_php.download]]
19+
sha256 = "456b327f130f7ca6d74d1bfe89a5b7965d0b8f185aa031272f50ad236a1f3cdd"
20+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.aarch64-linux-gnu-cxx11.tar.gz"
21+
[[tree_sitter_php]]
22+
arch = "aarch64"
23+
cxxstring_abi = "cxx03"
24+
git-tree-sha1 = "aab94611f679a07cc9eacba97b01927eb83f0715"
25+
libc = "musl"
26+
os = "linux"
27+
28+
[[tree_sitter_php.download]]
29+
sha256 = "3d1a0502f4570b94ec760a8195c280275e2d3284d135f439603f0b34a2888fae"
30+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.aarch64-linux-musl-cxx03.tar.gz"
31+
[[tree_sitter_php]]
32+
arch = "aarch64"
33+
cxxstring_abi = "cxx11"
34+
git-tree-sha1 = "d778329cde4dfb485080d14a46fb03b29798523f"
35+
libc = "musl"
36+
os = "linux"
37+
38+
[[tree_sitter_php.download]]
39+
sha256 = "d566227591c6bb0aa9be12fdc0cbe86a53deab8aa6e3d47bc608ea84d875bdca"
40+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.aarch64-linux-musl-cxx11.tar.gz"
41+
[[tree_sitter_php]]
42+
arch = "armv7l"
43+
cxxstring_abi = "cxx03"
44+
git-tree-sha1 = "02c1ec468553d930157d66d9a9cefa83626cd054"
45+
libc = "glibc"
46+
os = "linux"
47+
48+
[[tree_sitter_php.download]]
49+
sha256 = "f841e37389717d84d38870cf7e0481045485bdfde2826043f0f2ec9933dded96"
50+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.armv7l-linux-gnueabihf-cxx03.tar.gz"
51+
[[tree_sitter_php]]
52+
arch = "armv7l"
53+
cxxstring_abi = "cxx11"
54+
git-tree-sha1 = "00f2002e41b72fd0d3762f70e7b30bb2eff0d118"
55+
libc = "glibc"
56+
os = "linux"
57+
58+
[[tree_sitter_php.download]]
59+
sha256 = "96f682fb0186e6d3dbb80375d8acf1b071b7d2a388a8ec3ad75e7c2b2e8a9ed9"
60+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.armv7l-linux-gnueabihf-cxx11.tar.gz"
61+
[[tree_sitter_php]]
62+
arch = "armv7l"
63+
cxxstring_abi = "cxx03"
64+
git-tree-sha1 = "24e4b4509e52bfd4a6aedb2a21522121435360bb"
65+
libc = "musl"
66+
os = "linux"
67+
68+
[[tree_sitter_php.download]]
69+
sha256 = "afbfc4abaacf6f707518ed03e72f42379e2be05be652e6849227de5bbdd5f71c"
70+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.armv7l-linux-musleabihf-cxx03.tar.gz"
71+
[[tree_sitter_php]]
72+
arch = "armv7l"
73+
cxxstring_abi = "cxx11"
74+
git-tree-sha1 = "f71ec5c0136d0aaf768251e7c78328161ed8e94d"
75+
libc = "musl"
76+
os = "linux"
77+
78+
[[tree_sitter_php.download]]
79+
sha256 = "c9e35a4358f205428804c65698687ef6aa3fab5b78731f9ae7f5c665586f774c"
80+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.armv7l-linux-musleabihf-cxx11.tar.gz"
81+
[[tree_sitter_php]]
82+
arch = "i686"
83+
cxxstring_abi = "cxx03"
84+
git-tree-sha1 = "ecc16ac6ec0f0f7eba9b844f91d3edfaca8cae6d"
85+
libc = "glibc"
86+
os = "linux"
87+
88+
[[tree_sitter_php.download]]
89+
sha256 = "5fa4bf0480326d027d14f62c27c8ede5d95154fc0266da84c3b4bc08437c90a5"
90+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-linux-gnu-cxx03.tar.gz"
91+
[[tree_sitter_php]]
92+
arch = "i686"
93+
cxxstring_abi = "cxx11"
94+
git-tree-sha1 = "b8e91c048df487597faf21480396ffefddf498e1"
95+
libc = "glibc"
96+
os = "linux"
97+
98+
[[tree_sitter_php.download]]
99+
sha256 = "d82206186605bd92e9edb484b6144e27310099ec16872d2dabe391eb0c94ab11"
100+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-linux-gnu-cxx11.tar.gz"
101+
[[tree_sitter_php]]
102+
arch = "i686"
103+
cxxstring_abi = "cxx03"
104+
git-tree-sha1 = "58ccb093177ce851add8195082ec89e78e870aa6"
105+
libc = "musl"
106+
os = "linux"
107+
108+
[[tree_sitter_php.download]]
109+
sha256 = "b55529ba17b2d9dbfd13ae69cce940e04c7474e2a8228d30f92785d087b5815a"
110+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-linux-musl-cxx03.tar.gz"
111+
[[tree_sitter_php]]
112+
arch = "i686"
113+
cxxstring_abi = "cxx11"
114+
git-tree-sha1 = "35c733a6c3399aa92c5d501dd1faffcb6a1354b2"
115+
libc = "musl"
116+
os = "linux"
117+
118+
[[tree_sitter_php.download]]
119+
sha256 = "e2e15ff5f76df9e30df760edeb3e8239fcde7b36f45ae92fd06b6db800689241"
120+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-linux-musl-cxx11.tar.gz"
121+
[[tree_sitter_php]]
122+
arch = "i686"
123+
cxxstring_abi = "cxx03"
124+
git-tree-sha1 = "b66d8666e57dd0e8b4708fc78701ed4182f04f67"
125+
os = "windows"
126+
127+
[[tree_sitter_php.download]]
128+
sha256 = "7167befb26f7a7034170e7a049a3338fdb82dcbe56ee2b72c1440777e440b1da"
129+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-w64-mingw32-cxx03.tar.gz"
130+
[[tree_sitter_php]]
131+
arch = "i686"
132+
cxxstring_abi = "cxx11"
133+
git-tree-sha1 = "0c7931b04927c0310bfe260af100fb5c04b61911"
134+
os = "windows"
135+
136+
[[tree_sitter_php.download]]
137+
sha256 = "d7767ce08f1587d54d1994073374370ecd8127462bdd74a2bcad85954999d70d"
138+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.i686-w64-mingw32-cxx11.tar.gz"
139+
[[tree_sitter_php]]
140+
arch = "powerpc64le"
141+
cxxstring_abi = "cxx03"
142+
git-tree-sha1 = "a290d6236fe9a4340179106f584ecf36372471ad"
143+
libc = "glibc"
144+
os = "linux"
145+
146+
[[tree_sitter_php.download]]
147+
sha256 = "60dfd8476adcfc7bbc05a799e5e5fced9a6e3fa06e9f762cfb212194e0ab990e"
148+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.powerpc64le-linux-gnu-cxx03.tar.gz"
149+
[[tree_sitter_php]]
150+
arch = "powerpc64le"
151+
cxxstring_abi = "cxx11"
152+
git-tree-sha1 = "f267d1411dbe1d667c564e25ffaadf1fafafd7b9"
153+
libc = "glibc"
154+
os = "linux"
155+
156+
[[tree_sitter_php.download]]
157+
sha256 = "5e44ea0405b5d247f6aa9db3dfc90a9b36d9d203cc835006523403cde21e2a4c"
158+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.powerpc64le-linux-gnu-cxx11.tar.gz"
159+
[[tree_sitter_php]]
160+
arch = "x86_64"
161+
cxxstring_abi = "cxx03"
162+
git-tree-sha1 = "1f2cd197d50dc61da20427af6e90f2e5893202df"
163+
os = "macos"
164+
165+
[[tree_sitter_php.download]]
166+
sha256 = "f94816d78f90f4c9e1a14eee9f5434ec2194fbc9287404c0f63e394b0caa39b9"
167+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-apple-darwin14-cxx03.tar.gz"
168+
[[tree_sitter_php]]
169+
arch = "x86_64"
170+
cxxstring_abi = "cxx11"
171+
git-tree-sha1 = "3b1d968ca1d2d46eafbccd8c9506ea33ba86e912"
172+
os = "macos"
173+
174+
[[tree_sitter_php.download]]
175+
sha256 = "4874bd2f40b31e0b52dab94aff7e3e10d16600b1cd49da1a817d872e4dd33b86"
176+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-apple-darwin14-cxx11.tar.gz"
177+
[[tree_sitter_php]]
178+
arch = "x86_64"
179+
cxxstring_abi = "cxx03"
180+
git-tree-sha1 = "bc7161a4b5af271875f0e19e976d3aa1235b15e6"
181+
libc = "glibc"
182+
os = "linux"
183+
184+
[[tree_sitter_php.download]]
185+
sha256 = "1c0325e83b4f416ff9077c2abcc6745bef804a9cae25f7c10223133d2d46e7fe"
186+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-linux-gnu-cxx03.tar.gz"
187+
[[tree_sitter_php]]
188+
arch = "x86_64"
189+
cxxstring_abi = "cxx11"
190+
git-tree-sha1 = "6a5e3f217886771770f173b70a1e8e9ae965438c"
191+
libc = "glibc"
192+
os = "linux"
193+
194+
[[tree_sitter_php.download]]
195+
sha256 = "599584bb917648a4fb4dfb118f34b142d7b7c04cf2d433edb46418906b9c0b96"
196+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-linux-gnu-cxx11.tar.gz"
197+
[[tree_sitter_php]]
198+
arch = "x86_64"
199+
cxxstring_abi = "cxx03"
200+
git-tree-sha1 = "66801bf50efd0c19a91ae89b3a97900f36d0a6f9"
201+
libc = "musl"
202+
os = "linux"
203+
204+
[[tree_sitter_php.download]]
205+
sha256 = "09ee6e6fed6fb2e61ba4240324adf65006fde4ca9888ce962e9a4a564a735e9d"
206+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-linux-musl-cxx03.tar.gz"
207+
[[tree_sitter_php]]
208+
arch = "x86_64"
209+
cxxstring_abi = "cxx11"
210+
git-tree-sha1 = "1042cb66a19392ddc20a0a5c8e73be0b6cd86533"
211+
libc = "musl"
212+
os = "linux"
213+
214+
[[tree_sitter_php.download]]
215+
sha256 = "d566c40a59844501ac709f8e3f3876fd811d0faa45f67740cfff8d9d686f1ce2"
216+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-linux-musl-cxx11.tar.gz"
217+
[[tree_sitter_php]]
218+
arch = "x86_64"
219+
cxxstring_abi = "cxx03"
220+
git-tree-sha1 = "d42d473d09999f6215251c131f50cdbc30a1936a"
221+
os = "freebsd"
222+
223+
[[tree_sitter_php.download]]
224+
sha256 = "f80c9a6442d07bc0f41395f3908c5704da95576c5436254338c6c848fbee0426"
225+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-unknown-freebsd11.1-cxx03.tar.gz"
226+
[[tree_sitter_php]]
227+
arch = "x86_64"
228+
cxxstring_abi = "cxx11"
229+
git-tree-sha1 = "f9f51c8aba1d74c830a620029160504dd3026af1"
230+
os = "freebsd"
231+
232+
[[tree_sitter_php.download]]
233+
sha256 = "e5d1da42f52ba884604df7ff45dfab818e524a596c76e0e7a5ac381ff5759927"
234+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-unknown-freebsd11.1-cxx11.tar.gz"
235+
[[tree_sitter_php]]
236+
arch = "x86_64"
237+
cxxstring_abi = "cxx03"
238+
git-tree-sha1 = "93ce1d8117ae1245e8474a0634ad8bbc9d38b8f3"
239+
os = "windows"
240+
241+
[[tree_sitter_php.download]]
242+
sha256 = "4f4ed31bff1dfeec89be14618293bc56e380cb398d6f63836352dc3e1b70863e"
243+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-w64-mingw32-cxx03.tar.gz"
244+
[[tree_sitter_php]]
245+
arch = "x86_64"
246+
cxxstring_abi = "cxx11"
247+
git-tree-sha1 = "71ce24ca2aec0ad6d7b0e2dc63fa1f1a8616add1"
248+
os = "windows"
249+
250+
[[tree_sitter_php.download]]
251+
sha256 = "1add0c0bf2362a575d872bddc52a1d67486d88e636a984368a80e1a850af25cd"
252+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_php_jll.jl/releases/download/tree_sitter_php-v0.16.2+0/tree_sitter_php.v0.16.2.x86_64-w64-mingw32-cxx11.tar.gz"

LICENSE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
The Julia source code within this repository (all files under `src/`) are
2+
released under the terms of the MIT "Expat" License, the text of which is
3+
included below. This license does not apply to the binary package wrapped by
4+
this Julia package and automatically downloaded by the Julia package manager
5+
upon installing this wrapper package. The binary package's license is shipped
6+
alongside the binary itself and can be found within the
7+
`share/licenses/tree_sitter_php` directory within its prefix.
8+
19
MIT License
210

311
Copyright (c) 2020 JuliaBinaryWrappers

Project.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name = "tree_sitter_php_jll"
2+
uuid = "1d2f066d-44b9-5d42-b96c-230d176e2df5"
3+
version = "0.16.2+0"
4+
5+
[deps]
6+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
7+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
8+
9+
[compat]
10+
julia = "1.0"

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# `tree_sitter_php_jll.jl` (v0.16.2+0)
2+
3+
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/feddfc2f3c4d7c008e0dfc9a27073f15a29a3fe9/T/tree_sitter_php/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree.
4+
5+
For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/).
6+
7+
## Sources
8+
9+
The tarballs for `tree_sitter_php_jll.jl` have been built from these sources:
10+
11+
* compressed archive: https://github.com/tree-sitter/tree-sitter-php/archive/v0.16.2.tar.gz (SHA256 checksum: `0cb8882348528ae4b86e6673f00fa6725439bb08d8c6d7896dd6a888a58d1c03`)
12+
* files in directory, relative to originating `build_tarballs.jl`: [`./bundled`](https://github.com/JuliaPackaging/Yggdrasil/tree/feddfc2f3c4d7c008e0dfc9a27073f15a29a3fe9/T/tree_sitter_php/bundled)
13+
14+
## Platforms
15+
16+
`tree_sitter_php_jll.jl` is available for the following platforms:
17+
18+
* `Linux(:aarch64, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`aarch64-linux-gnu-cxx03`)
19+
* `Linux(:aarch64, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`aarch64-linux-gnu-cxx11`)
20+
* `Linux(:aarch64, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`aarch64-linux-musl-cxx03`)
21+
* `Linux(:aarch64, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`aarch64-linux-musl-cxx11`)
22+
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`armv7l-linux-gnueabihf-cxx03`)
23+
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`armv7l-linux-gnueabihf-cxx11`)
24+
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`armv7l-linux-musleabihf-cxx03`)
25+
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`armv7l-linux-musleabihf-cxx11`)
26+
* `Linux(:i686, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`i686-linux-gnu-cxx03`)
27+
* `Linux(:i686, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`i686-linux-gnu-cxx11`)
28+
* `Linux(:i686, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`i686-linux-musl-cxx03`)
29+
* `Linux(:i686, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`i686-linux-musl-cxx11`)
30+
* `Windows(:i686, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`i686-w64-mingw32-cxx03`)
31+
* `Windows(:i686, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`i686-w64-mingw32-cxx11`)
32+
* `Linux(:powerpc64le, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`powerpc64le-linux-gnu-cxx03`)
33+
* `Linux(:powerpc64le, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`powerpc64le-linux-gnu-cxx11`)
34+
* `MacOS(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`x86_64-apple-darwin14-cxx03`)
35+
* `MacOS(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`x86_64-apple-darwin14-cxx11`)
36+
* `Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`x86_64-linux-gnu-cxx03`)
37+
* `Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`x86_64-linux-gnu-cxx11`)
38+
* `Linux(:x86_64, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`x86_64-linux-musl-cxx03`)
39+
* `Linux(:x86_64, libc=:musl, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`x86_64-linux-musl-cxx11`)
40+
* `FreeBSD(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`x86_64-unknown-freebsd11.1-cxx03`)
41+
* `FreeBSD(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`x86_64-unknown-freebsd11.1-cxx11`)
42+
* `Windows(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx03))` (`x86_64-w64-mingw32-cxx03`)
43+
* `Windows(:x86_64, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))` (`x86_64-w64-mingw32-cxx11`)
44+
45+
## Products
46+
47+
The code bindings within this package are autogenerated from the following `Products`:
48+
49+
* `LibraryProduct`: `libtreesitter_php`

src/tree_sitter_php_jll.jl

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
module tree_sitter_php_jll
2+
3+
if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
4+
@eval Base.Experimental.@optlevel 0
5+
end
6+
7+
if VERSION < v"1.3.0-rc4"
8+
# We lie a bit in the registry that JLL packages are usable on Julia 1.0-1.2.
9+
# This is to allow packages that might want to support Julia 1.0 to get the
10+
# benefits of a JLL package on 1.3 (requiring them to declare a dependence on
11+
# this JLL package in their Project.toml) but engage in heroic hacks to do
12+
# something other than actually use a JLL package on 1.0-1.2. By allowing
13+
# this package to be installed (but not loaded) on 1.0-1.2, we enable users
14+
# to avoid splitting their package versions into pre-1.3 and post-1.3 branches
15+
# if they are willing to engage in the kinds of hoop-jumping they might need
16+
# to in order to install binaries in a JLL-compatible way on 1.0-1.2. One
17+
# example of this hoop-jumping being to express a dependency on this JLL
18+
# package, then import it within a `VERSION >= v"1.3"` conditional, and use
19+
# the deprecated `build.jl` mechanism to download the binaries through e.g.
20+
# `BinaryProvider.jl`. This should work well for the simplest packages, and
21+
# require greater and greater heroics for more and more complex packages.
22+
error("Unable to import tree_sitter_php_jll on Julia versions older than 1.3!")
23+
end
24+
25+
using Pkg, Pkg.BinaryPlatforms, Pkg.Artifacts, Libdl
26+
import Base: UUID
27+
28+
# We put these inter-JLL-package API values here so that they are always defined, even if there
29+
# is no underlying wrapper held within this JLL package.
30+
const PATH_list = String[]
31+
const LIBPATH_list = String[]
32+
33+
# Load Artifacts.toml file
34+
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")
35+
36+
# Extract all platforms
37+
artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("1d2f066d-44b9-5d42-b96c-230d176e2df5"))
38+
platforms = [Pkg.Artifacts.unpack_platform(e, "tree_sitter_php", artifacts_toml) for e in artifacts["tree_sitter_php"]]
39+
40+
# Filter platforms based on what wrappers we've generated on-disk
41+
filter!(p -> isfile(joinpath(@__DIR__, "wrappers", replace(triplet(p), "arm-" => "armv7l-") * ".jl")), platforms)
42+
43+
# From the available options, choose the best platform
44+
best_platform = select_platform(Dict(p => triplet(p) for p in platforms))
45+
46+
# Silently fail if there's no binaries for this platform
47+
if best_platform === nothing
48+
@debug("Unable to load tree_sitter_php; unsupported platform $(triplet(platform_key_abi()))")
49+
else
50+
# Load the appropriate wrapper. Note that on older Julia versions, we still
51+
# say "arm-linux-gnueabihf" instead of the more correct "armv7l-linux-gnueabihf",
52+
# so we manually correct for that here:
53+
best_platform = replace(best_platform, "arm-" => "armv7l-")
54+
include(joinpath(@__DIR__, "wrappers", "$(best_platform).jl"))
55+
end
56+
57+
end # module tree_sitter_php_jll

0 commit comments

Comments
 (0)