Skip to content

Commit

Permalink
Merge pull request #33 from giordano/mg/upgrade
Browse files Browse the repository at this point in the history
Update to Cuba v4.2.1
  • Loading branch information
giordano authored Jan 28, 2021
2 parents 7a56e00 + 0fd296f commit ee43dd2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
18 changes: 11 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
History of Cuba.jl
==================
# History of Cuba.jl

v2.1.0 (2019-0?-??)
-------------------
## v2.2.0 (2021-01-28)

### New Features

* Update to support Cuba v4.2.1.

## v2.1.0 (2020-04-12)

### New Features

* You can now build the Cuba library locally, instead of using a pre-built
package, by setting the `JULIA_CUBA_BUILD_SOURCE` environment variable to
`"true"`.
* The Cuba binary library is now installed as a [JLL
package](https://docs.binarybuilder.org/stable/jll/). This requires Julia
v1.3 or later version.

v2.0.0 (2019-02-27)
-------------------
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name = "Cuba"
uuid = "8a292aeb-7a57-582c-b821-06e4c11590b1"
authors = ["Mosè Giordano <[email protected]>"]
version = "2.1.0"
version = "2.2.0"

[deps]
Cuba_jll = "3bed1096-5ab2-53a1-92e2-6c1cc31d0f4b"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
Cuba_jll = "4.2"
Cuba_jll = "4.2.1"
julia = "1.3.0"

[extras]
Expand Down
4 changes: 2 additions & 2 deletions src/Cuba.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,12 @@ end

### Other functions, not exported
function cores(n::Integer, p::Integer)
ccall((:cubacores, libcuba), Ptr{Cvoid}, (Cint, Cint), n, p)
ccall((:cubacores, libcuba), Ptr{Cvoid}, (Ptr{Cint}, Ptr{Cint}), Ref{Cint}(n), Ref{Cint}(p))
return 0
end

function accel(n::Integer, p::Integer)
ccall((:cubaaccel, libcuba), Ptr{Cvoid}, (Cint, Cint), n, p)
ccall((:cubaaccel, libcuba), Ptr{Cvoid}, (Ptr{Cint}, Ptr{Cint}), Ref{Cint}(n), Ref{Cint}(p))
return 0
end

Expand Down

2 comments on commit ee43dd2

@giordano
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/28885

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.2.0 -m "<description of version>" ee43dd22b1a6c0b1f979777d9190472f921c8f04
git push origin v2.2.0

Please sign in to comment.