-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from JuliaConcurrent/vc/LLVMExt
Use a package extension for UnsafeAtomicsLLVM
- Loading branch information
Showing
7 changed files
with
728 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
name = "UnsafeAtomics" | ||
uuid = "013be700-e6cd-48c3-b4a1-df204f14c38f" | ||
authors = ["Takafumi Arakaki <[email protected]> and contributors"] | ||
version = "0.2.2-DEV" | ||
version = "0.3.0" | ||
|
||
[weakdeps] | ||
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0" | ||
|
||
[extensions] | ||
UnsafeAtomicsLLVM = ["LLVM"] | ||
|
||
[compat] | ||
julia = "1.6" | ||
LLVM = "8.1, 9" | ||
julia = "1.10" | ||
|
||
[extras] | ||
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
TestFunctionRunner = "792026f5-ac9a-4a19-adcb-47b0ce2deb5d" | ||
|
||
[targets] | ||
test = ["Test", "TestFunctionRunner"] | ||
test = ["Test", "TestFunctionRunner", "LLVM"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
baremodule UnsafeAtomicsLLVM | ||
|
||
module Internal | ||
|
||
using Core: LLVMPtr | ||
using LLVM | ||
using UnsafeAtomics: UnsafeAtomics, Ordering | ||
|
||
include("internal.jl") | ||
|
||
end # module Internal | ||
|
||
end # baremodule UnsafeAtomicsLLVM |
Oops, something went wrong.