Skip to content

Commit a645d77

Browse files
committed
tree_sitter_typescript_jll build 0.16.2+0
1 parent 75133ec commit a645d77

18 files changed

+835
-0
lines changed

Artifacts.toml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
[[tree_sitter_typescript]]
2+
arch = "aarch64"
3+
git-tree-sha1 = "48510b2e6cb1bfe97e6c1f0c295a51da9dfd2a27"
4+
libc = "glibc"
5+
os = "linux"
6+
7+
[[tree_sitter_typescript.download]]
8+
sha256 = "8d2b9ddb216e888c1b041debe70da08682f6574a5510fd441d215cd70a5a748f"
9+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.aarch64-linux-gnu.tar.gz"
10+
[[tree_sitter_typescript]]
11+
arch = "aarch64"
12+
git-tree-sha1 = "7d75eafc22de4791ae4dab2eba909aa66f0dcbc2"
13+
libc = "musl"
14+
os = "linux"
15+
16+
[[tree_sitter_typescript.download]]
17+
sha256 = "d9e3f1a54fdc0a11b3cf65309a3866aa9afddb9970b57a5b45019d1540f48554"
18+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.aarch64-linux-musl.tar.gz"
19+
[[tree_sitter_typescript]]
20+
arch = "armv7l"
21+
git-tree-sha1 = "fee6fb12163a591ae801747512d8327863f49e73"
22+
libc = "glibc"
23+
os = "linux"
24+
25+
[[tree_sitter_typescript.download]]
26+
sha256 = "26bfd256daf98862707bc12bac046726cac65c3c1c8b1c4a847f111e8a51059a"
27+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.armv7l-linux-gnueabihf.tar.gz"
28+
[[tree_sitter_typescript]]
29+
arch = "armv7l"
30+
git-tree-sha1 = "ef5e83de5d6319f5465fe88809dc423996630eee"
31+
libc = "musl"
32+
os = "linux"
33+
34+
[[tree_sitter_typescript.download]]
35+
sha256 = "a2e3855c07c0e4b25c2fe36bed7d2f1ea21a9437b80d2942ec65fe7306f22ba1"
36+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.armv7l-linux-musleabihf.tar.gz"
37+
[[tree_sitter_typescript]]
38+
arch = "i686"
39+
git-tree-sha1 = "fad8c782dd8d69971bc296d126479d9ba3f402f6"
40+
libc = "glibc"
41+
os = "linux"
42+
43+
[[tree_sitter_typescript.download]]
44+
sha256 = "814c73456fc8a6a68693aedcffda4c08a4a919497b94faa2048da2fe4b11fb9f"
45+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.i686-linux-gnu.tar.gz"
46+
[[tree_sitter_typescript]]
47+
arch = "i686"
48+
git-tree-sha1 = "c5c5e2d1540b3b0d416efdae4ac5498402b357e7"
49+
libc = "musl"
50+
os = "linux"
51+
52+
[[tree_sitter_typescript.download]]
53+
sha256 = "b2f804e3f438e627aa4ee1ff4d5a752f38022a035028ce97a3c8ba1ad62c2add"
54+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.i686-linux-musl.tar.gz"
55+
[[tree_sitter_typescript]]
56+
arch = "i686"
57+
git-tree-sha1 = "435761d3945c4231c94d905d336a643c6964960e"
58+
os = "windows"
59+
60+
[[tree_sitter_typescript.download]]
61+
sha256 = "cd7ab80bf5359cd36818d9dca24173efa3819a4411eaecaeaeaf4ee48c7b5816"
62+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.i686-w64-mingw32.tar.gz"
63+
[[tree_sitter_typescript]]
64+
arch = "powerpc64le"
65+
git-tree-sha1 = "fbdb96f087ef2b424f45c74511a0c3ecba447fe3"
66+
libc = "glibc"
67+
os = "linux"
68+
69+
[[tree_sitter_typescript.download]]
70+
sha256 = "d117bcf59f0b20e72bfd1c8c65ee0db920e625f9d5657cc99ed995ebbf3740cd"
71+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.powerpc64le-linux-gnu.tar.gz"
72+
[[tree_sitter_typescript]]
73+
arch = "x86_64"
74+
git-tree-sha1 = "7e289b07b1442a3cfc229ead8a80056e7804f9fa"
75+
os = "macos"
76+
77+
[[tree_sitter_typescript.download]]
78+
sha256 = "8ed421365b64d9b902e3dc26244045c654d2873b07befb6248292b8274877db4"
79+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.x86_64-apple-darwin14.tar.gz"
80+
[[tree_sitter_typescript]]
81+
arch = "x86_64"
82+
git-tree-sha1 = "f51affe9ecb52d1d1161dad7e0536bdbd048bf7c"
83+
libc = "glibc"
84+
os = "linux"
85+
86+
[[tree_sitter_typescript.download]]
87+
sha256 = "a88657b465c5dc474d982ffee1c181a7cbbc242e9e4fa60b10ff88f01d55fa3f"
88+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.x86_64-linux-gnu.tar.gz"
89+
[[tree_sitter_typescript]]
90+
arch = "x86_64"
91+
git-tree-sha1 = "e5e6129d91f82484d052594fb7f875ec63bc4034"
92+
libc = "musl"
93+
os = "linux"
94+
95+
[[tree_sitter_typescript.download]]
96+
sha256 = "ce654b5c87da86d64863c1813ba07ef563adf61bc78c52ca9901b2c89c402e4e"
97+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.x86_64-linux-musl.tar.gz"
98+
[[tree_sitter_typescript]]
99+
arch = "x86_64"
100+
git-tree-sha1 = "6e8e83ae773d8040d5e847e0847cbc7e031b5b8c"
101+
os = "freebsd"
102+
103+
[[tree_sitter_typescript.download]]
104+
sha256 = "6146a6b194c94908a2ab83a4b4a34552ad5cc7bd79b36eebd254499ec31c1b2e"
105+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.x86_64-unknown-freebsd11.1.tar.gz"
106+
[[tree_sitter_typescript]]
107+
arch = "x86_64"
108+
git-tree-sha1 = "819519806644be300be95087de2bcfafc5770a4b"
109+
os = "windows"
110+
111+
[[tree_sitter_typescript.download]]
112+
sha256 = "74a1127d971f7d062379fd098e27f65271040f084d07555ebf4c9dc348b55850"
113+
url = "https://github.com/JuliaBinaryWrappers/tree_sitter_typescript_jll.jl/releases/download/tree_sitter_typescript-v0.16.2+0/tree_sitter_typescript.v0.16.2.x86_64-w64-mingw32.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_typescript` 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_typescript_jll"
2+
uuid = "dfa7e5a0-2128-5201-bc87-2ee6cd674210"
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: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# `tree_sitter_typescript_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_typescript/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_typescript_jll.jl` have been built from these sources:
10+
11+
* compressed archive: https://github.com/tree-sitter/tree-sitter-typescript/archive/v0.16.2.tar.gz (SHA256 checksum: `3e1fc16daab965f21dc56a919b32a730e889ea2ba1330af5edc5950f4e6b18b6`)
12+
* files in directory, relative to originating `build_tarballs.jl`: [`./bundled`](https://github.com/JuliaPackaging/Yggdrasil/tree/feddfc2f3c4d7c008e0dfc9a27073f15a29a3fe9/T/tree_sitter_typescript/bundled)
13+
14+
## Platforms
15+
16+
`tree_sitter_typescript_jll.jl` is available for the following platforms:
17+
18+
* `Linux(:aarch64, libc=:glibc)` (`aarch64-linux-gnu`)
19+
* `Linux(:aarch64, libc=:musl)` (`aarch64-linux-musl`)
20+
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf)` (`armv7l-linux-gnueabihf`)
21+
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf)` (`armv7l-linux-musleabihf`)
22+
* `Linux(:i686, libc=:glibc)` (`i686-linux-gnu`)
23+
* `Linux(:i686, libc=:musl)` (`i686-linux-musl`)
24+
* `Windows(:i686)` (`i686-w64-mingw32`)
25+
* `Linux(:powerpc64le, libc=:glibc)` (`powerpc64le-linux-gnu`)
26+
* `MacOS(:x86_64)` (`x86_64-apple-darwin14`)
27+
* `Linux(:x86_64, libc=:glibc)` (`x86_64-linux-gnu`)
28+
* `Linux(:x86_64, libc=:musl)` (`x86_64-linux-musl`)
29+
* `FreeBSD(:x86_64)` (`x86_64-unknown-freebsd11.1`)
30+
* `Windows(:x86_64)` (`x86_64-w64-mingw32`)
31+
32+
## Products
33+
34+
The code bindings within this package are autogenerated from the following `Products`:
35+
36+
* `LibraryProduct`: `libtreesitter_typescript`

