Skip to content

Commit

Permalink
revise versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Dec 27, 2024
1 parent aa22078 commit a9a061d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/p/pffft/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ package("pffft")
set_description("PFFFT, a pretty fast Fourier Transform.")
set_license("BSD-like (FFTPACK license)")

add_urls("https://bitbucket.org/jpommier/pffft/$(version).tar.gz",
"https://bitbucket.org/jpommier/pffft.git")
add_versions("02fe7715a5bf8bfd914681c53429600f94e0f536", "9adeb18ac7bb52e9fb921c31c0c6a4e9ae150cc6fcb20a899d4b3a2275176ded")
add_urls("https://bitbucket.org/jpommier/pffft/$(version)", {version = function (version)
local hash = "02fe7715a5bf8bfd914681c53429600f94e0f536"
if version:le("2024+100") then
hash = "02fe7715a5bf8bfd914681c53429600f94e0f536"
end
return "get/" .. hash .. ".tar.gz"
end})
add_versions("2024+100", "9adeb18ac7bb52e9fb921c31c0c6a4e9ae150cc6fcb20a899d4b3a2275176ded")

add_configs("simd", {description = "Build with SIMD support.", default = true, type = "boolean"})

if not is_plat("windows") then
Expand Down

0 comments on commit a9a061d

Please sign in to comment.