Skip to content

Commit

Permalink
Add support for Julia 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
krrutkow committed Dec 25, 2023
1 parent 38e76e5 commit 9d53ac9
Show file tree
Hide file tree
Showing 4 changed files with 7,514 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- '1.6'
- '1.7'
- '1.8'
- '1.9-nightly'
- 'nightly'
- '1.9'
- '1.10-nightly'
os:
- ubuntu-latest
- macos-latest
Expand All @@ -27,7 +27,7 @@ jobs:
- os: macos-latest
arch: x86
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CBinding"
uuid = "d43a6710-96b8-4a2d-833c-c424785e5374"
authors = ["Keith Rutkowski <[email protected]>"]
version = "1.0.10"
version = "1.0.11"

[deps]
Clang_jll = "0ee61d77-7f21-5576-8119-9fcc46b10100"
Expand All @@ -10,6 +10,6 @@ Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Scratch = "6c6a2e73-6563-6170-7368-637461726353"

[compat]
Clang_jll = "^9, ^11, ^12, ^13, ^14"
Clang_jll = "^9, ^11, ^12, ^13, ^14, ^15"
Scratch = "^1"
julia = "^1.5"
9 changes: 7 additions & 2 deletions deps/generate.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# USAGE:
# 1. install a new version of Julia
# 2. run the new version, install Clang_jll `] add Clang_jll`, and obtain paths `using Clang_jll ; @info String(Clang_jll.libclang_path), String(Base.libllvm_path())`
# 3. using a prior version of Julia with CBinding in development, run `path/to/prior/bin/julia ~/.julia/dev/CBinding/deps/generate.jl path/to/libclang path/to/libllvm`

using CBinding
using Libdl
using Clang_jll
using CBinding.libclang: Clang_jll
using CBinding.Libdl

const LIBCLANG_PATH = get(ARGS, 1, Clang_jll.libclang_path)
const LIBLLVM_PATH = get(ARGS, 2, joinpath(dirname(Base.julia_cmd().exec[1]), Base.LIBDIR, "julia", "libLLVM.so"))
Expand Down
Loading

0 comments on commit 9d53ac9

Please sign in to comment.