src/tree_sitter_typescript_jll.jl

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
module tree_sitter_typescript_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_typescript_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("dfa7e5a0-2128-5201-bc87-2ee6cd674210"))
38+
platforms = [Pkg.Artifacts.unpack_platform(e, "tree_sitter_typescript", artifacts_toml) for e in artifacts["tree_sitter_typescript"]]
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_typescript; 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_typescript_jll

src/wrappers/aarch64-linux-gnu.jl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Autogenerated wrapper script for tree_sitter_typescript_jll for aarch64-linux-gnu
2+
export libtreesitter_typescript
3+
4+
## Global variables
5+
PATH = ""
6+
LIBPATH = ""
7+
LIBPATH_env = "LD_LIBRARY_PATH"
8+
LIBPATH_default = ""
9+
10+
# Relative path to `libtreesitter_typescript`
11+
const libtreesitter_typescript_splitpath = ["lib", "libtreesitter_typescript.so"]
12+
13+
# This will be filled out by __init__() for all products, as it must be done at runtime
14+
libtreesitter_typescript_path = ""
15+
16+
# libtreesitter_typescript-specific global declaration
17+
# This will be filled out by __init__()
18+
libtreesitter_typescript_handle = C_NULL
19+
20+
# This must be `const` so that we can use it with `ccall()`
21+
const libtreesitter_typescript = "libtreesitter_typescript.so"
22+
23+
24+
"""
25+
Open all libraries
26+
"""
27+
function __init__()
28+
global artifact_dir = abspath(artifact"tree_sitter_typescript")
29+
30+
# Initialize PATH and LIBPATH environment variable listings
31+
global PATH_list, LIBPATH_list
32+
global libtreesitter_typescript_path = normpath(joinpath(artifact_dir, libtreesitter_typescript_splitpath...))
33+
34+
# Manually `dlopen()` this right now so that future invocations
35+
# of `ccall` with its `SONAME` will find this path immediately.
36+
global libtreesitter_typescript_handle = dlopen(libtreesitter_typescript_path)
37+
push!(LIBPATH_list, dirname(libtreesitter_typescript_path))
38+
39+
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
40+
filter!(!isempty, unique!(PATH_list))
41+
filter!(!isempty, unique!(LIBPATH_list))
42+
global PATH = join(PATH_list, ':')
43+
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')
44+
45+
46+
end # __init__()
47+

