Skip to content

Commit

Permalink
use libpicosat_jll instead of PicoSAT_jll (support Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Dec 29, 2023
1 parent b087a90 commit d9fc971
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os:
- ubuntu-latest
- macos-latest
# - windows-latest
- windows-latest
arch:
- x64
- x86
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ authors = ["Stefan Karpinski <[email protected]>"]
version = "0.1.0"

[deps]
PicoSAT_jll = "e78fa76d-a187-569f-aede-ad11521a2edf"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
libpicosat_jll = "6b231c3b-13f8-5ced-86ae-8860c7f75d86"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
4 changes: 2 additions & 2 deletions src/PicoSAT.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module PicoSAT

using PicoSAT_jll
using libpicosat_jll

const lib = libpicosat

Expand Down Expand Up @@ -40,4 +40,4 @@ function print(p::Ptr{Cvoid}, path::AbstractString)
@assert ccall(:fclose, Cint, (Ptr{Cvoid},), f) == 0
end

end
end # module

0 comments on commit d9fc971

Please sign in to comment.