Skip to content

Commit 4a3d704

Browse files
committed
Move UnsafeAtomicsLLVM to be a package extension
2 parents 934c34d + fb9fda0 commit 4a3d704

File tree

7 files changed

+728
-6
lines changed

7 files changed

+728
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
julia-version:
16-
- '1.6'
17-
- '~1.7.0-beta4'
16+
- '1.10'
17+
- '1.11'
18+
- '~1.12.0-dev'
1819
- 'nightly'
1920
fail-fast: false
2021
name: Test Julia ${{ matrix.julia-version }}
@@ -38,7 +39,7 @@ jobs:
3839
matrix:
3940
julia-version:
4041
- '1'
41-
- '1.6'
42+
- '1.10'
4243
- 'nightly'
4344
fail-fast: false
4445
steps:

Project.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
name = "UnsafeAtomics"
22
uuid = "013be700-e6cd-48c3-b4a1-df204f14c38f"
33
authors = ["Takafumi Arakaki <[email protected]> and contributors"]
4-
version = "0.2.2-DEV"
4+
version = "0.3.0"
5+
6+
[weakdeps]
7+
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
8+
9+
[extensions]
10+
UnsafeAtomicsLLVM = ["LLVM"]
511

612
[compat]
7-
julia = "1.6"
13+
LLVM = "8.1, 9"
14+
julia = "1.10"
815

916
[extras]
17+
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
1018
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1119
TestFunctionRunner = "792026f5-ac9a-4a19-adcb-47b0ce2deb5d"
1220

1321
[targets]
14-
test = ["Test", "TestFunctionRunner"]
22+
test = ["Test", "TestFunctionRunner", "LLVM"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
baremodule UnsafeAtomicsLLVM
2+
3+
module Internal
4+
5+
using Core: LLVMPtr
6+
using LLVM
7+
using UnsafeAtomics: UnsafeAtomics, Ordering
8+
9+
include("internal.jl")
10+
11+
end # module Internal
12+
13+
end # baremodule UnsafeAtomicsLLVM

0 commit comments

Comments
 (0)