src/wrappers/aarch64-linux-musl.jl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Autogenerated wrapper script for tree_sitter_typescript_jll for aarch64-linux-musl
2+
export libtreesitter_typescript
3+
4+
## Global variables
5+
PATH = ""
6+
LIBPATH = ""
7+
LIBPATH_env = "LD_LIBRARY_PATH"
8+
LIBPATH_default = ""
9+
10+
# Relative path to `libtreesitter_typescript`
11+
const libtreesitter_typescript_splitpath = ["lib", "libtreesitter_typescript.so"]
12+
13+
# This will be filled out by __init__() for all products, as it must be done at runtime
14+
libtreesitter_typescript_path = ""
15+
16+
# libtreesitter_typescript-specific global declaration
17+
# This will be filled out by __init__()
18+
libtreesitter_typescript_handle = C_NULL
19+
20+
# This must be `const` so that we can use it with `ccall()`
21+
const libtreesitter_typescript = "libtreesitter_typescript.so"
22+
23+
24+
"""
25+
Open all libraries
26+
"""
27+
function __init__()
28+
global artifact_dir = abspath(artifact"tree_sitter_typescript")
29+
30+
# Initialize PATH and LIBPATH environment variable listings
31+
global PATH_list, LIBPATH_list
32+
global libtreesitter_typescript_path = normpath(joinpath(artifact_dir, libtreesitter_typescript_splitpath...))
33+
34+
# Manually `dlopen()` this right now so that future invocations
35+
# of `ccall` with its `SONAME` will find this path immediately.
36+
global libtreesitter_typescript_handle = dlopen(libtreesitter_typescript_path)
37+
push!(LIBPATH_list, dirname(libtreesitter_typescript_path))
38+
39+
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
40+
filter!(!isempty, unique!(PATH_list))
41+
filter!(!isempty, unique!(LIBPATH_list))
42+
global PATH = join(PATH_list, ':')
43+
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')
44+
45+
46+
end # __init__()
47+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Autogenerated wrapper script for tree_sitter_typescript_jll for armv7l-linux-gnueabihf
2+
export libtreesitter_typescript
3+
4+
## Global variables
5+
PATH = ""
6+
LIBPATH = ""
7+
LIBPATH_env = "LD_LIBRARY_PATH"
8+
LIBPATH_default = ""
9+
10+
# Relative path to `libtreesitter_typescript`
11+
const libtreesitter_typescript_splitpath = ["lib", "libtreesitter_typescript.so"]
12+
13+
# This will be filled out by __init__() for all products, as it must be done at runtime
14+
libtreesitter_typescript_path = ""
15+
16+
# libtreesitter_typescript-specific global declaration
17+
# This will be filled out by __init__()
18+
libtreesitter_typescript_handle = C_NULL
19+
20+
# This must be `const` so that we can use it with `ccall()`
21+
const libtreesitter_typescript = "libtreesitter_typescript.so"
22+
23+
24+
"""
25+
Open all libraries
26+
"""
27+
function __init__()
28+
global artifact_dir = abspath(artifact"tree_sitter_typescript")
29+
30+
# Initialize PATH and LIBPATH environment variable listings
31+
global PATH_list, LIBPATH_list
32+
global libtreesitter_typescript_path = normpath(joinpath(artifact_dir, libtreesitter_typescript_splitpath...))
33+
34+
# Manually `dlopen()` this right now so that future invocations
35+
# of `ccall` with its `SONAME` will find this path immediately.
36+
global libtreesitter_typescript_handle = dlopen(libtreesitter_typescript_path)
37+
push!(LIBPATH_list, dirname(libtreesitter_typescript_path))
38+
39+
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
40+
filter!(!isempty, unique!(PATH_list))
41+
filter!(!isempty, unique!(LIBPATH_list))
42+
global PATH = join(PATH_list, ':')
43+
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')
44+
45+
46+
end # __init__()
47+

0 commit comments

Comments
 (0)